# Connect your coding agent Connect Nodus to Claude Code, Codex, Cursor or another coding agent. Your agent can submit GPU workloads, follow progress, inspect logs and retrieve output files. Use the [connection page](https://nodus-compute.ai/connect/) for native install buttons and copyable client commands. ## Quick connection Choose your agent on the [connection page](https://nodus-compute.ai/connect/), then approve access in your browser. Claude Code and Codex use the commands below. Cursor has a native install button. Hosted connections need no local Nodus package or copied API key. Claude Code: ```sh claude mcp add --scope user --transport http nodus https://d1a0b732w6344o.cloudfront.net/mcp ``` Open `/mcp` in Claude Code and authenticate Nodus. Codex: ```sh codex mcp add nodus --url https://d1a0b732w6344o.cloudfront.net/mcp codex mcp login nodus ``` For other clients, add this remote HTTP MCP URL and follow their OAuth prompt: ```text https://d1a0b732w6344o.cloudfront.net/mcp ``` Ask **List my Nodus workloads.** The connection check starts no paid compute. Keep an existing working connection or remove it before adding another. [Plugins](https://nodus-compute.ai/docs/guides/plugins/) bundle the hosted connection and workload guidance. The approval screen names the account, team, requested permissions and client return address. You can choose read-only access. Write access permits workload submission and cancellation, with an explicit budget on every submission. Access expires after 30 days. Authenticate again in the client to reconnect. [Connected agents](https://console.nodus-compute.ai/console/?view=agents) shows your grants and the last successful tool call. Disconnecting revokes the connection and its result download links. Existing workloads continue until completion or cancellation. Local API-key connections are managed separately under API keys. ## Local installation Run one command in your terminal. Setup installs its own tools and Python, then lets you choose one or more agents. It opens browser sign-in, adds Nodus tools and skills, and verifies the tools by listing workloads. No paid compute starts during setup. macOS or glibc Linux, on Intel or ARM64: ```sh curl -fsSL https://nodus-compute.ai/install | sh ``` 64-bit Windows PowerShell: ```powershell irm https://nodus-compute.ai/install.ps1 | iex ``` Choose Claude Code, Codex, Cursor, VS Code, Gemini CLI or OpenCode. Select several to connect them together. Then restart the selected agents and approve Nodus if the client asks. Ask **List my Nodus workloads.** Setup uses your user configuration. VS Code uses its default user profile. Other MCP clients can import the generated `~/.nodus/mcp.json` themselves. Run setup on the machine where the agent runs, including remote environments. Existing settings and servers are preserved. Modified files receive an adjacent `.nodus-backup-…` copy. JSON comments and formatting are normalized in the active file, while the backup keeps the original bytes. An existing different Nodus entry, an invalid file or a symbolic link stops setup with instructions. Repeating the same setup keeps matching Nodus entries and skills. Setup prepares replacement files and private backups before applying changes one file at a time. If an update fails, it attempts to restore completed changes. Detected concurrent edits are preserved. An incomplete rollback reports retained backups for manual recovery. Close the selected agents during setup to avoid competing edits. The installer uses a dedicated runtime under `~/.nodus/agent-tools`, so agents do not depend on your terminal's PATH. It does not require administrator access. Skills are named `nodus-setup` and `nodus-workloads`. If you already use the Nodus plugin, keep that installation instead of adding a second connection. You can inspect the [shell installer](https://nodus-compute.ai/install) or [PowerShell installer](https://nodus-compute.ai/install.ps1) before running it. Both are generated from the public [installer source](https://github.com/nodus-compute/Nodus-sdk-python/blob/e1f56f127ab85e4046e900260beff2a866271d36/install/connect.py) and the pinned plugin package. The individual client instructions below remain available for manual setup and custom profiles. ## Repair a local connection Check installed settings and read-only workload access without signing in or changing agent settings. Replace `cursor` with your client name: ```sh curl -fsSL https://nodus-compute.ai/install | sh -s -- --agents cursor --check ``` Repair an installer-managed connection, update its runtime and skills, and refresh sign-in: ```sh curl -fsSL https://nodus-compute.ai/install | sh -s -- --agents cursor --repair ``` On Windows, download and run the same installer with the repair option: ```powershell Invoke-WebRequest https://nodus-compute.ai/install.ps1 -OutFile nodus-install.ps1 .\nodus-install.ps1 --agents cursor --repair ``` Repair preserves unrelated servers and settings. It updates entries and skills only when they match the installer's ownership record or a recognized legacy installation. Manual changes are refused, with existing files retained. Private backups remain next to changed files. Restart the client, then ask it to list workloads to confirm that the client loaded its tools. ## Sign in once Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then run this in your terminal and complete browser sign-in: ```sh uvx --from 'nodus-compute[mcp]==0.5.3' nodus login ``` The package downloads automatically. Local clients running as the same OS user reuse this login. Sign in on the machine where the MCP server runs, including remote development environments. Keep API keys out of chat and configuration files. See [authentication](https://nodus-compute.ai/docs/getting-started/authentication/) for unattended environments and custom deployments. ## Claude Code Run this in your terminal to add Nodus across your projects: ```sh claude mcp add --scope user --transport stdio nodus -- uvx --from 'nodus-compute[mcp]==0.5.3' nodus-mcp ``` Restart Claude Code or reconnect through `/mcp`. ## Codex Run this in your terminal, then start a new Codex session: ```sh codex mcp add nodus -- uvx --from 'nodus-compute[mcp]==0.5.3' nodus-mcp ``` ## Cursor Select Cursor on the [connection page](https://nodus-compute.ai/connect/) and open **Manual setup and other options**, then click **Add local server to Cursor**. Review the configuration in Cursor and enable Nodus. For manual setup, merge this into `~/.cursor/mcp.json`: ```json { "mcpServers": { "nodus": { "command": "uvx", "args": ["--from", "nodus-compute[mcp]==0.5.3", "nodus-mcp"] } } } ``` Keep existing servers. The same file is available at [mcp.json](https://nodus-compute.ai/mcp.json). It is configuration, not a hosted MCP endpoint. ## Verify the connection Reload the client's MCP connection or start a new session. Ask your agent: ```text List my Nodus workloads. ``` A local connection exposes nine tools. Hosted read-only access exposes seven. Ask the agent to call `list_workloads`. Check its actual response. An empty list is valid. This read does not start paid compute. If it fails, use the [MCP troubleshooting guide](https://nodus-compute.ai/docs/guides/mcp/#cancel-and-troubleshoot). For your first workload, provide your image, command, GPU requirements and spending limit. Ask the agent to prepare your command with a maximum you specify and show the request before submission. Do not invent a budget or start compute to test the connection. The [workload guide](https://nodus-compute.ai/docs/guides/agents/) covers execution and downloaded result verification. Use `download_workload_output` locally or `get_workload_output` on a hosted connection to retrieve results. ## VS Code and GitHub Copilot Merge this into `.vscode/mcp.json` in your project, then enable Nodus in chat: ```json { "servers": { "nodus": { "type": "stdio", "command": "uvx", "args": ["--from", "nodus-compute[mcp]==0.5.3", "nodus-mcp"] } } } ``` For all workspaces, run **MCP: Open User Configuration** in the command palette and merge it there. See [VS Code MCP setup](https://code.visualstudio.com/docs/agent-customization/mcp-servers). ## Gemini CLI Merge the `mcpServers` configuration from the Cursor section into `~/.gemini/settings.json`, then restart Gemini CLI. Run `/mcp list` to inspect the connection. See [Gemini CLI MCP setup](https://geminicli.com/docs/tools/mcp-server/). ## OpenCode Merge this into `opencode.json` in your project: ```json { "mcp": { "nodus": { "type": "local", "command": ["uvx", "--from", "nodus-compute[mcp]==0.5.3", "nodus-mcp"], "enabled": true } } } ``` Restart OpenCode. See [OpenCode MCP setup](https://opencode.ai/docs/mcp-servers/). ## Other MCP clients Choose a **local** or **stdio** server in your client's MCP settings. Set the command to `uvx` and the arguments to `["--from", "nodus-compute[mcp]==0.5.3", "nodus-mcp"]`. For clients that accept an `mcpServers` object, merge the configuration from the Cursor section. Preserve unrelated settings and servers. | Client | Where to add the local MCP server | | --- | --- | | Claude Desktop | Settings, Developer, Edit Config | | Windsurf legacy Cascade | MCP settings, View raw config | | Cline | MCP Servers, Configure MCP Servers | | Other local MCP clients | Their stdio server configuration, using the command and arguments above | See the current setup guides for [Claude Desktop](https://modelcontextprotocol.io/docs/develop/connect-local-servers), [Windsurf](https://docs.windsurf.com/windsurf/cascade/mcp) and [Cline](https://docs.cline.bot/mcp/configuring-mcp-servers). Client policy or administrator settings can restrict local servers. For the Devin Local agent, use the Devin CLI configuration described in the linked Windsurf documentation. Clients that support HTTP MCP and OAuth can use the hosted connection at the start of this guide. The MCP endpoint ends in `/mcp`. See the [MCP reference](https://nodus-compute.ai/docs/guides/mcp/) for the available workload tools. ## Agent skills Install Nodus's setup and workload guidance in agents that support skills: ```sh npx skills add nodus-compute/Nodus-sdk-python ``` Requires Node.js. Choose the `setup` and `workloads` skills and your target agent when prompted. See the [skills CLI](https://skills.sh/docs/cli). Skills provide instructions, not the MCP connection. Complete setup above separately. The [Nodus plugins](https://nodus-compute.ai/docs/guides/plugins/) bundle both skills and MCP for Claude Code, Codex and Cursor. Choose one MCP installation method per client. The same skill files are readable without installation: - [Setup skill](https://nodus-compute.ai/skills/setup/SKILL.md) - [Workload skill](https://nodus-compute.ai/skills/workloads/SKILL.md) ## Let your agent help Paste this into an agent that can read URLs and configure local tools: ```text Read https://nodus-compute.ai/connect.md and help me connect Nodus to this agent. Reuse any existing Nodus connection. Verify setup by listing my workloads. Do not start paid compute. ``` The agent can prepare configuration and explain the steps. You complete browser sign-in. Preserve existing settings and use the client's supported configuration interface. ## Documentation and custom agents - [llms.txt](https://nodus-compute.ai/llms.txt) indexes the public documentation. - [llms-full.txt](https://nodus-compute.ai/llms-full.txt) combines every guide and reference into one text document. - [connect.md](https://nodus-compute.ai/connect.md) provides this setup guide as Markdown. Every documentation page also links to its Markdown source. - [OpenAPI](https://nodus-compute.ai/docs/openapi.yaml) defines the customer HTTP contract. - [Python SDK](https://nodus-compute.ai/docs/reference/python/client/) and [CLI](https://nodus-compute.ai/docs/reference/cli/) support custom agents and automation with execution environments. - [Agent sandboxes](https://nodus-compute.ai/docs/guides/agent-sandboxes/) support interactive commands and streamed output through the SDK. The workload MCP tools do not expose sandbox operations.