Use Codex from Claude Code, or Claude Code from Codex, through the subscriptions you already have. Multi-turn consultations between agent CLIs with no provider API key, a validated response envelope, and a local dashboard of every consultation.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add orchestrator --env ORCHESTRATOR_HOST_RUNTIME='<ORCHESTRATOR_HOST_RUNTIME>' --env ORCHESTRATOR_CONFIG='<ORCHESTRATOR_CONFIG>' -- uvx orchestrator-mcp-server~/.codex/config.toml
[mcp_servers.orchestrator]
command = "uvx"
args = ["orchestrator-mcp-server"]
env = { ORCHESTRATOR_HOST_RUNTIME = "<ORCHESTRATOR_HOST_RUNTIME>", ORCHESTRATOR_CONFIG = "<ORCHESTRATOR_CONFIG>" }
# codex mcp add orchestrator --env ORCHESTRATOR_HOST_RUNTIME='<ORCHESTRATOR_HOST_RUNTIME>' --env ORCHESTRATOR_CONFIG='<ORCHESTRATOR_CONFIG>' -- uvx orchestrator-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"orchestrator": {
"command": "uvx",
"args": [
"orchestrator-mcp-server"
],
"env": {
"ORCHESTRATOR_HOST_RUNTIME": "<ORCHESTRATOR_HOST_RUNTIME>",
"ORCHESTRATOR_CONFIG": "<ORCHESTRATOR_CONFIG>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"orchestrator": {
"type": "stdio",
"command": "uvx",
"args": [
"orchestrator-mcp-server"
],
"env": {
"ORCHESTRATOR_HOST_RUNTIME": "<ORCHESTRATOR_HOST_RUNTIME>",
"ORCHESTRATOR_CONFIG": "<ORCHESTRATOR_CONFIG>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"orchestrator": {
"command": "uvx",
"args": [
"orchestrator-mcp-server"
],
"env": {
"ORCHESTRATOR_HOST_RUNTIME": "<ORCHESTRATOR_HOST_RUNTIME>",
"ORCHESTRATOR_CONFIG": "<ORCHESTRATOR_CONFIG>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"orchestrator": {
"command": "uvx",
"args": [
"orchestrator-mcp-server"
],
"env": {
"ORCHESTRATOR_HOST_RUNTIME": "<ORCHESTRATOR_HOST_RUNTIME>",
"ORCHESTRATOR_CONFIG": "<ORCHESTRATOR_CONFIG>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"orchestrator": {
"command": "uvx",
"args": [
"orchestrator-mcp-server"
],
"env": {
"ORCHESTRATOR_HOST_RUNTIME": "<ORCHESTRATOR_HOST_RUNTIME>",
"ORCHESTRATOR_CONFIG": "<ORCHESTRATOR_CONFIG>"
}
}
}
}需要的环境变量
ORCHESTRATOR_HOST_RUNTIMEORCHESTRATOR_CONFIG
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。