Claude Delegator

v1.0.0Coding Agentsstable

Delegate tasks to Codex and Gemini directly from within Claude Code.

ai-agentsclaudeclaude-codecodexgpt
Share:
966
Stars
0
Downloads
0
Weekly
0/5

What is Claude Delegator?

Claude Delegator is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to delegate tasks to codex and gemini directly from within claude code.

Delegate tasks to Codex and Gemini directly from within Claude Code.

This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Delegate tasks to Codex and Gemini directly from within Clau

Use Cases

Delegate tasks to Codex and Gemini directly from within Claude Code.
jarrodwatts

Maintainer

LicenseMIT
Languagejavascript
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx claude-delegator

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Claude Delegator

Claude Delegator is a Claude Code plugin that adds five specialist AI agents — Architect, Plan Reviewer, Scope Analyst, Code Reviewer, and Security Analyst — powered by OpenAI Codex and Google Gemini, all callable directly from within Claude Code sessions. Rather than switching between tools, Claude automatically routes requests to the right expert and synthesizes a unified response, so you can get a second opinion on system design, have a plan reviewed before implementation, or audit code for security vulnerabilities without leaving your current session. Developers use it to add structured review gates and multi-model reasoning to their coding workflow.

Prerequisites

  • Claude Code CLI installed and authenticated
  • OpenAI Codex CLI installed and authenticated via 'codex login' (for Codex-powered experts)
  • Google Gemini CLI installed, or GOOGLE_API_KEY environment variable set (for Gemini-powered experts)
  • Node.js 18+ available on the system PATH
1

Install the plugin from the marketplace

Run the following Claude Code plugin commands to add and install the Claude Delegator plugin.

/plugin marketplace add jarrodwatts/claude-delegator
/plugin install claude-delegator
2

Run the setup wizard

The setup wizard configures the plugin, verifies CLI dependencies, and prepares the Codex and Gemini integrations.

/claude-delegator:setup
3

Authenticate with Codex

Log in to the OpenAI Codex CLI so the Architect, Plan Reviewer, Scope Analyst, Code Reviewer, and Security Analyst experts can make requests on your behalf.

codex login
4

Authenticate with Gemini

Either run the Gemini CLI once to complete its setup flow, or set the GOOGLE_API_KEY environment variable for API-key-based access.

# Option A: interactive setup
gemini

# Option B: environment variable
export GOOGLE_API_KEY=your_google_api_key_here
5

Configure Codex sandbox settings

Optionally edit ~/.codex/config.toml to control whether experts operate in advisory (read-only) or implementation (workspace-write) mode.

# ~/.codex/config.toml
sandbox_mode = "workspace-write"
approval_policy = "on-failure"
6

Test the delegation

In a Claude Code session, ask a design or review question. Claude will automatically route it to the appropriate specialist expert.

Claude Delegator Examples

Client configuration

Manual MCP server config if you prefer to wire the Codex and Gemini backends directly into claude_desktop_config.json.

{
  "mcpServers": {
    "codex": {
      "command": "codex",
      "args": ["-m", "gpt-5.3-codex", "mcp-server"]
    },
    "gemini": {
      "command": "node",
      "args": ["${CLAUDE_PLUGIN_ROOT}/server/gemini/index.js"]
    }
  }
}

Prompts to try

Example prompts that trigger automatic routing to the appropriate specialist expert.

- "Is this authentication flow secure?" (routes to Security Analyst)
- "Review this database migration plan before I apply it" (routes to Plan Reviewer)
- "How should I structure the service layer for this feature?" (routes to Architect)
- "What am I missing from this feature scope?" (routes to Scope Analyst)
- "Review this PR for bugs and code quality issues" (routes to Code Reviewer)

Troubleshooting Claude Delegator

Plugin install fails or experts return 'CLI not found' errors

Confirm both the codex and gemini CLIs are installed and available on your PATH. Run 'which codex' and 'which gemini' to verify. If only one provider is set up, the experts using the other will fail — ensure both are authenticated.

Security Analyst or Code Reviewer operates on workspace files unexpectedly

Check ~/.codex/config.toml and set sandbox_mode to a more restrictive value such as 'read-only' to prevent implementation-mode changes. The approval_policy field controls whether each action requires your sign-off.

GOOGLE_API_KEY is set but Gemini experts still fail

Ensure the environment variable is exported in the shell that launches Claude Code, not just set in a .env file. Add it to your shell profile (~/.zshrc or ~/.bashrc) so it is available in every session.

Frequently Asked Questions about Claude Delegator

What is Claude Delegator?

Claude Delegator is a Model Context Protocol (MCP) server that delegate tasks to codex and gemini directly from within claude code. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Claude Delegator?

Follow the installation instructions on the Claude Delegator GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Claude Delegator?

Claude Delegator works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Claude Delegator free to use?

Yes, Claude Delegator is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "claude-delegator": { "command": "npx", "args": ["-y", "claude-delegator"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Claude Delegator?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides