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

未关闭
#64,239 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
backend, devtools

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Rust
星标
136k
派生
21.6k
平均合并
1 分钟
30 天内合并 PR
997

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openai/codex 的其他 Issue

查看 openai/codex 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。