← Index

MCP-Bastion

io.github.vaquarkhan/mcp-bastion·v1.0.11·Security
Quality Score
87
/100

Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-bastion/core"
      ]
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-bastion/core"
      ]
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @mcp-bastion/core
Claude Desktop (uvx)
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
§03  MCP Quality Score  ·  methodology
freshness
22
completeness
15
installability
25
documentation
15
stability
10
§04  Alternatives in Security