Closed as not planned
Description
Describe the bug
I'm trying to implement various MCP servers, including the filesystem server, the memory server, and the playwright server. However, I keep getting failures.
I've uploaded a screenshot of the errors I get in the app. In the dev tools console, I see:
Could not attach to MCP server filesystem: eE: MCP error -2: Request timed out
at https://claude.ai/_next/static/chunks/foo.js:1:4404
at r (https://claude.ai/_next/static/chunks/bar.js:15:2950)
(anonymous) @baz.js:18
This is my config.json content:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"@modelcontextprotocol/server-filesystem",
"/Users/myusername/code/"
]
},
"mcp-obsidian": {
"command": "uvx",
"args": ["mcp-obsidian"],
"env": {
"OBSIDIAN_API_KEY": "reallylongkey"
}
},
"@modelcontextprotocol-server-memory": {
"runtime": "node",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
},
"playwright": {
"command": "npx",
"args": ["-y", "@automatalabs/mcp-server-playwright"]
}
}
}
Note: MCP Obsidian DOES work--the other three do not.
To Reproduce
Steps to reproduce the behavior:
- Set up config.json
- launch Claude desktop app
- Wait for error message to appear
Expected behavior
I expect to see something like this:
MCP Obsidian Server running on stdio
Allowed directories: [ '/users/myusername/code/pathtovault/vaultname' ]
Logs
This is what appears in the file /Users/myusername/Library/Logs/Claude/mcp.log
:
2024-12-08T08:23:21.820Z [info] Attempting to connect to MCP server filesystem...
2024-12-08T08:23:21.823Z [info] Attempting to connect to MCP server mcp-obsidian...
2024-12-08T08:23:21.823Z [info] Attempting to connect to MCP server @modelcontextprotocol-server-memory...
2024-12-08T08:23:21.824Z [info] Attempting to connect to MCP server playwright...
2024-12-08T08:23:21.843Z [info] Connected to MCP server mcp-obsidian!
2024-12-08T08:23:21.845Z [info] Connected to MCP server filesystem!
2024-12-08T08:23:21.852Z [info] Connected to MCP server @modelcontextprotocol-server-memory!
2024-12-08T08:23:21.853Z [info] Connected to MCP server playwright!
Additional context
Like I said, it's working for obsidian, not for the other 3. Also, I AM able to connect to the filesystem server using MCP Inspector: