Windows-MCP-Server-Installation-Verification-Guide
镜像
前提条件
- Windows 10 操作系统
- Node.js 已安装
安装步骤
-
验证 npm 安装
npm --version
-
检查 npm 全局目录
npm config get prefix
应指向
C:\Users\<用户名>\AppData\Roaming\npm
-
安装服务器包
npm install -g @modelcontextprotocol/server-sequential-thinking
-
验证安装
npm list -g @modelcontextprotocol/server-sequential-thinking
运行服务器
使用绝对路径运行服务器:
node "%APPDATA%\npm\node_modules\@modelcontextprotocol\server-sequential-thinking\dist\index.js"
成功消息:Sequential Thinking MCP Server running on stdio
Windows 特有配置
在 Claude 的配置文件中使用:
{
"mcpServers": {
"sequential-thinking": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Users\\用户名\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-sequential-thinking\\dist\\index.js"
]
}
}
}
故障排除
- 路径问题:始终使用完整路径并使用双反斜杠(
\\
) - 权限问题:以管理员身份运行命令提示符
- 找不到模块:确认安装成功并检查文件路径
注意事项
Windows 配置与 Mac 不同,需要:
- 绝对文件路径
- 显式的 node.exe 引用
- 注意 Windows 路径格式