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

Đang mở
#64,239 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend, devtools

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
136k
Fork
21.6k
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
997

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openai/codex

Tất cả issue của openai/codex

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.