[Remote MCP] Error when trying to log in - Error: Metadata error:
Resolved 💬 6 comments Opened Oct 30, 2025 by MrAshRhodes Closed Mar 29, 2026
What version of Codex is running?
codex-cli 0.50.0
What subscription do you have?
api key
Which model were you using?
gpt-5
What platform is your computer?
Darwin 25.1.0 arm64 arm
What issue are you seeing?
Ive set my config to use a remote mcp with oauth.
I have set - experimental_use_rmcp_client = true
[mcp_servers.remote]
type = "http"
url = "https://xxxx.com/mcp/default"
when using codex mcp login remote
Error: Metadata error: Failed to parse metadata: error decoding response body
The mcp server and oauth work in other applications i.e copilot, claude etc
What steps can reproduce the bug?
set config for a remote server
run codex mcp login $server_name
What is the expected behavior?
directed to an oauth login page for authentication.
Additional information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗