Claude Delegator
Delegate tasks to Codex and Gemini directly from within Claude Code.
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
Maintainer
Works with
Installation
Manual Installation
npx claude-delegatorConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-delegatorRun the setup wizard
The setup wizard configures the plugin, verifies CLI dependencies, and prepares the Codex and Gemini integrations.
/claude-delegator:setupAuthenticate 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 loginAuthenticate 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_hereConfigure 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"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.
Claude Delegator Alternatives — Similar Coding Agents Servers
Looking for alternatives to Claude Delegator? Here are other popular coding agents servers you can use with Claude, Cursor, and VS Code.
Dify
★ 142.2kProduction-ready platform for agentic workflow development.
Ruflo
★ 54.0k🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, self-learning swarm intelligence, RAG integrat
Goose
★ 45.7kan open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM
Antigravity Awesome Skills
★ 38.3kInstallable GitHub library of 1,400+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes installer CLI, bundles, workflows, and official/community skill collections.
AgentScope
★ 25.5kBuild and run agents you can see, understand and trust.
Serena
★ 24.5kA coding agent toolkit that provides IDE-like semantic code retrieval and editing tools, enabling LLMs to efficiently navigate and modify codebases using symbol-level operations instead of basic file reading and string replacements.
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.
Set Up Claude Delegator in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.