Skip to content
Grok

safe fetch for Grok

io.github.sanoy24/safe-fetch

MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.

client:Grok transport:stdio runtime:npm

Install safe fetch in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "safe-fetch": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "safe-fetch-mcp-server"
      ]
    }
  }
}

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

safe fetch in other clients