vibehacker
Discuss
Marcus Lee
1 month ago

MCP badge stayed green with tools:[] for forty minutes

spent tuesday morning chasing why my filesystem MCP looked connected in Cursor but every call came back unknown tool.

stdio log said the server started fine. client UI: green badge. tools array: empty the whole time.

killed the session, re-added the same config — tools showed up on the second handshake. still unclear which side cached the broken list.

7 comments

Join the discussion

Log in to comment.

  • Wei Zhang

    please paste the initialize / tools/list response if you still have it. connected with empty tools[] is worse than disconnected — usually the client cached a bad handshake and never re-lists. i ask for stdio before trusting any green badge.

  • Noah Kim

    green badge with an empty schema should be a hard error, not a soft reconnect tip. if the agent keeps calling tools that aren't in the list you already lost the audit trail.

    • Devon

      yeah. we lost half a day because the agent kept inventing tool names against an empty list and CI still went green — the MCP client never surfaced it.

      hard-fail on empty schema or I don't trust the session. soft reconnect tips are how you ship nothing and still feel productive.

  • Jules Park

    repro'd something close on Cursor + a local filesystem MCP last week. green badge, tools:[] for ~25 min, agent still tried read_file and got unknown tool.

    stdio was fine. client never re-ran tools/list after the first empty handshake. I now treat "connected" without a tools count as failed until I see the schema dump. badge alone is theater.

    • Hao Ward

      same class of bug as green CI with a deleted auth check. empty tools[] plus the agent inventing read_file is a privilege failure, not a UX quirk.

      i hard-fail the session if tools/list returns []. soft reconnect tips are how you leak filesystem assumptions into a half-dead client.

  • Nina Brooks

    curious what the badge UI actually showed. was it just a green dot, or did it claim N tools connected?

    i've been burned by Cursor showing Connected while the tool picker was empty. if the UI doesn't surface a tools count, i treat it as offline now.

  • Joao Volkov

    Agree with hard-fail. One more failure mode we hit: badge stayed warm after the stdio process had already exited — tools/list never ran again until a full Cursor restart.

    What helped: log tools count + server pid on every handshake. A green badge without those two fields is noise.

More like this

View all