-
Notifications
You must be signed in to change notification settings - Fork 830
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
How to configure windows filesystem? #75
Comments
Solution for MCP Servers Connection Issues with NVM/NPMBackgroundThis solution is inspired by and builds upon the workaround discussed in Issue #64. While the original solution was for macOS, this implementation is specifically for Windows systems using NVM (Node Version Manager). ProblemWhen using NVM or standard Node.js installation, the default configuration using Solution OverviewThe solution involves:
Step-by-Step Guide1. Locate Node.js and npm pathsOpen Command Prompt (CMD) as administrator and run: where node This will show your Node.js executable path. Example output:
Then find your global npm packages location: npm root -g Example output:
2. Install Required Packages GloballyRun these commands in CMD: npm install -g @modelcontextprotocol/server-filesystem
npm install -g @modelcontextprotocol/server-github
npm install -g @modelcontextprotocol/server-memory
npm install -g @modelcontextprotocol/server-puppeteer
npm install -g @modelcontextprotocol/server-brave-search
npm install -g @modelcontextprotocol/server-google-maps
npm install -g @modelcontextprotocol/server-postgres 3. Verify InstallationsCheck each package installation: npm list -g @modelcontextprotocol/server-filesystem
npm list -g @modelcontextprotocol/server-github
npm list -g @modelcontextprotocol/server-memory
npm list -g @modelcontextprotocol/server-puppeteer
npm list -g @modelcontextprotocol/server-brave-search
npm list -g @modelcontextprotocol/server-google-maps
npm list -g @modelcontextprotocol/server-postgres Expected output format:
4. Update Configuration FileModify your {
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"D:\\github_repository\\test.db"
]
},
"filesystem": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\Program\\nvm\\node_modules\\@modelcontextprotocol\\server-filesystem\\dist\\index.js",
"D:\\github_repository",
"D:\\github_repository\\image-generator"
]
},
"github": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\Program\\nvm\\node_modules\\@modelcontextprotocol\\server-github\\dist\\index.js"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": ""
}
},
"postgres": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\Program\\nvm\\node_modules\\@modelcontextprotocol\\server-postgres\\dist\\index.js",
"postgresql://localhost/mydb"
]
},
"memory": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\Program\\nvm\\node_modules\\@modelcontextprotocol\\server-memory\\dist\\index.js"
]
},
"puppeteer": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\Program\\nvm\\node_modules\\@modelcontextprotocol\\server-puppeteer\\dist\\index.js"
]
},
"brave-search": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\Program\\nvm\\node_modules\\@modelcontextprotocol\\server-brave-search\\dist\\index.js"
],
"env": {
"BRAVE_API_KEY": ""
}
},
"google-maps": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\Program\\nvm\\node_modules\\@modelcontextprotocol\\server-google-maps\\dist\\index.js"
],
"env": {
"GOOGLE_MAPS_API_KEY": ""
}
},
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
]
}
},
"globalShortcut": "Ctrl+Q"
} 5. Important Notes
6. Apply Changes
VerificationAfter restart, all MCP servers should connect successfully. The TroubleshootingIf you encounter issues:
This solution has been tested on Windows 11 (Build 22631.4460) with Node.js managed by NVM. |
It works, good job! Thx! |
@TristanLib |
@RamK777-stack Same for me too |
I am a user who subscribes to Pro, and I don't know what the free version supports. I took a screenshot of my interface, and you can see that I can switch to the haiku model. Before talking to Claude, you can see the red box on the right, where all the supported MCP functions are. If you can see these, it should be normal. |
worked!!! |
Hi All, all the mcp tools seem to be working fine on windows but i am having issues with the mcp gdrive server: this is my set up"
Require stack:
this is the error i get when i try to auth. help/advice on fixing, please? |
@tagoraiinc Please open a new issue and we can debug. |
@tagoraiinc Are you using paid version or free? |
@RamK777-stack That's not relevant. |
I think you should use double '\' base on the example
|
{ |
I've success using filesystem on free account.
Run as Administrator seems not necessary? |
{ I went through quite a bit of troubleshooting and came out with this solution. I just directly point the server to the CMD file, which can be found in the npm folder. Here is the ...\npm folder content: |
This is my config file:
The claude app can connect sqlite,
however, the file system cannot be connected, and the MCP console displays the following information:
How to configure windows filesystem?
The text was updated successfully, but these errors were encountered: