Skip to content
Grok

GEO Shield for Grok

io.github.krishnagauss/geo-shield

Detects hidden AI prompt injection, AI recommendation poisoning, sneaky redirects and hidden spam.

client:Grok transport:stdio runtime:npm

Install GEO Shield in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "geo-shield": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "geo-shield-mcp"
      ],
      "env": {
        "GEO_SHIELD_DB_PATH": "<GEO_SHIELD_DB_PATH>",
        "GEO_SHIELD_RETENTION_DAYS": "<GEO_SHIELD_RETENTION_DAYS>",
        "GEO_SHIELD_ALLOWED_PORTS": "<GEO_SHIELD_ALLOWED_PORTS>"
      }
    }
  }
}

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

GEO Shield in other clients