MCP-Bastion
Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.
Install
PyPIstdio
uvx mcp-bastion-python Client config (Claude Desktop, Cursor, Windsurf and most MCP clients)
{
"mcpServers": {
"io-github-vaquarkhan-mcp-bastion": {
"command": "uvx",
"args": [
"mcp-bastion-python"
]
}
}
} Source: official MCP Registry record · registry name io.github.vaquarkhan/mcp-bastion · published 2026-08-16 · updated 2026-08-16. Not an endorsement; review the code before connecting it to anything sensitive.