Skip to main content
Glama
kky42

codex-as-mcp

by kky42

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PROVIDER_API_KEYYesAPI key for the third-party provider used by Codex CLI. Required if the provider's config uses an env_key.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
spawn_agentB

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).
spawn_agents_parallelA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kky42/codex-as-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server