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

Aperta
#64,239 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend, devtools

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
136k
Fork
21.6k
Merge medio
1m
PR unite (30g)
997

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openai/codex

Tutte le issue di openai/codex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.