ccg-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ccg-mcpGenerate a Python function to read a CSV file using Codex"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CCG-MCP v0.2.0
三个 stdio MCP server,让 Claude Code Desktop 通过 API 直接调用 OpenAI Codex/GPT-5、Gemini、Claude,不依赖本地 CLI,支持第三方 API 代理网关。
Server | 入口 | 默认模型 |
|
|
|
|
|
|
|
|
|
快速启动(uvx)
# 从 GitHub 直接拉起(无需 clone)
uvx --from git+https://github.com/Erenshkigal111/ccg-mcp codex-api-mcp
uvx --from git+https://github.com/Erenshkigal111/ccg-mcp gemini-api-mcp
uvx --from git+https://github.com/Erenshkigal111/ccg-mcp claude-api-mcpRelated MCP server: Collaborative MCP Proxy Server
settings.json — 直连官方 API
Windows
{
"mcpServers": {
"codex-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "codex-api-mcp"],
"env": {
"OPENAI_API_KEY": "${env:OPENAI_API_KEY}"
}
},
"gemini-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "gemini-api-mcp"],
"env": {
"GOOGLE_API_KEY": "${env:GOOGLE_API_KEY}"
}
},
"claude-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "claude-api-mcp"],
"env": {
"ANTHROPIC_API_KEY": "${env:ANTHROPIC_API_KEY}"
}
}
}
}macOS / Linux
{
"mcpServers": {
"codex-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "codex-api-mcp"],
"env": {
"OPENAI_API_KEY": "$OPENAI_API_KEY"
}
},
"gemini-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "gemini-api-mcp"],
"env": {
"GOOGLE_API_KEY": "$GOOGLE_API_KEY"
}
},
"claude-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "claude-api-mcp"],
"env": {
"ANTHROPIC_API_KEY": "$ANTHROPIC_API_KEY"
}
}
}
}settings.json — 第三方 API 代理网关
当所有 API(OpenAI、Claude、Gemini)经由同一第三方代理(如 https://hk1.augmunt.com)转发时,使用以下模板。API Key 只写系统环境变量,不硬编码进 settings.json。
Windows(第三方网关)
{
"mcpServers": {
"codex-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "codex-api-mcp"],
"env": {
"OPENAI_API_KEY": "${env:OPENAI_API_KEY}",
"OPENAI_BASE_URL": "https://hk1.augmunt.com/v1"
}
},
"gemini-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "gemini-api-mcp"],
"env": {
"GOOGLE_API_KEY": "${env:GOOGLE_API_KEY}",
"GEMINI_API_ENDPOINT": "hk1.augmunt.com"
}
},
"claude-api": {
"command": "uvx",
"args": ["--from", "git+https://github.com/Erenshkigal111/ccg-mcp", "claude-api-mcp"],
"env": {
"ANTHROPIC_API_KEY": "${env:ANTHROPIC_API_KEY}",
"ANTHROPIC_BASE_URL": "https://hk1.augmunt.com"
}
}
}
}注意:
OPENAI_BASE_URL需要/v1后缀;GEMINI_API_ENDPOINT只填主机名(无协议前缀);ANTHROPIC_BASE_URL填完整 URL(无路径后缀)。若 Gemini 代理为 OpenAI-compatible 模式,将
gemini-api改为使用codex-api-mcp,并将OPENAI_BASE_URL指向代理,model 填gemini-3.1-pro-preview。
代理相关环境变量一览
变量 | Server | 说明 |
| Users\useredb6858d\projectsx-api | OpenAI / 代理 key |
| Users\useredb6858d\projectsx-api | 自定义端点,如 |
| gemini-api | Gemini key |
| gemini-api | 自定义 API 主机名,如 |
| claude-api | Anthropic / 代理 key |
| claude-api | 自定义端点,如 |
| 全部 | 超时秒数,默认 |
Tool schema
codex-api.exec
exec(
prompt: str,
role: str = "",
model: str = "gpt-5-codex",
reasoning_effort: str = "medium",
workdir: str = ""
) -> strgemini-api.exec
exec(
prompt: str,
role: str = "",
model: str = "gemini-3.1-pro-preview",
workdir: str = ""
) -> strclaude-api.exec
exec(
prompt: str,
role: str = "",
model: str = "claude-sonnet-4-6",
workdir: str = ""
) -> str烟测
git clone https://github.com/Erenshkigal111/ccg-mcp
cd ccg-mcp
pip install -e .
python tests/smoke_test.py已知限制
速率限制:API 返回 429 时,server 以 JSON 字符串返回错误,调用方决定重试。
模型可用性:默认模型取决于账号权限和代理供应商发布状态;入参
model可随时覆盖。Gemini 原生 SDK:
GEMINI_API_ENDPOINT只支持 google-genai 原生协议;若代理为 OpenAI-compatible,改用codex-api-mcp+OPENAI_BASE_URL。文件访问:三个 server 均不直接读取本地工作区文件,仅调用远程 API。
This server cannot be deployed
Maintenance
Related MCP Connectors
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
No-data MCP handoff for local Claude Code to Codex harness moves. $49 lifetime.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceThe self-hosted MCP bridge between Claude Chat and Claude Code.46AGPL 3.0
- FlicenseNot gradedqualityDmaintenanceEnables multi-AI collaborative analysis by proxying requests to existing login-based MCP servers (Gemini CLI and Codex CLI) from Claude Desktop or Claude Code.-
- AlicenseNot gradedqualityDmaintenanceIntegrates OpenAI Codex CLI with Claude Code via MCP, enabling code execution, analysis, fixing, and web search within Claude Code.939 npm1ISC
- AlicenseAqualityDmaintenanceIntegrates the local gemini CLI tool with Claude Code, allowing Claude to execute Gemini AI queries via the MCP protocol.110 npm1MIT