Skip to content

MCP and tool registered error #15779

@Asunazzz123

Description

@Asunazzz123

What version of the IDE extension are you using?

VScode openai.chatgpt-26.323.20928-darwin-arm64

What subscription do you have?

Business

Which IDE are you using?

VS Code

What platform is your computer?

Macos

What issue are you seeing?

I have set up MCP servers to build a multi-agent auto building and reviewing code. I added mcp in config.toml

[mcp_servers.codex-reviewer]
type = "stdio"
command = "/opt/anaconda3/bin/python3"
args = ["/Users/asuna/.codex/scripts/codex_reviewer_mcp.py"]
env = { PATH = "/opt/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin", HOME = "/Users/asuna", CODEX_BINARY = "/Users/asuna/.codex/bin/codex-latest", CODEX_REVIEWER_FRAMEWORK_ROOT = "/Users/asuna/Asuna/study&work/git/agentframework" }
startup_timeout_sec = 300
tool_timeout_sec = 300

but it can't be found, the jsonl file said

resources/list failed: failed to get client: MCP startup failed: timed out handshaking with MCP server after 10s
resources/templates/list failed: failed to get client: MCP startup failed: timed out handshaking with MCP server after 10s

Codex has help me recheck (the python script doesn't have any problem)and claimed that IDE Codex did not read config.toml, but i have reopened my window, even poweroff my mac, but it still failed.
Here are codex output

截至 2026-03-25 20:48 +0800,当前这个 Codex 会话不能访问 codex-reviewer。

证据很直接:

~/.codex/config.toml 里有 codex-reviewer 配置,wrapper 脚本也存在。
但当前会话没有暴露 mcp__codex_reviewer__codex、mcp__codex_reviewer__codex_reply、mcp__codex_reviewer__review_gate。
按服务器名去枚举 codex-reviewer 的 MCP 资源和模板时,都返回 MCP startup failed: timed out handshaking with MCP server after 10s。

What steps can reproduce the bug?

  • Register a mcp server like the above text

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) servers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions