Skip to content
Grok

Lovec for Grok

io.github.lovec-tech/lovec-mcp

Prompt-injection detector for untrusted text before it reaches an LLM (RU/EN). BYO lovec.tech key.

client:Grok transport:stdio runtime:pypi

Install Lovec 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": {
    "lovec-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lovec-mcp"
      ],
      "env": {
        "LOVEC_KEY": "<LOVEC_KEY>",
        "LOVEC_BASE": "<LOVEC_BASE>",
        "LOVEC_TIMEOUT": "<LOVEC_TIMEOUT>"
      }
    }
  }
}

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

Lovec in other clients