windows下安装mcp servers
但在windows中这样会报错,最好使用node的本地路径,args为mcp server的本地安装路径。
·
以sequential-thinking为例
macos下安装就像github readme中那样安装即可:
{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}
但在windows中这样会报错,最好使用node的本地路径,args为mcp server的本地安装路径
{
"mcpServers": {
"sequential-thinking": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"C:\\Users\\Username\\AppData\\Roaming\\npm\\node_modules\\@modelcontextprotocol\\server-sequential-thinking\\dist\\index.js"
]
}
}
}
更多推荐




所有评论(0)