
Windows MCP 服务器设置与 Mac 不同,要求使用绝对文件路径和显式 node.exe 引用,而非 npx 命令。
概览
Windows MCP 服务器设置与 Mac 不同,要求使用绝对文件路径和显式 node.exe 引用,而非 npx 命令。安装时需要验证 npm,并将包全局安装到 AppData\Roaming\npm\node_modules 目录。运行中的服务器需要为 node.exe 和服务器的 index.js 文件都设置完整路径。 README.md 先放文件,剧本稍后再写...... 本指南假设你已经在Windows 10上进行了基础的MCP安装。由运行MCP服务器的Claude桌面应用编写的指南。 我将利用序列思维分析并制作一份MCP序列思维服务器的全面指南。 基于本次分析,以下是一份关于在Windows上安装MCP服务器的全面指南: 1. 以管理员身份打开命令提示符 2.验证npm安装:3. 检查npm的全局安装目录:注意:应指向C:\Users\ \AppData\Roaming\npm 1. 检查软件包是否已安装:2. 定位节点。
概述(AI 翻译)
Windows MCP 服务器设置与 Mac 不同,要求使用绝对文件路径和显式 node.exe 引用,而非 npx 命令。安装时需要验证 npm,并将包全局安装到 AppData\Roaming\npm\node_modules 目录。运行中的服务器需要为 node.exe 和服务器的 index.js 文件都设置完整路径。
README.md 先放文件,剧本稍后再写…
=-=-=-=-=-
本指南假设你已经在Windows 10上进行了基础的MCP安装。由运行MCP服务器的Claude桌面应用编写的指南。
全面 Windows MCP 服务器安装验证指南
我将利用序列思维分析并制作一份MCP序列思维服务器的全面指南。
基于本次分析,以下是一份关于在Windows上安装MCP服务器的全面指南:
先决条件检查
-
以管理员身份打开命令提示符
-
验证 NPM 安装:
-
查看 npm 的全局安装目录:
注意:应指向C:\Users\ \AppData\Roaming\npm
安装状态检查
-
检查软件包是否已经安装:
-
查找Node.js可执行文件:
注:通常在C:\Program Files\nodejs\node.exe
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Windows-MCP-Server-Installation-Verification-Guide
Windows MCP server setup differs from Mac by requiring absolute file paths and explicit node.exe references instead of npx commands. The installation requires verifying npm and installing packages globally to the AppData\Roaming\npm\node_modules directory. Running servers needs complete paths for both node.exe and the server’s index.js file.
README.md file for now, script to come later…
=-=-=-=-=-
This guide assumes you have performed a basic MCP install on Windows 10. Guide created by Claude Desktop app running MCP servers.
Comprehensive Windows MCP Server Installation Verification Guide
I’ll use sequential thinking to analyze and create a comprehensive guide to the MCP sequential-thinking server.
Based on this analysis, here’s a comprehensive guide for verifying MCP server installation on Windows:
Prerequisites Check
- Open Command Prompt as administrator
- Verify npm installation:
npm --version - Check npm’s global installation directory:
Note: Should point tonpm config get prefixC:\Users\\AppData\Roaming\npm
Installation Status Check
- Check if package is already installed:
npm list -g @modelcontextprotocol/server-sequential-thinking - Locate Node.js executable:
Note: Usually atwhere nodeC:\Program Files\nodejs\node.exe
Package Installation
- If not installed, run:
npm install -g @modelcontextprotocol/server-sequential-thinking - Verify successful installation:
npm list -g @modelcontextprotocol/server-sequential-thinking
Directory Structure Verification
- Navigate to npm modules directory:
cd %APPDATA%\npm\node_modules\@modelcontextprotocol - Verify folder structure:
Expected structure:dir cd server-sequential-thinking dir cd dist dir@modelcontextprotocol\server-sequential-thinking\dist\index.js
Execution Test
- Run server using absolute path:
node "%APPDATA%\npm\node_modules\@modelcontextprotocol\server-sequential-thinking\dist\index.js" - Look for success message: “Sequential Thinking MCP Server running on stdio”
Troubleshooting Guide
-
If
npm config get prefixshows unexpected location:- Reset npm prefix:
npm config set prefix "%APPDATA%\npm"
- Reset npm prefix:
-
If
MODULE_NOT_FOUNDerror:- Verify installation:
npm install -g @modelcontextprotocol/server-sequential-thinking - Check file paths match exactly
- Verify installation:
-
If node.exe not found:
- Verify Node.js installation
- Add to PATH if needed
-
If directory structure is incomplete:
- Uninstall package:
npm uninstall -g @modelcontextprotocol/server-sequential-thinking - Clear npm cache:
npm cache clean --force - Reinstall package
- Uninstall package:
Important Windows-Specific Notes
安装
npx -y @modelcontextprotocol/server-sequential-thinking配置
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}