Skip to content

support for streamable HTTP MCP servers not working properly #4707

Closed

Description

@realyn

What version of Codex is running?

0.44.0

Which model were you using?

gpt-5-codex

What platform is your computer?

MacOS

What steps can reproduce the bug?

Both notion and amap MCP servers should load correctly and display their available tools, instead of showing Tools: (none).

Configuration (config.toml):
[mcp_servers.notion]
url = "https://mcp.notion.com/mcp"

[mcp_servers.amap]
url = "https://mcp.amap.com/mcp?key=<my_key>"

Steps to Reproduce:
Start Codex.
Run /mcp.
Observe the loaded MCP servers.
Actual Output:

• Server: notion
• URL: https://mcp.notion.com/mcp
• Tools: (none)

• Server: amap
• URL: https://mcp.amap.com/mcp?key=<my_key>
• Tools: (none)

Activity

  1. added
    bug
    on Oct 4, 2025
  2. added
    mcp
    on Oct 4, 2025
  3. Meowzz95 commented on Oct 4, 2025

    @Meowzz95

    Same here, github MCP also does not work

    if I enable experimental_use_rmcp_client = true, I get error

    ■ MCP client for `github` failed to start: handshaking with MCP server failed: Send message error Transport
    [rmcp::transport::worker::WorkerTransport<rmcp::transport::streamable_http_client::StreamableHttpClientWorker<r
    eqwest::async_impl::client::Client>>] error: Client error: HTTP status client error (400 Bad Request) for url
    (https://api.githubcopilot.com/mcp/), when send initialize request
    

    if I disable experimental_use_rmcp_client = true, no error but the mcp shows tools

    version 0.44.0

  4. wo0d commented on Oct 4, 2025

    @wo0d

    Same here, Rube MCP also does not work
    version 0.44.0

  5. Suryapratap-R commented on Oct 4, 2025

    @Suryapratap-R

    same here, nuxt ui MCP does not work
    version: 0.44.0

    https://ui.nuxt.com/mcp, shows no tools available even with web search

  6. ginishuh commented on Oct 4, 2025

    @ginishuh

    I’m experiencing the same problem — I’m also unable to use the Figma MCP.

  7. ray-amjad commented on Oct 4, 2025

    @ray-amjad

    Same problem. With the Exa MCP

  8. alan-vaultn commented on Oct 4, 2025

    @alan-vaultn

    Same issue with custom-written http MCP, showing "Tools: (none)" despite the MCP working fine with other tools

  9. sebthom commented on Oct 4, 2025

    @sebthom

    same issue on Windows 10 using codex 0.44.0 with:

    [mcp_servers.context7]
    url = "https://mcp.context7.com/mcp"
    
    [mcp_servers.gitmcp]
    url = "https://gitmcp.io/docs"
    
    [mcp_servers.ref]
    url = "https://api.ref.tools/mcp?apiKey=ref-<REMOVED>"

    Using the mcp-remote wrapper as workaround all tools are available, so it is a bug in the codex MCP implementation and not in the streamable MCP servers.

  10. kirso commented on Oct 5, 2025

    @kirso

    MacOS 0.44.0

    same issue:

    experimental_use_rmcp_client = true
    
    [mcp_servers.svelte]
    url = "https://mcp.svelte.dev/mcp"
  11. codylund commented on Oct 5, 2025

    @codylund

    Seeing the exact same issue with GitHub MCP. Tried with experimental_use_rmcp_client = true.

    Do any real humans at OpenAI test the code that ships anymore? 😉

  12. IvanSadovskyi commented on Oct 5, 2025

    @IvanSadovskyi

    My full config.toml:

    model = "gpt-5-codex"
    model_reasoning_effort = "high"
    
    [projects.'\\?\C:\Work\ICS']
    trust_level = "trusted"
    
    experimental_use_rmcp_client = true
    [mcp_servers.figma]
    url = "http://127.0.0.1:3845/mcp"
    

    http://127.0.0.1:3845/mcp works in browser.

    c:\Work\ICS>codex
    ╭────────────────────────────────────────────────╮
    │ >_ OpenAI Codex (v0.44.0)                      │
    │                                                │
    │ model:     gpt-5-codex high   /model to change │
    │ directory: c:\Work\ICS                         │
    ╰────────────────────────────────────────────────╯
    
      To get started, describe a task or try one of these commands:
    
      /init - create an AGENTS.md file with instructions for Codex
      /status - show current session configuration
      /approvals - choose what Codex can do without approval
      /model - choose what model and reasoning effort to use
      /review - review any changes and find issues
    
    /mcp
    
    🔌  MCP Tools
    
      • No MCP tools available.
    
    
  13. williamjshipman commented on Oct 6, 2025

    @williamjshipman

    Can confirm that mcp-remote works fine, guess we'll just settle for this until the issue is fixed. This is with Codex running inside WSL.

  14. Meowzz95 commented on Oct 7, 2025

    @Meowzz95

    #4707 (comment)

    just to report v0.45.0 still the same


    adding error detail

    ■ MCP client for `github` failed to start: handshaking
    with MCP server failed: Send message error Transport
    [rmcp::transport::worker::WorkerTransport<rmcp::transport::streamable_http_client::StreamableHttpCl
    ientWorker<reqwest::async_impl::client::Client>>] error: Client error: HTTP status client error
    (400 Bad Request) for url (https://api.githubcopilot.com/mcp), when send initialize request
    

    config

    experimental_use_rmcp_client = true
    
    [mcp_servers.github]
    url = "https://api.githubcopilot.com/mcp"
    bearer_token = "xxx"
    
  15. 31 remaining items

  16. added 2 commits that reference this issue on Nov 10, 2025
    b7a9f01
    32c23ea
  17. added 2 commits that reference this issue on Nov 14, 2025
    ec1b2a1
    f1604d2
  18. added 2 commits that reference this issue on Dec 2, 2025
    50fc825
    dce2219
  19. dmonterde commented on Jan 19, 2026

    @dmonterde

    Ubuntu 24.04
    codex-cli 0.87.0

    Hi guys, i'm here to confirm that on my system the mcp for directus framework stopped working, the method working for me was the one using mcp-remote, in my case i need to replace the ~/config.toml as follows:

    [mcp_servers.directus-tpo-dev]
    enabled = true
    command = "npx"
    args = [
    	"-y",
    	"mcp-remote@latest",
    	"https://directus.url/mcp",
    	"--header",
    	"Authorization: Bearer ${DIRECTUS_TOKEN}"
    ]
    env = { DIRECTUS_TOKEN = "THE_TOKEN" }
    
  20. etraut-openai commented on Jan 19, 2026

    @etraut-openai
    Contributor

    @dmonterde, thanks for posting. This issue was closed back in October. If you're seeing a related issue, it's probably not the same problem. Could you please open a new issue and provide details? It would be helpful if you used the /feedback slash command after reproing the problem. That way, we'll have access to your logs and session details.

    You mentioned that it "stopped working". Does that mean that it was working on a previous version of Codex CLI? If so, do you happen to know the last version that worked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugmcp

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions