Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-j7an-nexus-mcp": {
"command": "uvx",
"args": [
"nexus-mcp"
],
"env": {
"NEXUS_CODEX_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODEL": "<VALUE>",
"NEXUS_CODEX_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODELS": "<VALUE>",
"NEXUS_EXECUTION_MODE": "default",
"NEXUS_OPENCODE_MODEL": "<VALUE>",
"NEXUS_OPENCODE_MODELS": "<VALUE>",
"NEXUS_RETRY_MAX_DELAY": "60.0",
"NEXUS_TIMEOUT_SECONDS": "600",
"NEXUS_RETRY_BASE_DELAY": "2.0",
"NEXUS_OUTPUT_LIMIT_BYTES": "50000",
"NEXUS_RETRY_MAX_ATTEMPTS": "3",
"NEXUS_TOOL_TIMEOUT_SECONDS": "900",
"NEXUS_CLI_DETECTION_TIMEOUT": "30"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-j7an-nexus-mcp": {
"command": "uvx",
"args": [
"nexus-mcp"
],
"env": {
"NEXUS_CODEX_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODEL": "<VALUE>",
"NEXUS_CODEX_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODELS": "<VALUE>",
"NEXUS_EXECUTION_MODE": "default",
"NEXUS_OPENCODE_MODEL": "<VALUE>",
"NEXUS_OPENCODE_MODELS": "<VALUE>",
"NEXUS_RETRY_MAX_DELAY": "60.0",
"NEXUS_TIMEOUT_SECONDS": "600",
"NEXUS_RETRY_BASE_DELAY": "2.0",
"NEXUS_OUTPUT_LIMIT_BYTES": "50000",
"NEXUS_RETRY_MAX_ATTEMPTS": "3",
"NEXUS_TOOL_TIMEOUT_SECONDS": "900",
"NEXUS_CLI_DETECTION_TIMEOUT": "30"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-j7an-nexus-mcp": {
"command": "uvx",
"args": [
"nexus-mcp"
],
"env": {
"NEXUS_CODEX_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODEL": "<VALUE>",
"NEXUS_CODEX_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODELS": "<VALUE>",
"NEXUS_EXECUTION_MODE": "default",
"NEXUS_OPENCODE_MODEL": "<VALUE>",
"NEXUS_OPENCODE_MODELS": "<VALUE>",
"NEXUS_RETRY_MAX_DELAY": "60.0",
"NEXUS_TIMEOUT_SECONDS": "600",
"NEXUS_RETRY_BASE_DELAY": "2.0",
"NEXUS_OUTPUT_LIMIT_BYTES": "50000",
"NEXUS_RETRY_MAX_ATTEMPTS": "3",
"NEXUS_TOOL_TIMEOUT_SECONDS": "900",
"NEXUS_CLI_DETECTION_TIMEOUT": "30"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-j7an-nexus-mcp": {
"command": "uvx",
"args": [
"nexus-mcp"
],
"env": {
"NEXUS_CODEX_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODEL": "<VALUE>",
"NEXUS_CODEX_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODELS": "<VALUE>",
"NEXUS_EXECUTION_MODE": "default",
"NEXUS_OPENCODE_MODEL": "<VALUE>",
"NEXUS_OPENCODE_MODELS": "<VALUE>",
"NEXUS_RETRY_MAX_DELAY": "60.0",
"NEXUS_TIMEOUT_SECONDS": "600",
"NEXUS_RETRY_BASE_DELAY": "2.0",
"NEXUS_OUTPUT_LIMIT_BYTES": "50000",
"NEXUS_RETRY_MAX_ATTEMPTS": "3",
"NEXUS_TOOL_TIMEOUT_SECONDS": "900",
"NEXUS_CLI_DETECTION_TIMEOUT": "30"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-j7an-nexus-mcp": {
"command": "uvx",
"args": [
"nexus-mcp"
],
"env": {
"NEXUS_CODEX_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODEL": "<VALUE>",
"NEXUS_CODEX_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODELS": "<VALUE>",
"NEXUS_EXECUTION_MODE": "default",
"NEXUS_OPENCODE_MODEL": "<VALUE>",
"NEXUS_OPENCODE_MODELS": "<VALUE>",
"NEXUS_RETRY_MAX_DELAY": "60.0",
"NEXUS_TIMEOUT_SECONDS": "600",
"NEXUS_RETRY_BASE_DELAY": "2.0",
"NEXUS_OUTPUT_LIMIT_BYTES": "50000",
"NEXUS_RETRY_MAX_ATTEMPTS": "3",
"NEXUS_TOOL_TIMEOUT_SECONDS": "900",
"NEXUS_CLI_DETECTION_TIMEOUT": "30"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-j7an-nexus-mcp": {
"command": "uvx",
"args": [
"nexus-mcp"
],
"env": {
"NEXUS_CODEX_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODEL": "<VALUE>",
"NEXUS_CODEX_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODEL": "<VALUE>",
"NEXUS_CLAUDE_MODELS": "<VALUE>",
"NEXUS_GEMINI_MODELS": "<VALUE>",
"NEXUS_EXECUTION_MODE": "default",
"NEXUS_OPENCODE_MODEL": "<VALUE>",
"NEXUS_OPENCODE_MODELS": "<VALUE>",
"NEXUS_RETRY_MAX_DELAY": "60.0",
"NEXUS_TIMEOUT_SECONDS": "600",
"NEXUS_RETRY_BASE_DELAY": "2.0",
"NEXUS_OUTPUT_LIMIT_BYTES": "50000",
"NEXUS_RETRY_MAX_ATTEMPTS": "3",
"NEXUS_TOOL_TIMEOUT_SECONDS": "900",
"NEXUS_CLI_DETECTION_TIMEOUT": "30"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| NEXUS_CODEX_MODEL | No | Default model for the Codex runner |
| NEXUS_CLAUDE_MODEL | No | Default model for the Claude runner |
| NEXUS_CODEX_MODELS | No | Comma-separated model list for the Codex runner |
| NEXUS_GEMINI_MODEL | No | Default model for the Gemini runner |
| NEXUS_CLAUDE_MODELS | No | Comma-separated model list for the Claude runner |
| NEXUS_GEMINI_MODELS | No | Comma-separated model list for the Gemini runner |
| NEXUS_EXECUTION_MODE | No | Global execution mode (default or yolo) Default: default |
| NEXUS_OPENCODE_MODEL | No | Default model for the OpenCode runner |
| NEXUS_OPENCODE_MODELS | No | Comma-separated model list for the OpenCode runner |
| NEXUS_RETRY_MAX_DELAY | No | Maximum seconds to wait between retries Default: 60.0 |
| NEXUS_TIMEOUT_SECONDS | No | Subprocess timeout in seconds (10 minutes) Default: 600 |
| NEXUS_RETRY_BASE_DELAY | No | Base seconds for exponential backoff Default: 2.0 |
| NEXUS_OUTPUT_LIMIT_BYTES | No | Max output size in bytes before temp-file spillover Default: 50000 |
| NEXUS_RETRY_MAX_ATTEMPTS | No | Max attempts including the first (set to 1 to disable retries) Default: 3 |
| NEXUS_TOOL_TIMEOUT_SECONDS | No | Tool-level timeout in seconds (15 minutes); set to 0 to disable Default: 900 |
| NEXUS_CLI_DETECTION_TIMEOUT | No | Timeout in seconds for CLI binary version detection at startup Default: 30 |