MCP.md 397 B

在wsl运行mcp配置,注意command 是wsl,如果wsl使用的是windows环境的那么会报错 必须先检查下运行环境是否在wsl,检查指令which node

{
  "mcpServers": {
    "filesystem": {
      "command": "wsl",
      "args": [
        "npx",
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/mnt/d/Github/snake_game"
      ]
    }
  }
}