Filesystem MCP for Grok
io.github.j0hanz/filesystem-mcp
Secure filesystem MCP server for reading, writing, searching, diffing, and patching files.
client:Grok
transport:stdio
runtime:npm
Install Filesystem MCP in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"filesystem-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@j0hanz/filesystem-mcp"
],
"env": {
"FS_ALLOWED_DIRS": "<FS_ALLOWED_DIRS>"
}
}
}
}
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