MCP server that delegates tasks to coding agents (Claude, Codex, Antigravity)
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add nexus-mcp -- uvx --with{
"mcpServers": {
"nexus-mcp": {
"command": "uvx",
"args": ["--with"]
}
}
}MCP Servers overview
# nexus-mcp
<!-- mcp-name: io.github.j7an/nexus-mcp -->
MCP server that delegates tasks to coding agents — [Claude Code](https://code.claude.com)
via the Claude Agent SDK, [Codex](https://developers.openai.com/codex) via the Codex App Server,
and Antigravity via the Antigravity SDK — from any MCP client.
## Install
Backends are optional extras; install the ones you use.
| Extra | Backend | Adds |
|---|---|---|
| `claude` | Claude Agent SDK | `claude-agent-sdk` (bundles the Claude Code CLI, ~100 MB) |
| `codex` | Codex App Server | `openai-codex` (bundles the Codex CLI, ~120–150 MB) |
| `antigravity` | Antigravity SDK | `google-antigravity` (bundles the Antigravity Go harness, ~40 MB) |
| `all` | every backend | |
```bash
uvx --with 'nexus-mcp[all]' nexus-mcp # run directly
pip install 'nexus-mcp[claude]' # or install
pip install 'nexus-mcp[codex]' # Codex only
pip install 'nexus-mcp[antigravity]'
```
Claude Code MCP config:
```json
{ "mcpServers": { "nexus": { "command": "uvx", "args": ["--with", "nexus-mcp[all]", "nexus-mcp"] } } }
```
Authentication is the agent's own: log in with `claude`, or set `ANTHROPIC_API_KEY`; for Codex,
log in with `codex login` (credentials in `~/.codex` are shared). Antigravity uses `GEMINI_API_KEY`,
or Vertex AI with `GOOGLE_GENAI_USE_VERTEXAI`, `GOOGLE_CLOUD_PROJECT`, and
`GOOGLE_CLOUD_LOCATION`, authenticated through Application Default Credentials (ADC). It does not
use Google-account login.
**Windows:** recent `claude-agent-sdk` releases ship no Windows wheel with a bundled CLI;
install Claude Code so `claude` is on `PATH`.
## Tool: `prompt`
Runs one agent turn and returns its final answer.
| Parameter | Default | Meaning |
|---|---|---|
| `backend` | required | `claude`, `codex`, or `antigravity` |
| `prompt` | required | Task for the agent |
| `cwd` | required | Absolute project directory |
| `profile` | `read_only` | Permission profile (below) |
| `session_id` | — | Continue this conversation |
| `fork` | `false` | Branch `session_id` into a new conversation |
| `model` | provider default | Model id or alias |
| `timeout` | `600` | Seconds before the turn is cancelled |
Returns `{backend, session_id, output, usage}`. Conversations are stored by the agent itself
(`~/.claude/projects`, `$CODEX_HOME/sessions`, `~/.nexus-mcp/antigravity`), so a `session_id` keeps
working after nexus-mcp restarts. Antigravity does not support `fork=true`.
### Permission profiles
Actions outside the chosen profile are denied automatically — nobody is prompted.
| Profile | Allows |
|---|---|
| `read_only` | Read/Glob/Grep; `git diff`/`log`/`show` with `--no-ext-diff --no-textconv` |
| `workspace_write` | Plus file edits inside `cwd` and Bash inside the OS sandbox |
| `full_access` | Everything |
Codex enforces profiles with its OS sandbox (`read-only`, `workspace-write`, `danger-full-access`)
and never asks for approval.
Antigravity enforces workspace containment in its harness and uses the OS sandbox for commands.
`workspace_write` fails if that sandbox is unavailable.
## Resource: `nexus://backends`
JSON list of `{name, installed, models, hint}`; `hint` gives the install command for a
missing extra. Codex lists its models; Claude and Antigravity report `null` (Antigravity does not
provide a model list).
## Configuration
| Variable | Default | Meaning |
|---|---|---|
| `NEXUS_CLAUDE_SETTINGS_PROFILE` | `isolated` | Claude settings to load: `isolated` (none), `project` (project `.claude/`), `inherit` (all, including user settings). Profiles still bound every tool call. |
## Migrating from v1
| v1 | v2 |
|---|---|
| `prompt(cli="codex")` (`codex exec`) | `prompt(backend="codex", cwd=…)` (App Server) |
| `prompt(cli=…, execution_mode="yolo")` | `prompt(backend=…, profile="full_access", cwd=…)` |
| `batch_prompt` | Parallel `prompt` calls from the client |
| `agent_start` / `agent_status` / `agent_result` | `prompt` (synchronous) |
| `agent_continue` / `agent_fork` | `prompt(session_id=…)` / `prompt(session_id=…, fork=true)` |
| `agent_review` | `prompt(profile="read_only", prompt="Review …")` |
| `agent_cancel` | Cancel the tool call in the client |
| `agent_respond`, elicitation | Removed — choose a profile instead |
| Preferences, model tiers, MCP prompts | Removed |
| OpenCode runners and tools | Removed |
| `NEXUS_*` variables | Removed except `NEXUS_CLAUDE_SETTINGS_PROFILE` |
## Development
```bash
uv sync --all-extras --all-groups
uv run pytest # unit + e2e
uv run pytest -m integration # real CLI (slow, makes model calls)
uv run mypy src/nexus_mcp && uv run ruff check . && uv run ruff format --check .
```
## License
MIT
What people ask about nexus-mcp
What is j7an/nexus-mcp?
+
j7an/nexus-mcp is mcp servers for the Claude AI ecosystem. MCP server that delegates tasks to coding agents (Claude, Codex, Antigravity) It has 4 GitHub stars and its last recorded update is dated 2026-10-03.
How do I install nexus-mcp?
+
You can install nexus-mcp by cloning the repository (https://github.com/j7an/nexus-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is j7an/nexus-mcp safe to use?
+
Our security agent has analyzed j7an/nexus-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains j7an/nexus-mcp?
+
j7an/nexus-mcp is maintained by j7an. The last recorded GitHub activity is dated 2026-10-03, with 0 open issues.
Are there alternatives to nexus-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy nexus-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/j7an-nexus-mcp)<a href="https://claudewave.com/repo/j7an-nexus-mcp"><img src="https://claudewave.com/api/badge/j7an-nexus-mcp" alt="Featured on ClaudeWave: j7an/nexus-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.