Skip to content
Cursor

MCP Shield for Cursor

io.github.sophiacave/mcp-shield

Security scanner for MCP servers. SSRF, path traversal, injection, auth, secrets. Grade A-F.

client:Cursor transport:stdio runtime:npm

Install MCP Shield in Cursor

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

{
  "mcpServers": {
    "mcp-shield": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sophiacave/mcp-shield"
      ]
    }
  }
}

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

MCP Shield in other clients