An agent cannot connect or cannot see tools
Token format, the permission-aware tool list, and why a tool can vanish.
The client reports 401
Authorization: Bearer mm_pat_..., whole. A personal access token has four parts - mm_pat_, the token id, an underscore, and the secret - and the secret itself can contain underscores, so splitting on _ and taking the last piece truncates it. Copy the value verbatim.
tools/list comes back short
tools/list comes back shortA tool is missing even though the scope is granted
The client connects but every call times out
/api/mcp, not /mcp. Locally that is http://localhost:4591/api/mcp.