Skip to content
Cursor

mcpshield for Cursor

io.github.mcpshield-dev/mcpshield

Security scanner for MCP servers - detects tool poisoning and injection

client:Cursor transport:stdio runtime:npm

Install mcpshield in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "mcpshield": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcpshield-cli"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcpshield in other clients