Koskamo

Codex Subagent MCP

A local Model Context Protocol server that allows Claude Code to delegate specific coding tasks to the OpenAI Codex CLI. It enables the selection of explicit models and reasoning effort levels per task, acting as a subagent orchestrator. The server ensures safety by defaulting to read-only operations with sandbox constraints and provides verification of model and effort usage after task completion.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Codex Subagent MCP logo, by parisbsCommunity listingLocal stdioSource reviewed; not executedPublished by parisbs
Vendor documentation

What you can do with it

  • Delegate coding tasks to OpenAI Codex CLI
  • Select specific models and reasoning effort per task
  • Verify model and effort usage after delegation
  • Run read-only code analysis with sandbox constraints

Source and maintenance

Community listingRegistry 0.6.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

codex-subagent-mcp 0.6.0

npm
codex-subagent-mcp package definition
{
  "version": "0.6.0",
  "transport": "stdio",
  "identifier": "codex-subagent-mcp",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR",
      "format": "string",
      "description": "Delegation and follow-up processes per rolling hour: decimal integer 1 to 9007199254740991; unset means unrestricted. In memory per server; probes never count."
    },
    {
      "name": "CODEX_SUBAGENT_MAX_BACKGROUND_JOBS",
      "format": "string",
      "description": "Cap on running background jobs: decimal integer 1 to 8 (default 8). Blocking calls do not use this cap."
    },
    {
      "name": "CODEX_SUBAGENT_USAGE_LOG",
      "format": "string",
      "description": "Opt-in local usage log: on or off (default off). Records counts and settings, never prompts, code or paths; labels are caller text."
    },
    {
      "name": "CODEX_SUBAGENT_DEFAULT_MODEL",
      "format": "string",
      "description": "Model used when a call names none. Unset: the only entry of a single-entry CODEX_SUBAGENT_ALLOWED_MODELS, otherwise a call without a model is refused with a suggestion."
    },
    {
      "name": "CODEX_SUBAGENT_DEFAULT_EFFORT",
      "format": "string",
      "description": "Reasoning effort used when a call specifies none: none, minimal, low, medium, high, xhigh, max or ultra. Unset: the model's own default. Cannot exceed CODEX_SUBAGENT_MAX_EFFORT."
    },
    {
      "name": "CODEX_SUBAGENT_ALLOWED_MODELS",
      "format": "string",
      "description": "Comma-separated allow-list of model slugs; anything else is refused. Unset: unrestricted. A single entry acts as the default model; an empty entry is a configuration error."
    },
    {
      "name": "CODEX_SUBAGENT_DEFAULT_SANDBOX",
      "format": "string",
      "description": "Sandbox used when a call specifies none: read-only, workspace-write or danger-full-access. Defaults to read-only and cannot exceed the ceiling."
    },
    {
      "name": "CODEX_SUBAGENT_MAX_SANDBOX",
      "format": "string",
      "description": "Ceiling on what a delegation may do: read-only, workspace-write or danger-full-access. Defaults to workspace-write; danger-full-access must be set explicitly."
    },
    {
      "name": "CODEX_SUBAGENT_MAX_EFFORT",
      "format": "string",
      "description": "Ceiling on reasoning effort: none, minimal, low, medium, high, xhigh, max or ultra. Unset: unrestricted. Higher efforts are lowered to a supported level, or refused if none fits."
    },
    {
      "name": "CODEX_SUBAGENT_MCP_SERVERS",
      "format": "string",
      "description": "MCP servers from Codex's config a delegation keeps: none (default), all, or comma-separated names."
    },
    {
      "name": "CODEX_SUBAGENT_PLUGINS",
      "format": "string",
      "description": "Installed Codex plugins a delegation keeps: none (default), all, or comma-separated name@marketplace ids."
    },
    {
      "name": "CODEX_SUBAGENT_APPS",
      "format": "string",
      "description": "Whether a delegation keeps Codex's apps (connectors to external services): off (default) or on."
    },
    {
      "name": "CODEX_BIN",
      "format": "string",
      "description": "Codex executable name or path. Unset: codex, searched on PATH. On Windows it must run directly, such as codex.exe; a .cmd or .bat shim is refused."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "codex-subagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp@0.6.0"
      ],
      "env": {
        "CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR": "<YOUR_CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR>",
        "CODEX_SUBAGENT_MAX_BACKGROUND_JOBS": "<YOUR_CODEX_SUBAGENT_MAX_BACKGROUND_JOBS>",
        "CODEX_SUBAGENT_USAGE_LOG": "<YOUR_CODEX_SUBAGENT_USAGE_LOG>",
        "CODEX_SUBAGENT_DEFAULT_MODEL": "<YOUR_CODEX_SUBAGENT_DEFAULT_MODEL>",
        "CODEX_SUBAGENT_DEFAULT_EFFORT": "<YOUR_CODEX_SUBAGENT_DEFAULT_EFFORT>",
        "CODEX_SUBAGENT_ALLOWED_MODELS": "<YOUR_CODEX_SUBAGENT_ALLOWED_MODELS>",
        "CODEX_SUBAGENT_DEFAULT_SANDBOX": "<YOUR_CODEX_SUBAGENT_DEFAULT_SANDBOX>",
        "CODEX_SUBAGENT_MAX_SANDBOX": "<YOUR_CODEX_SUBAGENT_MAX_SANDBOX>",
        "CODEX_SUBAGENT_MAX_EFFORT": "<YOUR_CODEX_SUBAGENT_MAX_EFFORT>",
        "CODEX_SUBAGENT_MCP_SERVERS": "<YOUR_CODEX_SUBAGENT_MCP_SERVERS>",
        "CODEX_SUBAGENT_PLUGINS": "<YOUR_CODEX_SUBAGENT_PLUGINS>",
        "CODEX_SUBAGENT_APPS": "<YOUR_CODEX_SUBAGENT_APPS>",
        "CODEX_BIN": "<YOUR_CODEX_BIN>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "codex-subagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp@0.6.0"
      ],
      "env": {
        "CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR": "<YOUR_CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR>",
        "CODEX_SUBAGENT_MAX_BACKGROUND_JOBS": "<YOUR_CODEX_SUBAGENT_MAX_BACKGROUND_JOBS>",
        "CODEX_SUBAGENT_USAGE_LOG": "<YOUR_CODEX_SUBAGENT_USAGE_LOG>",
        "CODEX_SUBAGENT_DEFAULT_MODEL": "<YOUR_CODEX_SUBAGENT_DEFAULT_MODEL>",
        "CODEX_SUBAGENT_DEFAULT_EFFORT": "<YOUR_CODEX_SUBAGENT_DEFAULT_EFFORT>",
        "CODEX_SUBAGENT_ALLOWED_MODELS": "<YOUR_CODEX_SUBAGENT_ALLOWED_MODELS>",
        "CODEX_SUBAGENT_DEFAULT_SANDBOX": "<YOUR_CODEX_SUBAGENT_DEFAULT_SANDBOX>",
        "CODEX_SUBAGENT_MAX_SANDBOX": "<YOUR_CODEX_SUBAGENT_MAX_SANDBOX>",
        "CODEX_SUBAGENT_MAX_EFFORT": "<YOUR_CODEX_SUBAGENT_MAX_EFFORT>",
        "CODEX_SUBAGENT_MCP_SERVERS": "<YOUR_CODEX_SUBAGENT_MCP_SERVERS>",
        "CODEX_SUBAGENT_PLUGINS": "<YOUR_CODEX_SUBAGENT_PLUGINS>",
        "CODEX_SUBAGENT_APPS": "<YOUR_CODEX_SUBAGENT_APPS>",
        "CODEX_BIN": "<YOUR_CODEX_BIN>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "codex-subagent-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp@0.6.0"
      ],
      "env": {
        "CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR": "<YOUR_CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR>",
        "CODEX_SUBAGENT_MAX_BACKGROUND_JOBS": "<YOUR_CODEX_SUBAGENT_MAX_BACKGROUND_JOBS>",
        "CODEX_SUBAGENT_USAGE_LOG": "<YOUR_CODEX_SUBAGENT_USAGE_LOG>",
        "CODEX_SUBAGENT_DEFAULT_MODEL": "<YOUR_CODEX_SUBAGENT_DEFAULT_MODEL>",
        "CODEX_SUBAGENT_DEFAULT_EFFORT": "<YOUR_CODEX_SUBAGENT_DEFAULT_EFFORT>",
        "CODEX_SUBAGENT_ALLOWED_MODELS": "<YOUR_CODEX_SUBAGENT_ALLOWED_MODELS>",
        "CODEX_SUBAGENT_DEFAULT_SANDBOX": "<YOUR_CODEX_SUBAGENT_DEFAULT_SANDBOX>",
        "CODEX_SUBAGENT_MAX_SANDBOX": "<YOUR_CODEX_SUBAGENT_MAX_SANDBOX>",
        "CODEX_SUBAGENT_MAX_EFFORT": "<YOUR_CODEX_SUBAGENT_MAX_EFFORT>",
        "CODEX_SUBAGENT_MCP_SERVERS": "<YOUR_CODEX_SUBAGENT_MCP_SERVERS>",
        "CODEX_SUBAGENT_PLUGINS": "<YOUR_CODEX_SUBAGENT_PLUGINS>",
        "CODEX_SUBAGENT_APPS": "<YOUR_CODEX_SUBAGENT_APPS>",
        "CODEX_BIN": "<YOUR_CODEX_BIN>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "codex-subagent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codex-subagent-mcp@0.6.0"
      ],
      "env": {
        "CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR": "<YOUR_CODEX_SUBAGENT_MAX_DELEGATIONS_PER_HOUR>",
        "CODEX_SUBAGENT_MAX_BACKGROUND_JOBS": "<YOUR_CODEX_SUBAGENT_MAX_BACKGROUND_JOBS>",
        "CODEX_SUBAGENT_USAGE_LOG": "<YOUR_CODEX_SUBAGENT_USAGE_LOG>",
        "CODEX_SUBAGENT_DEFAULT_MODEL": "<YOUR_CODEX_SUBAGENT_DEFAULT_MODEL>",
        "CODEX_SUBAGENT_DEFAULT_EFFORT": "<YOUR_CODEX_SUBAGENT_DEFAULT_EFFORT>",
        "CODEX_SUBAGENT_ALLOWED_MODELS": "<YOUR_CODEX_SUBAGENT_ALLOWED_MODELS>",
        "CODEX_SUBAGENT_DEFAULT_SANDBOX": "<YOUR_CODEX_SUBAGENT_DEFAULT_SANDBOX>",
        "CODEX_SUBAGENT_MAX_SANDBOX": "<YOUR_CODEX_SUBAGENT_MAX_SANDBOX>",
        "CODEX_SUBAGENT_MAX_EFFORT": "<YOUR_CODEX_SUBAGENT_MAX_EFFORT>",
        "CODEX_SUBAGENT_MCP_SERVERS": "<YOUR_CODEX_SUBAGENT_MCP_SERVERS>",
        "CODEX_SUBAGENT_PLUGINS": "<YOUR_CODEX_SUBAGENT_PLUGINS>",
        "CODEX_SUBAGENT_APPS": "<YOUR_CODEX_SUBAGENT_APPS>",
        "CODEX_BIN": "<YOUR_CODEX_BIN>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Codex Subagent MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.