Cover image
Try Now
2025-04-04

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

3 years

Works with Finder

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

相关推荐

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

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

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

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

  • Lists Tailwind CSS classes in monospaced font

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

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

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

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

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

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

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

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    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.