# MCP-Bastion

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

- Weekly downloads: 527
- GitHub stars: 7
- Health: active
- Repository: https://github.com/vaquarkhan/mcp-bastion
- Registry names: io.github.vaquarkhan/mcp-bastion
- Categories: Dev tools & GitHub, Cloud & infrastructure
- Snapshot: 2026-10-27

## Install

```sh
uvx mcp-bastion-python
```

```json
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
```

Source: https://mcpmorning.com/mcp/vaquarkhan-mcp-bastion/
