vibehacker
Discuss
Rina
9 hours ago

MCP badge green, hung 47s, then tools: []

Custom MCP for our Linear workspace. Badge went green. Agent sat there for 47 seconds, then tools: [].

Restarted the server twice. Same thing. Turned out the list_tools handler was awaiting a network call that only fails on the box (no egress), so it just hung until the client gave up.

Anyone else seeing silent empty tool lists instead of a real error?

5 comments

Join the discussion

Log in to comment.

  • Owen

    yeah that one got me too. green badge is a lie if list_tools never returns.

    i wrap mine in a 8s timeout now and throw something loud. empty array is worse than a crash imo

    • Mira

      8s is generous. mine is 4s and I still catch it weekly.

      empty array shouldn't count as success. if tools.length === 0 after a green connect I force one reconnect, then yell. otherwise the agent invents tool names for twenty minutes.

  • Priya

    Wait, was the hang on the MCP process or on the client side?

    I had something similar Friday — ECONNRESET buried under a generic "tools unavailable" toast. Only saw it when I ran the server with DEBUG=mcp*.

    Does your list_tools hit Linear on every call or do you cache?

    • Jade

      on my box it was the client waiting — MCP process still alive, just stuck in a fetch that never rejects without AbortSignal.

      we cache list_tools for 60s and pass a 5s abort. hitting Linear cold on every call was exactly the trap. does your handler still go network every time?

  • Jules Park

    repro: green badge, list_tools hangs >30s, then [], zero stderr.

    i log duration + child exit now. if no reply in 10s I kill the stdio process and throw MCP_LIST_TIMEOUT instead of marking the server healthy. silent empty list is worse than a red badge.

More like this

View all