Custom OAuth MCP connector: intermittent 'Couldn't connect'/'Couldn't reach' errors despite server-side OAuth + protocol succeeding every time

Author: hoandc88Created Sep 4, 2026Updated Sep 13, 2026
Labelsbug

What's broken?

The spec defines behavior that doesn't work in practice

Where in the spec or docs?

https://smartchart.vn/api/smartchart-mcp

What should happen?

Server URL: https://smartchart.vn/api/smartchart-mcp Mô tả: OAuth hoàn tất đúng (register → authorize → login → token đều 200), nhưng Claude báo lỗi kết nối/xác thực thất bại theo nhiều kiểu khác nhau qua các lần thử. Danh sách reference ID đã gặp: ofid_cc320028b348b481, ofid_4ef052c543991d7c, ofid_b6f90f4b5d18ce85 Nền tảng: Claude web (trình duyệt) trên máy tính. Ghi chú: cùng token, dùng qua Claude Code (CLI) thì kết nối ✔ Connected ngay lập tức không lỗi — chứng minh server/token đúng.

What actually happens?

Server URL: https://smartchart.vn/api/smartchart-mcp Mô tả: OAuth hoàn tất đúng (register → authorize → login → token đều 200), nhưng Claude báo lỗi kết nối/xác thực thất bại theo nhiều kiểu khác nhau qua các lần thử. Danh sách reference ID đã gặp: ofid_cc320028b348b481, ofid_4ef052c543991d7c, ofid_b6f90f4b5d18ce85 Nền tảng: Claude web (trình duyệt) trên máy tính. Ghi chú: cùng token, dùng qua Claude Code (CLI) thì kết nối ✔ Connected ngay lập tức không lỗi — chứng minh server/token đúng.

Anything else?

No response

Source: modelcontextprotocol/modelcontextprotocol