Filed under mcp

5 entries so far. All topics or the field guide.

  1. No. 28Claude Code MCP Failed to Connect: Read the Error, Then Fix It

    Fix a Claude Code MCP server stuck on Failed to connect: read the detail in claude mcp list, then fix paths, env vars, timeouts, approvals and URLs.

  2. No. 26Stateless MCP Server: Keep State With Explicit Handles

    MCP 2026-07-28 removed sessions and Mcp-Session-Id. Keep state across tool calls with server-minted handles: tested Python code, auth, expiry and errors.

  3. No. 23MCP error -32000: Connection closed: Fix stdio Servers That Exit

    Fix MCP error -32000 Connection closed: find why a stdio server exits at startup, from import errors and missing env vars to relative paths and stdout.

  4. No. 19spawn npx ENOENT: MCP Server Not Showing Up in Claude Desktop

    Fix a local MCP server that won't show up in Claude Desktop: read the logs, fix spawn npx ENOENT with absolute paths and env PATH, and handle Windows.

  5. No. 9Build an MCP Server in Python: A Working 60-Line Example

    Build an MCP server in Python with the official SDK: a 60-line docs search server with tools, a resource and a prompt, plus tests and Claude Code setup.