-
Notifications
You must be signed in to change notification settings - Fork 32
[Windows Compatibility] Claude desktop not detecting tools #15
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
Comments
When you refer to pc are you using Windows? I just got some feedbacks last week and got a PC Windows to test, and it doesn't work unfortunately.. There are some known issues reported from Claude Reddit and Cline (similarly Cursor) e.g., https://www.reddit.com/r/ClaudeAI/comments/1h1mmi8/tutorial_get_mcp_working_on_windows/, cline/cline#902 And even with the solutions listed above, the problem is that the SDK try to start new processes of other npx tools, and it failed on Windows because of npm env var issues, and execution policy issues, etc. and it's pretty hard to debug there. So far I worked whole weekend but didn't find any solution.. I will attach this issue to warning in readme first. The reason inspector works is that running it directly in powershell works fine, but once getting to different MCP client side it depends how MCP client run the script. But it should work on Mac/Linux. |
i tried this as well on windows doesnt work. i even ran it in docker and wont work right. is there an api endpoint for cloud? |
The npm pkg @metamcp/mcp-server-metamcp has to be running in unix based environments. Not only the app running in docker. I tried to fix it for windows but didn't figure out yet.. I am not really familiar with process management in Windows. If you don't give the pkg a api base url, it will defaut to https://api.metamcp.com for cloud. The cloud version is just hosting the metadata of configured MCPs but the proxy is running locally so your MCP can still have access to e.g., your local filesystem or your local database. |
From this issue from Cline on Windows you may also try to put this config on MetaMCP... as a temporary workaround "mcpServers": {
"filesystem": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Users\\<my user>\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-filesystem\\dist\\index.js",
"C:\\Users\\<my user>\\Projects"
]
},
"brave-search": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Users\\<my user>\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-brave-search\\dist\\index.js"
],
"env": {
"BRAVE_API_KEY": "<my API key>"
}
}
} |
For Windows I found a workaround to use Smithery to host MCPs in docker on cloud then use it. Steps:
Example config for Cline (which works, but still cannot get Cursor working, their client is weird) (and make sure you have network access to both http://api.metamcp.com and smithery.ai, because the MCPs are run on cloud, I am not sure localhost MetaMCP will work or not) {
"mcpServers": {
"MetaMCP": {
"command": "smithery",
"args": [
"run",
"@metatool-ai/mcp-server-metamcp",
"--config",
"{\"metamcpApiKey\":\"sk_mt_api_key\"}"
]
}
}
} |
Added this Smithery setup guide in this PR too #16 |
After the MCP official typescript SDK 1.8.0 release (https://github.com/modelcontextprotocol/typescript-sdk/releases/tag/1.8.0) the windows compatibility issue is resolved. Also check the official windows issue modelcontextprotocol/typescript-sdk#101 I recommend this command for setting up in Cursor Windows (still need to prefix cmd /c) or json config {
"mcpServers": {
"MetaMCP": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@metamcp/mcp-server-metamcp@latest"
],
"env": {
"METAMCP_API_KEY": "<apikey>"
}
}
}
} I will update relevant docs soon. Please comment if it works for you, appreciate it, or reopen the issue if this persists. |
Hi. Is this the correct config for Claude Desktop if I'm running on the same pc as the metatool-app? When I add this to Claude it sees the entry, but does not list any tools.
{ "mcpServers": { "MetaMCP": { "command": "npx", "args": ["-y", "@metamcp/mcp-server-metamcp@latest"], "env": { "METAMCP_API_KEY": "sk_mt_krMqxWr4RfrOoLxs4C4dZ7KDtE1Fqhg9JfI0sHmi8Q5uxcbEeaLt3ndYY0GMcmw8", "METAMCP_API_BASE_URL": "http://localhost:12005" } } } }
If I run the following from the same machine it connects and I can list the tools I configured in the app.
npx -y @modelcontextprotocol/inspector npx -y @metamcp/mcp-server-metamcp@latest -e METAMCP_API_KEY=sk_mt_krMqxWr4RfrOoLxs4C4dZ7KDtE1Fqhg9JfI0sHmi8Q5uxcbEeaLt3ndYY0GMcmw8 -e METAMCP_API_BASE_URL=http://10.10.10.158:12005
I've tried a few other clients trying to connect and it does the same thing as Claude, it sees the server, but no tools.
Thanks
The text was updated successfully, but these errors were encountered: