Skip to content
Grok

Filesystem for Grok

io.github.modelcontextprotocol/server-filesystem

Reference server for local file operations, scoped to directories you pass as arguments. Read, write, edit, search and inspect files and directory trees.

client:Grok transport:stdio runtime:npm tools:11

Install Filesystem in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "server-filesystem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

What Grok can do once it is connected

Filesystem in other clients