Skip to content

Cannot use Streamable HTTP MCP on Windows codex CLI (missing field command error) #4496

Closed

Description

@bobobo-7

What version of Codex is running?

codex-cli 0.42.0

Which model were you using?

gpt-5-codex

What platform is your computer?

windows11

What steps can reproduce the bug?

When trying to configure codex CLI to use a Streamable HTTP MCP server on Windows, I encounter a configuration loading error.
Config source: config.md example

experimental_use_rmcp_client = true
[mcp_servers.figma]
url = "http://127.0.0.1:3845/mcp"

When I start the codex CLI, Codex fails to load configuration with the following error:
Error loading configuration: missing field command in mcp_servers.figma

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

No response

Activity

  1. realyn commented on Oct 1, 2025

    @realyn

    same question

  2. ignatremizov commented on Oct 1, 2025

    @ignatremizov

    Same here

    experimental_use_rmcp_client = true
    [mcp_servers.github]
    url  = "https://api.githubcopilot.com/mcp/"
    bearer_token = "ghp_ABC..."
    startup_timeout_sec = 20
    tool_timeout_sec = 90
    
    $ codex
    Error loading configuration: missing field `command`
    in `mcp_servers.github`
    
  3. zpv commented on Oct 1, 2025

    @zpv

    Y'all need to use the alpha builds of Codex. 0.42.0 does not have the experimental client.

    npm install -g @openai/codex@0.43.0-alpha.10

  4. r-sniper commented on Oct 3, 2025

    @r-sniper

    Y'all need to use the alpha builds of Codex. 0.42.0 does not have the experimental client.

    npm install -g @openai/codex@0.43.0-alpha.10

    But its nowhere mentioned in doc, its only available in alpha release

    https://github.com/openai/codex/blob/main/docs/config.md#streamable-http

  5. r-sniper commented on Oct 3, 2025

    @r-sniper

    Also, I switched to >_ OpenAI Codex (v0.43.0-alpha.18)

    Now the error goes away, but it says,

    
    🔌  MCP Tools
    
      • No MCP tools available.
    
  6. jakeleventhal commented on Oct 3, 2025

    @jakeleventhal

    with 0.44.0 i still have issues
    when i run /mcp it says

      • Server: figma
        • URL: http://127.0.0.1:3845/mcp
        • Tools: (none)
    
    projects = { "/Users/jakeleventhal/Developer/rip-technologies" = { trust_level = "trusted" } }
    model = "gpt-5-codex"
    model_reasoning_effort = "high"
    
    [mcp_servers.linear]
    command = "npx"
    args = ["-y", "mcp-remote", "https://mcp.linear.app/sse"]
    
    experimental_use_rmcp_client = true
    [mcp_servers.figma]
    url = "http://127.0.0.1:3845/mcp"

    cant get it to work with the remote figma mcp either

  7. hkfires commented on Oct 5, 2025

    @hkfires

    with 0.44.0 i still have issues when i run /mcp it says

      • Server: figma
        • URL: http://127.0.0.1:3845/mcp
        • Tools: (none)
    

    projects = { "/Users/jakeleventhal/Developer/rip-technologies" = { trust_level = "trusted" } }
    model = "gpt-5-codex"
    model_reasoning_effort = "high"

    [mcp_servers.linear]
    command = "npx"
    args = ["-y", "mcp-remote", "https://mcp.linear.app/sse"]

    experimental_use_rmcp_client = true
    [mcp_servers.figma]
    url = "http://127.0.0.1:3845/mcp"
    cant get it to work with the remote figma mcp either

    You should move the experimental_use_rmcp_client = true to the top level, for example

    projects = { "/Users/jakeleventhal/Developer/rip-technologies" = { trust_level = "trusted" } }
    model = "gpt-5-codex"
    model_reasoning_effort = "high"
    experimental_use_rmcp_client = true
    
    [mcp_servers.linear]
    command = "npx"
    args = ["-y", "mcp-remote", "https://mcp.linear.app/sse"]
    
    [mcp_servers.figma]
    url = "http://127.0.0.1:3845/mcp"
    
  8. jakeleventhal commented on Oct 5, 2025

    @jakeleventhal

    great that worked @hkfires, now just waiting on the ability to auth (like with the remote figma MCP)

  9. gpeal commented on Oct 6, 2025

    @gpeal
    Contributor

    0.45.0-alpha.6 now supports streamable http with oauth. Run codex mcp login figma with the alpa or wait for the final release which should be out in the next day or two.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions