MCP cover image
See in Github
2025-04-04

Windows Systems上安装和配置模型上下文协议(MCP)服务器的综合工具包

1

Github Watches

0

Github Forks

0

Github Stars

Claude MCP Get

A comprehensive toolkit for installing and configuring Model Context Protocol (MCP) servers with Claude Desktop on Windows systems.

Overview

This repository contains scripts, configurations, and documentation to help Windows users successfully install and use Model Context Protocol (MCP) servers with Claude Desktop. It focuses on overcoming the common issues that prevent MCP connections on Windows, particularly problems with npx commands, path resolution, and multiple Node.js installations.

Key Features

  • Diagnostic tools to identify Node.js installations
  • Installation scripts that avoid common pitfalls
  • Configuration templates with absolute paths
  • Troubleshooting guides for "Could not attach to MCP server" errors
  • Solutions for NVM and Node.js path issues

Quick Start

  1. Clone this repository
  2. Run find-nodejs.bat to identify your Node.js installations
  3. Run cleanup-nodejs.bat if you have multiple installations
  4. Run install-mcp.bat to install the MCP server of your choice
  5. Follow the configuration instructions displayed

Common Windows Issues & Solutions

NPX Connection Failures

The most common issue on Windows is MCP servers failing to connect when using npx commands in claude_desktop_config.json. This is due to how Claude Desktop launches subprocesses on Windows.

Solution: Use direct node execution with absolute paths, like:

{
  "mcpServers": {
    "server-name": {
      "command": "C:\\Program Files\\nodejs\\node.exe",
      "args": [
        "C:\\Users\\Username\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-name\\dist\\index.js",
        "parameter1", "parameter2"
      ],
      "env": {
        "APPDATA": "C:\\Users\\Username\\AppData\\Roaming\\",
        "PATH": "C:\\Program Files\\nodejs",
        "NODE_PATH": "C:\\Users\\Username\\AppData\\Roaming\\npm\\node_modules"
      }
    }
  }
}

Multiple Node.js Installations

Having multiple Node.js installations (especially with NVM) causes path resolution issues.

Solution: Use the standard Node.js installation in the default location and specify absolute paths.

Task Manager Restart Required

Simply closing and reopening Claude Desktop often doesn't fully reload configurations.

Solution: End all Claude Desktop processes in Task Manager before restarting.

Documentation

Scripts

  • find-nodejs.bat - Identifies all Node.js installations on your system
  • cleanup-nodejs.bat - Cleans npm cache and fixes common installation issues
  • install-mcp.bat - Installs MCP servers globally with proper paths
  • run-server.bat - Runs MCP servers for testing outside Claude Desktop

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License

Acknowledgments

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • open-webui
  • 用户友好的AI接口(支持Ollama,OpenAi API,...)

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

    Reviews

    1 (1)
    Avatar
    user_Z3keQoWn
    2025-04-16

    As a dedicated user of mcp applications, I must say that the claude-mcp-get by PWereh is incredibly efficient and user-friendly. The seamless integration and powerful functionalities have significantly enhanced my workflow. I highly recommend checking it out on GitHub at https://github.com/PWereh/claude-mcp-get. This tool stands out for its robustness and the meticulous attention to detail by the developer.