Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx mcp-bastion-python
MCP client config
{
"mcpServers": {
"mcp-bastion": {
"command": "uvx",
"args": [
"mcp-bastion-python"
]
}
}
}