Skip to main content
Glama

codex-bridge

Give Claude Code a Codex sparring partner.

codex-bridge is an MCP server that lets Claude Code ask GPT Codex for adversarial planning, code review, debugging, research, and risk triage without leaving your project workflow.

The npm package is @ndcorder/codex-bridge. The installed CLI binary and MCP server key are both codex-bridge.

What It Does

  • codex_plan: get an implementation plan with trade-offs and stop-ship checks before writing code.

  • codex_review: ask Codex for critical code review, with evidence mode on by default.

  • codex_ask: brainstorm, sanity-check assumptions, or compare approaches.

  • codex_risk_radar: score a diff and choose the right collaboration depth.

  • codex_research: run multi-turn research and write durable research artifacts.

  • codex_debug: run structured root-cause analysis for hard bugs.

  • codex_stats, codex_sessions, codex_reset: inspect and manage bridge sessions.

Related MCP server: codex-dobby-mcp

Requirements

  • Node.js 20 or newer is recommended. CI runs on Node 20 and 22.

  • The Codex CLI must be installed, authenticated, and available as codex on PATH.

  • An MCP-capable client such as Claude Code.

Check the Codex CLI before configuring the bridge:

codex --version

Quick Start

From the project where you want Claude Code to use Codex:

npx -y @ndcorder/codex-bridge init

This command:

  • creates or updates .mcp.json with a codex-bridge stdio server entry

  • preserves existing MCP servers

  • appends Codex Bridge guidance to CLAUDE.md if it is not already present

Restart Claude Code after running the init command.

Manual MCP Configuration

If you prefer to edit MCP config yourself, add this server entry:

{
  "mcpServers": {
    "codex-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@ndcorder/codex-bridge"]
    }
  }
}

First Workflows

Ask Codex to plan before a risky change:

Use codex_plan to review this approach before implementation:
<describe the feature, constraints, and files involved>

Ask for evidence-based review after changes:

Use codex_review with include_diff=true and evidence_mode=true.
Focus on security, data loss, and API regressions.

Use risk radar when deciding how much review a diff needs:

Use codex_risk_radar on the current diff and recommend whether to ask,
review, or plan then review.

See docs/USAGE.md for more workflows.

Configuration

Environment variables:

  • CODEX_BRIDGE_MODEL or CODEX_MODEL: default model override. Default: gpt-5.3-codex.

  • CODEX_BRIDGE_RETRIES: transient retry count. Default: 1.

  • CODEX_BRIDGE_RETRY_BACKOFF_MS: retry backoff base in milliseconds. Default: 500.

  • CODEX_BRIDGE_MAX_SESSIONS: max in-memory sessions before oldest-session eviction. Default: 200.

  • CODEX_BRIDGE_SESSION_TTL_MS: session inactivity TTL in milliseconds. Default: 86400000.

Common per-request runtime options:

  • working_dir: project directory for Codex file access and implicit session key.

  • timeout: timeout in milliseconds, max 600000.

  • session_id: explicit context isolation key.

  • model: per-request Codex model override.

  • retries: per-request retry count, max 10.

  • retry_backoff_ms: per-request retry backoff base, max 60000.

Full tool schemas are in docs/TOOLS.md.

Documentation

Local Development

npm install
npm run build
npm test

Run the full verification suite:

npm run verify

The full suite includes unit tests, the MCP stdio smoke test, and the bake-off black-box suite.

Release Commands

  • npm run release:bump: bump patch version in package.json and package-lock.json.

  • npm run release:bump:patch|minor|major: explicit semver bump.

  • npm run release:notes: generate .release/RELEASE_NOTES.md from CHANGELOG.md.

  • npm run release:pack-check: build and run npm pack --dry-run.

  • npm run release:prepare: run verify, pack check, and release notes generation.

Publish scoped packages publicly with:

npm publish --access public

Package Contents

The npm package intentionally ships only runtime output and documentation:

  • dist/src

  • README.md

  • CHANGELOG.md

  • docs/*.md

Generated research artifacts are written to the consuming project's .codex-bridge/ directory when codex_research receives working_dir.

Available Tools

9 tools
codex_askA

Ask GPT Codex a question or brainstorm an idea. Codex acts as a critical thinking partner — it will challenge assumptions and surface risks.

ParametersJSON Schema
NameRequiredDescriptionDefault
promptYesThe question or topic to discuss with Codex
contextNoAdditional context (file contents, prior decisions, etc.)
working_dirNoProject working directory for Codex file access and implicit session key
timeoutNoTimeout in milliseconds (default: 120000, max: 600000)
session_idNoOptional session key to isolate conversation history across concurrent clients
modelNoOptional Codex model override for this request
retriesNoRetry count for transient Codex errors (default from env or 1, max: 10)
retry_backoff_msNoBase retry backoff in milliseconds (default from env or 500, max: 60000)

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears full burden. It mentions that Codex 'will challenge assumptions and surface risks' but does not disclose side effects (e.g., session modification), safety, or authentication needs. This is insufficient for a tool with no annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the purpose. Every sentence adds value, with no redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters, no output schema, and no annotations, the description could provide more context (e.g., what the response contains, how to use optional params). The schema covers parameter details, but the tool's overall usage remains somewhat opaque.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds no additional meaning beyond the schema; it does not explain parameter usage or dependencies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Ask', 'brainstorm') and the resource ('GPT Codex'). It distinguishes from sibling tools like codex_debug, codex_plan, etc., by focusing on general questioning and critical thinking.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides context (critical thinking partner, challenges assumptions) but does not explicitly say when to use this tool versus alternatives like codex_research or codex_plan. Usage is implied rather than explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_debugA

Structured root-cause analysis via GPT Codex. Multi-turn: Codex generates hypotheses, tests them against the code and web sources, then delivers a verdict with evidence chain. Can take minutes. Use for hard-to-find bugs, unexpected behavior, or production incidents.

ParametersJSON Schema
NameRequiredDescriptionDefault
symptomsYesError messages, stack traces, unexpected behavior, or failing test output
codeNoRelevant code to investigate (file contents, snippets)
contextNoAdditional context (what changed, environment, prior investigation)
max_turnsNoMaximum investigation turns (default: 3, max: 5). Each turn deepens the analysis
working_dirNoProject working directory for Codex file access and implicit session key
timeoutNoTimeout in milliseconds (default: 120000, max: 600000)
session_idNoOptional session key to isolate conversation history across concurrent clients
modelNoOptional Codex model override for this request
retriesNoRetry count for transient Codex errors (default from env or 1, max: 10)
retry_backoff_msNoBase retry backoff in milliseconds (default from env or 500, max: 60000)

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It discloses the multi-turn process ('hypotheses, tests... verdict with evidence chain') and time consumption. While it doesn't detail authentication or rate limits, it adequately describes the behavioral traits for a debugging tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise: two sentences that front-load the core purpose and process, then add usage guidance. Every sentence adds value with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (10 parameters, multi-turn process, no output schema), the description provides adequate context for an AI agent to decide to use the tool. It explains the multi-turn nature and intended use cases, though it omits details about output format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description does not add significant meaning beyond the schema; it restates high-level concepts (symptoms, code, context) but does not elaborate on parameter usage or constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it performs 'Structured root-cause analysis via GPT Codex' and specifies usage for 'hard-to-find bugs, unexpected behavior, or production incidents.' This distinguishes it from sibling tools like codex_ask or codex_plan, which have different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly recommends use for debugging scenarios ('hard-to-find bugs, unexpected behavior, or production incidents') and notes time cost ('Can take minutes'). However, it does not explicitly state when not to use it or mention alternatives, though sibling names provide context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_planA

Collaboratively plan an implementation with GPT Codex. Describe the problem and constraints, get a concrete approach with trade-offs and alternatives.

ParametersJSON Schema
NameRequiredDescriptionDefault
problemYesThe problem or feature to plan
constraintsNoTechnical constraints, preferences, requirements
working_dirNoProject working directory for Codex file access and implicit session key
timeoutNoTimeout in milliseconds (default: 120000, max: 600000)
session_idNoOptional session key to isolate conversation history across concurrent clients
modelNoOptional Codex model override for this request
retriesNoRetry count for transient Codex errors (default from env or 1, max: 10)
retry_backoff_msNoBase retry backoff in milliseconds (default from env or 500, max: 60000)

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It describes the collaborative nature and output ('concrete approach with trade-offs and alternatives'), but lacks details on potential destructive actions, permission requirements, error handling, or session behavior. Adequate but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no extraneous words. Front-loaded with the core purpose. Perfectly concise for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has 8 parameters and no output schema. Description explains the purpose and high-level outcome but does not detail the return values (e.g., format of the plan), pagination, or behavior under different constraints. Adequate but incomplete for a comprehensive understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (all 8 parameters described thoroughly). The description only mentions 'problem' and 'constraints', adding no additional meaning beyond the schema. With full coverage, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states 'Collaboratively plan an implementation' and specifies the process: describe problem and constraints, get concrete approach with trade-offs and alternatives. The verb 'plan' and resource 'implementation' are specific, and it distinguishes from sibling tools like codex_ask and codex_debug.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for planning phases ('Describe the problem and constraints'), but does not explicitly state when not to use or list alternatives. It provides clear context for when to use, earning a 4.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_researchA

Deep-dive research via GPT Codex. Multi-turn: Codex surveys the topic, drills into gaps, then synthesizes findings. Can take minutes — trades speed for depth. Use for architecture exploration, library evaluation, or understanding unfamiliar codebases.

ParametersJSON Schema
NameRequiredDescriptionDefault
topicYesThe research topic or question to investigate
contextNoAdditional context (file contents, constraints, prior knowledge)
max_turnsNoMaximum research turns (default: 3, max: 5). Each turn deepens the investigation
working_dirNoProject working directory for Codex file access and implicit session key
timeoutNoTimeout in milliseconds (default: 120000, max: 600000)
session_idNoOptional session key to isolate conversation history across concurrent clients
modelNoOptional Codex model override for this request
retriesNoRetry count for transient Codex errors (default from env or 1, max: 10)
retry_backoff_msNoBase retry backoff in milliseconds (default from env or 500, max: 60000)

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It reveals the multi-turn process and time trade-off, which are behavioral traits. However, it does not address permissions, side effects, or rate limits. The information is adequate but leaves gaps for mutation or state-management details.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is exceptionally concise: two sentences that front-load the core purpose, then explain the process and trade-offs. Every sentence adds value with no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (9 parameters, no output schema), the description explains the purpose and process but lacks details about return values, error handling, or how the session_id and working_dir interact. It also does not explicitly guide comparison with siblings beyond the speed-depth trade-off. It is functional but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds no extra meaning beyond the schema; the parameter descriptions in the schema are already detailed (e.g., max_turns explains each turn deepens investigation). The tool-level description does not enhance parameter understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool does 'deep-dive research via GPT Codex' with a multi-turn process that surveys, drills, and synthesizes. It differentiates from siblings like codex_ask and codex_debug by emphasizing depth over speed and listing specific use cases (architecture exploration, library evaluation, understanding codebases).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

While it explicitly lists use cases ('Use for architecture exploration, library evaluation, or understanding unfamiliar codebases'), it implies when not to use with 'Can take minutes — trades speed for depth,' but does not name specific alternative tools. The context is clear, but more direct exclusions would strengthen it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_resetA

Reset the conversation session with Codex. Clears history and stats. Use when starting a new topic.

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idNoSession key to clear; defaults to working_dir or the default session
working_dirNoOptional working directory used as implicit session key
all_sessionsNoIf true, clears every active session in this process

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It mentions clearing history and stats but lacks detail on permanence, required permissions, or behavior when all_sessions is true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no fluff. Action and effect in first sentence, usage guidance in second. Perfectly concise and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given tool simplicity and full param schema coverage, description covers purpose and usage adequately. Lacks mention of irreversibility and all_sessions behavior, but overall complete for reset operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. Description does not add meaning beyond schema for parameters; it does not explain session_id, working_dir, or all_sessions further.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the verb 'reset' and the resource 'conversation session with Codex'. It distinguishes from siblings like codex_sessions and codex_stats by specifying it clears history and stats.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: 'Use when starting a new topic.' Does not mention when not to use or provide alternatives, but for a simple reset tool this is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_reviewA

Send code to GPT Codex for critical review. Codex will look for bugs, security issues, performance problems, and design flaws.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe code to review
descriptionNoWhat the code does and what to focus on
include_diffNoAuto-include git diff from working directory
evidence_modeNoRequire evidence (repro steps, confidence, fix sketch) for each finding. Default: true
working_dirNoProject working directory for Codex file access and implicit session key
timeoutNoTimeout in milliseconds (default: 120000, max: 600000)
session_idNoOptional session key to isolate conversation history across concurrent clients
modelNoOptional Codex model override for this request
retriesNoRetry count for transient Codex errors (default from env or 1, max: 10)
retry_backoff_msNoBase retry backoff in milliseconds (default from env or 500, max: 60000)

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It mentions external invocation to Codex but does not disclose side effects, rate limits, data handling, or whether the tool modifies anything. Basic behavioral context is missing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences that efficiently convey the core purpose and scope. No extraneous text; every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 10 parameters and no output schema. The description does not explain the return format or structure of the review, leaving the agent to infer. While the input schema is well-documented, the output behavior is unclear.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 10 parameters have descriptions in the input schema, achieving 100% coverage. The tool description adds marginal value beyond the schema, only providing a brief context for the review purpose. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action 'Send code for critical review' and lists specific issue types (bugs, security, performance, design flaws), distinguishing it from sibling tools like codex_ask and codex_debug.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for code review but does not explicitly state when not to use it or compare to alternatives. The context is clear but lacks exclusion guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_risk_radarA

Analyze a git diff to identify risk zones and recommend the right collaboration depth. Returns risk score, affected categories, and whether to use codex_ask, codex_review, or codex_plan+review.

ParametersJSON Schema
NameRequiredDescriptionDefault
diffYesUnified git diff text
changed_filesNoComma-separated list of changed file paths
commit_messageNoCommit message for additional context
working_dirNoOptional working directory used as implicit session key
session_idNoOptional session key to persist risk radar context

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description bears full burden. It discloses the tool's purpose (analyze diff, return risk score/categories/recommendation), which implies read-only behavior. However, it does not explicitly clarify side effects or limitations, but the description is sufficiently transparent for an analysis tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences, front-loaded with the main purpose and output. Every sentence adds value with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 5 parameters and no output schema. The description lists the return values (risk score, affected categories, recommendation) but does not specify types or structure. Given the complexity, it is adequate but leaves some detail gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage for all 5 parameters, so the baseline is 3. The tool's description does not add any extra meaning beyond the schema's parameter descriptions, so no bonus points.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool analyzes a git diff to identify risk zones and recommend collaboration depth, and specifies that it returns risk score, affected categories, and which sibling tool to use. This distinguishes it from siblings by being the risk analysis tool that guides towards others.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when analyzing a git diff, but does not explicitly state when to use this tool versus alternatives like codex_debug or codex_research. It mentions recommending siblings but lacks explicit when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_sessionsA

List active in-memory sessions with recency and activity summary. Useful when running multiple clients against one bridge process.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum sessions to list (default: 50, max: 500)

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must disclose behavior. It states 'List active in-memory sessions', implying a read-only operation, and indicates what is included in the output. This is clear, though it could be more explicit about non-destructive nature or lack of side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first defines purpose, second provides usage context. No extraneous information. Every sentence serves a clear function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has one optional parameter, no output schema, and no annotations. The description covers its core function and usage context adequately for a simple listing tool. Could benefit from mentioning output format or ordering, but not essential.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single parameter 'limit', with a detailed description in the schema. The tool description does not add additional meaning beyond what the schema provides, so baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'List active in-memory sessions with recency and activity summary' which is a specific verb (List) and resource (active in-memory sessions), and adds detail about what the output includes (recency and activity summary). It clearly distinguishes from siblings like codex_ask or codex_debug.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes 'Useful when running multiple clients against one bridge process', providing clear context for when to use the tool. No exclusions or alternatives are mentioned, but no other sibling tool overlaps in functionality, so the guidance is sufficient.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

codex_statsA

Get round-trip statistics for this session's Claude ↔ Codex collaboration. Shows number of exchanges, latency breakdown, and per-tool usage.

ParametersJSON Schema
NameRequiredDescriptionDefault
session_idNoSession key to inspect; defaults to working_dir or the default session
working_dirNoOptional working directory used as implicit session key

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. The verb 'Get' and 'Shows' imply a read-only operation with no side effects. While not explicitly stating 'read-only', the description reasonably conveys behavioral traits for a statistics retrieval tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the main purpose, immediately followed by specific output details. No fluff or unnecessary information; every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple tool with two optional parameters and no output schema, the description sufficiently explains the tool's purpose and outputs (exchanges, latency, per-tool usage). Complete for the given complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with both parameters (session_id, working_dir) having clear descriptions. The tool description does not add any additional meaning beyond what the schema already provides, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the resource 'round-trip statistics for this session's Claude ↔ Codex collaboration'. It lists specific outputs (exchanges, latency, per-tool usage), which distinguishes it from sibling tools like codex_ask or codex_debug that perform different actions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context ('this session's Claude ↔ Codex collaboration') but does not explicitly state when to use this tool versus alternatives or provide any exclusions. No guidance on when not to use or alternative tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 9 tool updatesv1.1.0
    • First observedcodex_ask
    • First observedcodex_debug
    • First observedcodex_plan
    • First observedcodex_research
    • First observedcodex_reset
    • First observedcodex_review
    • First observedcodex_risk_radar
    • First observedcodex_sessions
    • First observedcodex_stats

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct interaction mode with Codex: brainstorming, debugging, planning, deep research, session reset, code review, risk analysis of diffs, session listing, and statistics. No overlap in purpose.

Naming Consistency5/5

All tools follow a consistent 'codex_' prefix with a descriptive verb or noun in snake_case (e.g., codex_ask, codex_research, codex_risk_radar). The pattern is uniform and predictable.

Tool Count5/5

With 9 tools, the set is well-scoped for its purpose. Each tool serves a clear function without redundancy, fitting the typical optimal range of 3–15 tools.

Completeness4/5

The set covers major interaction types with Codex (ask, debug, plan, research, review, risk analysis) along with session management and stats. A minor gap is the absence of a direct 'codex_edit' or 'codex_refactor' tool, but core workflows are well-supported.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    A local MCP server that lets Claude delegate scoped work to Codex with structured results and guardrails, supporting planning, code review, build, reverse engineering, and long-running background tasks.
    11
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server enabling Claude to consult Codex (GPT-5.x) mid-task for second opinions, plan/diff review, brainstorming, and codebase exploration via structured debates and permission-controlled interactions.
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A MCP server that enables Claude Code to delegate coding tasks to Codex via the MCP protocol, with task management, security checks, and result verification.
    30
    MIT

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/ndcorder/claude-codex-team'

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