macOS: official YNAB MCP completes OAuth login, then transport closes during initialized notification

Open
#64,239 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
backend, devtools

Research direction

Start by comparing MCP initialization and transport handling with the related issue #21903, then trace where the client sends the initialized notification and handles a closed channel. The report does not identify a code path or test, and the cause is unknown; reproduce the OAuth login and startup sequence, then add a regression test for successful initialization and tool discovery.

Written by the indexing model from the issue text.

Description

bug CLI connectivity mcp

Environment

macOS 27.2.1, ChatGPT desktop 26.1120.50957, bundled Codex CLI 0.171.0-alpha.13.2. Official YNAB Streamable HTTP server at https://api.ynab.com/mcp.

Steps to reproduce

  1. Register the server with codex mcp add ynab --url https://api.ynab.com/mcp.
  2. Run codex mcp login ynab and authorize in the browser. Terminal prints Successfully logged in to MCP server 'ynab'.
  3. Fully quit the desktop app, reopen it, start a new chat, and request a read-only transaction lookup through YNAB MCP.

Expected

The server finishes initialization and exposes its transaction tools.

Actual

No YNAB tools become available. A resources/list attempt in the chat returned the following error (verbose transport type omitted):

resources/list failed: failed to get client: MCP startup failed: handshaking with MCP server failed: Send message error Transport […] error: Transport channel closed, when send initialized notification

Reproduced November 26, 2026 (Pacific time). The server was registered and enabled. The error was visible in the chat tool result. A search of the dated desktop log folder did not find the same handshake error. In-product feedback has been submitted and OpenAI Support has the session ID privately.

Possibly related: #21903 reports the same initialization-stage error with another server. The underlying cause here is unknown.

Dominant language
Rust
Stars
136k
Forks
21.6k
Avg merge
1m
Merged PRs (30d)
997

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.