codex-as-mcp is a small Model Context Protocol (MCP) server that lets MCP clients (Claude Code, Cursor, etc.) delegate work to the Codex CLI.
Codex As Mcp is an MCP project maintained in the kky42/codex-as-mcp repository. The maintainer describes its purpose as “codex-as-mcp is a small Model Context Protocol (MCP) server that lets MCP clients (Claude Code, Cursor, etc.) delegate work to the Codex CLI”. Read the project documentation for the complete scope.
The project provides a local client configuration using uvx. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
The example declares PROVIDER_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| spawn_agent | prompt: str) – Spawns an autonomous Codex subagent using the server's working directory and returns the agent's final message. |
| spawn_agents_parallel | agents: list[dict]) – Spawns multiple Codex subagents in parallel; each item must include a prompt key and results include either an output or an error per… |
{
"mcpServers": {
"codex-subagent": {
"type": "stdio",
"command": "uvx",
"args": [
"codex-as-mcp@latest"
],
"env": {
"PROVIDER_API_KEY": "YOUR_PROVIDER_API_KEY"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| PROVIDER_API_KEY | Declared in the maintainer’s client configuration. | Check documentation |
Deploys and monitors the status of CrewAI workflows.
Manages AI agents and tasks using the CrewAI framework.
MCP server exposing 8004Swap (no-KYC agent-to-agent RFQ swap) as tools any MCP agent can call.
Finds corresponding service offerings in Microsoft Azure and Amazon AWS .
A2A TrustGate: 4-gate firewall that screens every AI-agent action before it runs. 49 tools.
Agent-to-agent communication bridge for multi-agent systems