# Install Filesystem MCP Server in Google Antigravity

Source: https://github.com/modelcontextprotocol/servers/tree/main/src/filesystem
Listing: https://www.antigravityskills.org/skill/filesystem-mcp-server
Safety review (2026-10-13): Local-only file server confined to the directories you allow, with symlink checks and no network code; it can overwrite and move files inside them.

## Rules for the agent
- Before running anything, tell the user what you will download and whether it contains scripts, and ask them to confirm.
- Ask the user for any API keys, tokens, URLs or paths the config needs. Never invent them or print them back.
- Do not run other commands from the source repository unless the user asks.

## Steps
1. Make sure Node.js is installed

```bash
node --version
```

   The server runs through npx, which comes with Node.js. Docker also works (see the README).
2. Open the Antigravity MCP config
   Global: ~/.gemini/config/mcp_config.json. This project only: .agents/mcp_config.json. In Antigravity 2.0 you can also use Settings > Customizations > Add MCP.
3. Add the server under mcpServers

```json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/your/project"
      ]
    }
  }
}
```

   Same command and args the README documents for Claude Desktop, with your own folder in place of /path/to/your/project. List only the folders the agent really needs; add more paths as extra args.
4. Check that it loaded
   Open Settings > Customizations > Installed MCP Servers; filesystem should be listed and switched on. Then ask the agent to call list_allowed_directories.

Note: MCP servers are not skills: they do not go in .agents/skills/. The Filesystem server's README does not mention Antigravity; this config uses its documented stdio command in Antigravity's mcpServers format.

Done when the server is listed and enabled under Settings → Customizations → Installed MCP Servers.
