codex-upwork-mcp-bridge
Codex ↔ Upwork MCP Bridge
一个非官方的兼容性桥接,用于将 Upwork 的 MCP 服务器与 OpenAI Codex 和 ChatGPT 桌面应用程序一起使用。
Upwork 的 MCP 服务器可以在某些 MCP 客户端中进行身份验证和工作,而 Codex 无法暴露其工具或报告 Unexpected response type 错误。这个小型 stdio 桥接运行 mcp-remote,在本地回答 Upwork 的服务器到客户端 ping 请求,并在转发给 Codex 之前移除在 tools/list 响应中观察到的两个缓存提示。
这是一个社区变通方案,不是官方的 Upwork 或 OpenAI 项目。请先直接尝试 Upwork 的 MCP 端点。兼容性问题可能随时在上游修复。
状态
已在 macOS 上使用 Codex CLI 0.149.0、Bun 和 https://mcp.upwork.com/mcp 进行测试。当两者使用共享的 Codex 配置时,相同的 Codex MCP 配置也可用于 ChatGPT 桌面应用程序。
尚未通过最小的上游复现隔离出确切失败的字段。该桥接规范了失败交换期间观察到的两个协议差异:
它回答从服务器发送到客户端的 JSON-RPC
ping请求。它从工具列表结果中移除
ttlMs和cacheScope缓存提示。
这些缓存提示存在于较新的 MCP 草案中;互操作性问题在于它们是在协商较旧协议修订版时返回的,而不是这些字段普遍无效。
Related MCP server: MCP Token Bridge
安装
先决条件:
Bun 1.2 或更高版本
Codex CLI
用于 Upwork OAuth 的网页浏览器
克隆并安装依赖:
git clone https://github.com/drharunyuksel/codex-upwork-mcp-bridge.git
cd codex-upwork-mcp-bridge
bun install --frozen-lockfile使用 Codex 注册桥接,将示例路径替换为你的克隆的绝对路径:
codex mcp add upwork -- bun run /absolute/path/to/codex-upwork-mcp-bridge/src/index.ts如果你已经有一个名为 upwork 的 MCP 服务器,请在运行命令之前删除或重命名该条目。更改 MCP 配置后,请重启 Codex 和 ChatGPT。首次使用时,mcp-remote 会在你的浏览器中打开 Upwork 的 OAuth 授权。
你也可以手动将其添加到 ~/.codex/config.toml:
[mcp_servers.upwork]
command = "/absolute/path/to/bun"
args = ["run", "/absolute/path/to/codex-upwork-mcp-bridge/src/index.ts"]
startup_timeout_sec = 60使用 command -v bun 查找 Bun 的绝对路径。
验证
codex mcp list
codex mcp get upwork然后让 Codex 列出可用的 Upwork 工具或执行只读操作,例如显示你的 Upwork 个人资料。报告问题时,请避免发布私有工具输出。
移除
codex mcp remove upwork删除 Codex 条目不会删除 mcp-remote 的本地 OAuth 会话。如果你还想清除该会话,请查阅 mcp-remote 文档。
工作原理
Codex / ChatGPT <-- stdio JSON-RPC --> this bridge
|
v
mcp-remote
|
v
https://mcp.upwork.com/mcp该桥接仅更改了观察到的两个兼容性点。其他 JSON-RPC 消息会直接通过。协议流量保留在 stdout 上;诊断信息发送到 stderr,以免破坏 MCP 流。
相关的 Codex 报告
此仓库解决了 Upwork 的情况,但类似的报告描述了 Codex 拒绝或未能显示在其他客户端中可用的 MCP 工具结果:
开发
bun install --frozen-lockfile
bun test许可证
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA universal server that enables MCP-compatible clients (like Claude Desktop, Cursor, VS Code) to access OpenAI's APIs for chat completions, image generation, embeddings, and model listing through a standardized interface.157MIT
- FlicenseNot gradedqualityDmaintenanceBridges MCP tool calls with OpenAI-compatible HTTP endpoints, allowing MCP clients to forward chat completion requests through a unified FastAPI server that returns responses with MCP-specific headers.1
- AlicenseNot gradedqualityDmaintenanceExposes internal tools from agent harnesses (Claude Code, Codex, etc.) as a standard MCP server by intercepting LLM API calls.1MIT
- AlicenseNot gradedqualityDmaintenanceExtended MCP server for OpenAI with support for GPT-5 family, Codex models, and automatic API endpoint selection, enabling chat interactions via the openai_chat tool.8MIT
Related MCP Connectors
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/drharunyuksel/codex-upwork-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server