session starts up with an inscrutable MCP nastygram

Open 💬 1 comment Opened Apr 20, 2026 by RichMorin

What version of Codex CLI is running?

v0.122.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.3-codex medium

What platform is your computer?

Darwin 24.5.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

MCP client for codex_apps failed to start: MCP startup failed: handshaking
with MCP server failed: Send message error Transport
[rmcp::transport::worker::WorkerTransport<rmcp::transport::streamable_http_cli
ent::StreamableHttpClientWorker<codex_rmcp_client::rmcp_client::StreamableHttp
ResponseClient>>] error: Unexpected content type: Some("text/plain; body: {\n
\"error\": {\n \"message\": \"Provided authentication token is expired.
Please try signing in again.\",\n \"type\": null,\n \"code\":
\"token_expired\",\n \"param\": null\n },\n \"status\": 401\n}"), when
send initialize request

⚠ MCP startup incomplete (failed: codex_apps)

• Feedback uploaded. Please open an issue using the following URL:

https://github.com/openai/codex/issues/new?template=3-cli.yml&steps=Uploaded%20thread:%20019dad42-354a-76a0-8c82-b59d41085fb9

Or mention your thread ID 019dad42-354a-76a0-8c82-b59d41085fb9 in an existing
issue.

› codex --version

■ Your access token could not be refreshed because your refresh token was
already used. Please log out and sign in again.

What steps can reproduce the bug?

Uploaded thread: 019dad42-354a-76a0-8c82-b59d41085fb9

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗