Nexus MCP logo

Nexus MCP

Routes coding tasks to Claude Code, Codex, or Antigravity through MCP, with sessions, permission profiles, and backend selection.

Install Nexus MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "nexus-mcp-2": {
      "command": "uvx",
      "args": [
        "--with",
        "nexus-mcp[all]",
        "nexus-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 1 tools correctly ().

Overview

The nexus-mcp MCP server delegates coding tasks to Claude Code, Codex, and Antigravity through a single MCP interface. It runs agent turns with a selected backend, project directory, permission profile, model, and timeout, while supporting continued sessions and session forks where available. Install only the backend extras you need, then connect the server to an MCP client such as Claude Code. Reach for it when an MCP-connected agent needs to ask a coding CLI to inspect or modify a local project.

Use cases

  • Run coding tasks against a selected local project
  • Review repository changes with a read-only agent profile
  • Continue an agent conversation after restarting the MCP server
  • Fork supported agent sessions for alternate coding approaches

Key features

  • Claude Code, Codex, and Antigravity backends
  • Read-only, workspace-write, and full-access profiles
  • Persistent agent sessions with optional forking
  • Backend availability resource
  • Parallel client-issued prompt calls

Tools1

What Nexus MCP lets your agent do. Expand a tool for its parameters.

Verified live~273 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 79d

What it can do

From the 1 tool this server returned when we ran it; 1 declare their own safety hints.

Can delete or modify data · 1Makes network requests · 1
Network at startup2 connections
Files written at startup1

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · nexus-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed1Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Nexus MCP works

What nexus-mcp does

The nexus-mcp MCP server exposes coding agents through MCP so a connected client can send work to Claude Code, Codex, or Antigravity. Its main v2 interface is the prompt tool, which runs one agent turn and returns the backend name, session ID, output, and usage data.

Each request specifies a backend and an absolute project directory. Optional settings select a permission profile, model, timeout, existing session, or fork. This makes the server suitable for repository inspection, code changes, and review tasks performed by one of the supported coding-agent backends.

The repository also documents an earlier job-oriented interface with tools such as agent_start, agent_status, agent_result, agent_continue, and agent_fork. The migration notes identify those tools as v1 behavior and map their main use cases to the synchronous prompt interface in v2.

How it works

The nexus-mcp MCP server launches through a command such as uvx and loads optional backend packages. Claude Code uses the Claude Agent SDK, Codex uses the Codex App Server, and Antigravity uses its SDK. Backend credentials remain with the corresponding agent: Claude can use an authenticated claude login or ANTHROPIC_API_KEY; Codex uses codex login; and Antigravity uses GEMINI_API_KEY or Vertex AI with Google application credentials.

A prompt call can use read_only, workspace_write, or full_access. Read-only mode permits repository reading and restricted Git inspection. Workspace-write mode adds edits inside the selected directory and sandboxed Bash, while full access removes those profile restrictions. Codex applies equivalent OS sandbox modes, and Antigravity requires an available OS sandbox for workspace-write operation.

Sessions are stored by the underlying agents rather than by the MCP process. A session ID can therefore be reused after the server restarts. Antigravity does not support forking.

Setup and configuration

Install the extras for the backends you plan to use:

  • nexus-mcp[claude] for Claude Code
  • nexus-mcp[codex] for Codex
  • nexus-mcp[antigravity] for Antigravity
  • nexus-mcp[all] for every backend

You can run the server directly with uvx --with 'nexus-mcp[all]' nexus-mcp, or install an extra with pip.

NEXUS_CLAUDE_SETTINGS_PROFILE controls which Claude settings are loaded. Its supported values are isolated, project, and inherit, with isolated as the default. On Windows, Claude Code must be installed separately and available on PATH because recent Claude Agent SDK releases do not bundle a Windows CLI wheel.

Tools and capabilities

The current README documents these primary capabilities:

  • Run a single backend turn with prompt.
  • Continue a conversation using session_id.
  • Fork a session with fork=true when the backend supports it.
  • Select a model, permission profile, working directory, and timeout.
  • Inspect backend availability through the nexus://backends resource.
  • Run parallel work by issuing multiple prompt calls from the client.

Limitations and notes

Backend packages are optional and add their respective CLI or SDK dependencies. Antigravity does not provide a model list and does not support session forking. Workspace-write execution through Antigravity fails when its required OS sandbox is unavailable.

The v2 migration notes say that OpenCode runners, elicitation, preferences, model tiers, and the earlier asynchronous job tools were removed. They also replace the former batch_prompt behavior with parallel prompt calls made by the client. The project is MIT licensed.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Nexus MCP

nexus-mcp is an MCP server that connects MCP clients to Claude Code, Codex, and Antigravity coding agents. Its main tool, `prompt`, runs a backend turn with a project directory, permission profile, model, and timeout, and can continue or fork supported sessions. Backend authentication remains managed by each agent.

Install the optional extra for the backend you need, such as `pip install 'nexus-mcp[claude]'`, or run all backends with `uvx --with 'nexus-mcp[all]' nexus-mcp`. Configure your MCP client to launch the `nexus-mcp` command.

nexus-mcp supports Claude Code, Codex, and Antigravity. Install the matching optional extra for each backend. Claude uses the Claude Agent SDK, Codex uses the Codex App Server, and Antigravity uses the Antigravity SDK.

It supports session continuation through `session_id`, and supports forking with `fork=true` when the backend allows it. Antigravity does not support forking. Agent conversations are stored by the underlying agent, so session IDs can continue working after a nexus-mcp restart.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNexus MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/nexus-mcp-2?style=directory)](https://allmcps.com/mcp/nexus-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/nexus-mcp-2"><img src="https://allmcps.com/api/badge/nexus-mcp-2?style=directory" alt="Nexus MCP on AllMCPs" /></a>