Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Crawler Summary
MCP server for Codex CLI integration with Claude Code Codex MCP Server A Model Context Protocol (MCP) server that integrates OpenAI's Codex CLI with Claude Code, enabling you to use Codex's capabilities directly from within Claude. This server is converted from the original GPT-5 MCP server, with cost tracking features removed and replaced with direct Codex CLI integration. Features - **Persistent Process Architecture**: 80% faster responses with long-lived Codex proces Published capability contract available. No trust telemetry is available yet. 4 GitHub stars reported by the source. Last updated 2/24/2026.
Freshness
Last checked 2/22/2026
Best For
Contract is available with explicit auth and schema references.
Not Ideal For
@codex/mcp-server is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.
Evidence Sources Checked
editorial-content, capability-contract, runtime-metrics, public facts pack
MCP server for Codex CLI integration with Claude Code Codex MCP Server A Model Context Protocol (MCP) server that integrates OpenAI's Codex CLI with Claude Code, enabling you to use Codex's capabilities directly from within Claude. This server is converted from the original GPT-5 MCP server, with cost tracking features removed and replaced with direct Codex CLI integration. Features - **Persistent Process Architecture**: 80% faster responses with long-lived Codex proces
Public facts
7
Change events
1
Artifacts
0
Freshness
Feb 22, 2026
Published capability contract available. No trust telemetry is available yet. 4 GitHub stars reported by the source. Last updated 2/24/2026.
Trust score
Unknown
Compatibility
MCP
Freshness
Feb 22, 2026
Vendor
Andreahaku
Artifacts
0
Benchmarks
0
Last release
1.0.0
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Published capability contract available. No trust telemetry is available yet. 4 GitHub stars reported by the source. Last updated 2/24/2026.
Setup snapshot
git clone https://github.com/andreahaku/codex_mcp.gitSetup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Andreahaku
Protocol compatibility
MCP
Auth modes
mcp, api_key
Machine-readable schemas
OpenAPI or schema references published
Adoption signal
4 GitHub stars
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
6
Snippets
0
Languages
typescript
bash
npm install -g @openai/codex # or brew install codex
bash
./install.sh
bash
pnpm install
bash
pnpm run build
json
{
"mcpServers": {
"codex": {
"command": "node",
"args": ["/path/to/codex_mcp/dist/index.js"],
"env": {
"MAX_CONVERSATIONS": "50",
"MAX_CONVERSATION_HISTORY": "100",
"MAX_CONVERSATION_CONTEXT": "10"
}
}
}
}bash
./start.sh
Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB MCP
Editorial quality
ready
MCP server for Codex CLI integration with Claude Code Codex MCP Server A Model Context Protocol (MCP) server that integrates OpenAI's Codex CLI with Claude Code, enabling you to use Codex's capabilities directly from within Claude. This server is converted from the original GPT-5 MCP server, with cost tracking features removed and replaced with direct Codex CLI integration. Features - **Persistent Process Architecture**: 80% faster responses with long-lived Codex proces
A Model Context Protocol (MCP) server that integrates OpenAI's Codex CLI with Claude Code, enabling you to use Codex's capabilities directly from within Claude.
This server is converted from the original GPT-5 MCP server, with cost tracking features removed and replaced with direct Codex CLI integration.
๐ codex_ask: Primary tool for Codex assistance with enhanced integration๐ฌ codex_conversation_start: Begin a new conversation with context๐ฌ codex_conversation_continue: Continue an existing conversationโ๏ธ codex_conversation_options: Configure conversation settings๐ codex_conversation_metadata: View conversation details๐ codex_conversation_summarize: Compress conversation history๐ง codex_cancel: Cancel ongoing operations or force terminate sessions๐ฉบ codex_health: Monitor session status and get diagnostics๐ codex_restart: Recover from errors with process restartnpm install -g @openai/codex
# or
brew install codex
./install.sh
This script will:
Install dependencies:
pnpm install
Build the project:
pnpm run build
Configure Claude Desktop by adding to claude_desktop_config.json:
{
"mcpServers": {
"codex": {
"command": "node",
"args": ["/path/to/codex_mcp/dist/index.js"],
"env": {
"MAX_CONVERSATIONS": "50",
"MAX_CONVERSATION_HISTORY": "100",
"MAX_CONVERSATION_CONTEXT": "10"
}
}
}
}
./start.sh
# Production mode
node dist/index.js
# Development mode with hot reload
pnpm run dev
Environment variables (set in .env file):
MAX_CONVERSATIONS: Maximum number of concurrent conversations (default: 50)MAX_CONVERSATION_HISTORY: Maximum messages per conversation (default: 100)MAX_CONVERSATION_CONTEXT: Maximum context messages sent to Codex (default: 10)LOG_LEVEL: Logging level (default: info)MAX_SESSIONS: Maximum concurrent Codex sessions (default: 10)SESSION_IDLE_TIMEOUT: Session cleanup timeout in ms (default: 1800000)Run the comprehensive test suite:
# Test all functionality
node test-server.js
# Test MCP protocol only
node test-mcp-protocol.js
# Test tools functionality
node test-tools.js
MCP clients (like Claude Code) automatically discover available tools through the Model Context Protocol:
The server exposes 9 tools with full JSON schemas:
consult_codex - Core Codex interaction with advanced featuresget_session_health - Monitor and diagnose sessionscancel_request, restart_session - Session managementstart_conversation, continue_conversation - Conversation workflowsset_conversation_options, get_conversation_metadata, summarize_conversation - Advanced conversation controlUsers naturally discover capabilities through:
Every response includes helpful context:
Session: `my-session` | Workspace: `/path/to/repo`
@codex What is the best way to implement error handling in Node.js?
@codex Based on this code: [attach file], how can I optimize the performance?
# Automatically uses current repository workspace for isolation
@codex {"session_id": "auth-feature", "prompt": "Help me implement user authentication"}
@codex {"session_id": "auth-feature", "prompt": "Now add password reset functionality"}
# Session maintains workspace context and request history
{
"session_id": "complex-task",
"workspace_path": "/specific/repo",
"streaming": true,
"prompt": "Analyze and refactor this large codebase",
"page": 1,
"max_tokens_per_page": 15000
}
@codex_health # Monitor all sessions
@codex_health {"session_id": "my-task"} # Check specific session
@codex_cancel {"session_id": "stuck-task"} # Cancel operations
@codex_restart {"session_id": "failed"} # Recover from errors
# Work on frontend
@codex_ask {"workspace_path": "/projects/frontend", "session_id": "ui", "prompt": "Update React components"}
# Switch to backend
@codex_ask {"workspace_path": "/projects/backend", "session_id": "api", "prompt": "Add new API endpoints"}
# Sessions remain isolated by workspace
@codex_health # Shows both sessions with different workspace IDs
All errors are automatically categorized and logged with context:
The server automatically detects available Codex CLI features:
Complex prompts with special characters are automatically escaped for secure execution:
// Handles prompts like: "What's the best way to implement auth?"
// Safely escapes: 'What'\''s the best way to implement auth?'
session_id system for seamless integrationcodex_ for easy discoverycodex_ask๐ Primary Codex interaction tool with enhanced Claude Code integration.
Parameters:
prompt (string, required): The prompt to send to Codexsession_id (string, optional): Session ID for persistent contextworkspace_path (string, optional): Workspace path for repository isolationcontext (string, optional): Additional context for the promptstreaming (boolean, optional): Enable streaming responsesmodel (string, optional): Model to use (e.g., "o3", "gpt-5")page (number, optional): Page number for paginationmax_tokens_per_page (number, optional): Maximum tokens per pageResponse: Rich Codex output with session and workspace metadata
codex_health๐ฉบ Monitor session status and diagnostics with detailed capability reporting.
Parameters:
session_id (string, optional): Specific session to checkResponse: Session status, workspace info, capabilities, and request counts
codex_cancel / codex_restart๐ง๐ Enhanced session management and recovery with structured error handling.
Parameters:
session_id (string, required): Target session IDforce (boolean, optional): Force termination vs graceful restartResponse: Operation status and confirmation
Legacy conversation management (consider using sessions instead):
start_conversation, continue_conversationset_conversation_options, get_conversation_metadatasummarize_conversation# Install via npm
npm install -g @openai/codex
# Install via Homebrew
brew install codex
# Verify installation
codex --help
pnpm installpnpm run buildcodex exec "echo test"Make sure Codex CLI is authenticated. Run codex to check status or re-authenticate if needed.
src/
โโโ index.ts # Main MCP server
โโโ codex-process-simple.ts # Enhanced Codex CLI wrapper with capability detection
โโโ session-manager.ts # Session management with workspace isolation
โโโ conversation.ts # Conversation management
โโโ logger.ts # Structured logging system
โโโ error-types.ts # Error categorization and definitions
โโโ error-utils.ts # Error mapping and recovery utilities
โโโ types.ts # TypeScript types
pnpm run build
pnpm run test # Run test suite
pnpm run dev # Development mode
MIT License - see original GPT-5 MCP server for full license details.
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
ready
Auth
mcp, api_key
Streaming
Yes
Data region
global
Protocol support
Requires: mcp, lang:typescript, streaming
Forbidden: none
Guardrails
Operational confidence: medium
curl -s "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/snapshot"
curl -s "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract"
curl -s "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
80
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
74
Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Rank
72
An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Contract JSON
{
"contractStatus": "ready",
"authModes": [
"mcp",
"api_key"
],
"requires": [
"mcp",
"lang:typescript",
"streaming"
],
"forbidden": [],
"supportsMcp": true,
"supportsA2a": false,
"supportsStreaming": true,
"inputSchemaRef": "https://github.com/andreahaku/codex_mcp#input",
"outputSchemaRef": "https://github.com/andreahaku/codex_mcp#output",
"dataRegion": "global",
"contractUpdatedAt": "2026-02-24T19:46:42.261Z",
"sourceUpdatedAt": "2026-02-24T19:46:42.261Z",
"freshnessSeconds": 4433764
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/snapshot",
"contractUrl": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract",
"trustUrl": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/trust"
},
"curlExamples": [
"curl -s \"https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/snapshot\"",
"curl -s \"https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract\"",
"curl -s \"https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"MCP"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_MCP",
"generatedAt": "2026-04-17T03:22:46.650Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "MCP",
"type": "protocol",
"support": "supported",
"confidenceSource": "contract",
"notes": "Confirmed by capability contract"
},
{
"key": "mcp",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "codex",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "openai",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "claude",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "ai",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "llm",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "cli",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:MCP|supported|contract capability:mcp|supported|profile capability:codex|supported|profile capability:openai|supported|profile capability:claude|supported|profile capability:ai|supported|profile capability:llm|supported|profile capability:cli|supported|profile"
}Facts JSON
[
{
"factKey": "docs_crawl",
"category": "integration",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "MCP",
"href": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:42.261Z",
"isPublic": true
},
{
"factKey": "auth_modes",
"category": "compatibility",
"label": "Auth modes",
"value": "mcp, api_key",
"href": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:42.261Z",
"isPublic": true
},
{
"factKey": "schema_refs",
"category": "artifact",
"label": "Machine-readable schemas",
"value": "OpenAPI or schema references published",
"href": "https://github.com/andreahaku/codex_mcp#input",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:46:42.261Z",
"isPublic": true
},
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Andreahaku",
"href": "https://github.com/andreahaku/codex_mcp",
"sourceUrl": "https://github.com/andreahaku/codex_mcp",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-24T19:43:14.176Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "4 GitHub stars",
"href": "https://github.com/andreahaku/codex_mcp",
"sourceUrl": "https://github.com/andreahaku/codex_mcp",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-24T19:43:14.176Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/trust",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-andreahaku-codex-mcp/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[
{
"eventType": "docs_update",
"title": "Docs refreshed: Sign in to GitHub ยท GitHub",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
}
]Sponsored
Ads related to @codex/mcp-server and adjacent AI workflows.