$ timeahead_
mcp/modelcontextprotocolserver-filesystem/install/vscode

install @modelcontextprotocol/server-filesystem on VS Code

Requires Node 18+ on your system so npx can fetch the package on first run. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register @modelcontextprotocol/server-filesystem.

paste into
workspace: .vscode/mcp.json (project root — committed with the repo)
user: ~/.vscode/mcp.json
{
  "servers": {
    "modelcontextprotocolserver-filesystem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ]
    }
  }
}
then: VS Code picks up the change. Run 'MCP: List Servers' from the command palette to verify.
other clients
Claude DesktopCursorWindsurfClaude Code
← back to @modelcontextprotocol/server-filesystem