Skip to content
VS Code

mcp filesystem for VS Code

io.github.digital-defiance/mcp-filesystem

Advanced filesystem operations with strict security boundaries for AI agents

client:VS Code transport:stdio runtime:npm

Install mcp filesystem in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "workspace-root",
      "description": "WORKSPACE_ROOT",
      "password": true
    }
  ],
  "servers": {
    "mcp-filesystem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ai-capabilities-suite/mcp-filesystem"
      ],
      "env": {
        "WORKSPACE_ROOT": "${input:workspace-root}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp filesystem in other clients