iflow-mcp_kky42-codex-as-mcp

v2026.2.2.1
iflow-mcp_kky42-codex-as-mcp Checked 19 hours ago Published 9 months ago

MCP server for delegating tasks to Codex CLI subagents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

spawn_agent

Spawn a Codex agent to work inside the current working directory. The server resolves the working directory via ``os.getcwd()`` so it inherits whatever environment the MCP process currently has. Args: prompt: All instructions/context the agent needs for the task. Returns: The agent's final response (clean output from Codex CLI).

ParameterTypeDescription
prompt *string

spawn_agents_parallel

Spawn multiple Codex agents in parallel. Each spawned agent reuses the server's current working directory (``os.getcwd()``). Args: agents: List of agent specs, each with a 'prompt' entry. Example: [ {"prompt": "Create math.md"}, {"prompt": "Create story.md"} ] Returns: List of results with 'index', 'output', and optional 'error' fields.

ParameterTypeDescription
agents *array