Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout in client while connecting to MCP server on Windows #79

Open
michaelfromyeg opened this issue Nov 27, 2024 · 1 comment
Open

Comments

@michaelfromyeg
Copy link

I see

693-110d9774cbce8f0f.js:18 Could not attach to MCP server sqlite: eE: MCP error -2: Request timed out
693-110d9774cbce8f0f.js:18 Could not attach to MCP server filesystem: eE: MCP error -2: Request timed out

Despite MCP logs with

2024-11-27T07:00:20.484Z [info] Attempting to connect to MCP server sqlite...
2024-11-27T07:00:20.487Z [info] Attempting to connect to MCP server filesystem...
2024-11-27T07:00:20.507Z [info] Connected to MCP server sqlite!
2024-11-27T07:00:20.514Z [info] Connected to MCP server filesystem!

I ran the inspector fine but that didn't really add much clarity. Seems like a client issue? Posting for visibility in case other folks are seeing the same thing.

@michaelfromyeg
Copy link
Author

I can successfully call "list tools" from the inspector so everything seems OK on the server end! Here's my setup for the sqlite tool

Here's my config. At C:\Users\username\AppData\Roaming\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "sqlite": {
      "command": "C:\\ProgramData\\chocolatey\\bin\\uvx.exe",
      "args": [
        "mcp-server-sqlite",
        "--db-path",
        "C:\\Users\\username\\test.db"
      ]
    },
    "filesystem": {
      "command": "C:\\Program Files\\nodejs\\node.exe",
      "args": [
        "C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-filesystem\\dist\\index.js",
        "~"
      ]
    }
  }
}

The servers show up in the app fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant