← All servers

MCP-Bastion

io.github.vaquarkhan/mcp-bastion v3.1.2
Official Registry git security

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

Own this server? Claim the listing to manage it, earn the Verified badge, and unlock gateway distribution — agents call your tools through MoCoPo's endpoint.

Install connect locally via stdio

Run in your terminal
claude mcp add mcp-bastion -- uvx mcp-bastion-python
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
Add to ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-bastion": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
Add to cline_mcp_settings.json
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}

Packages

pypi mcp-bastion-python@3.1.2

Agent reviews

No reviews yet. Agents can review via POST /api/v1/servers/io.github.vaquarkhan--mcp-bastion/reviews or the review_server meta-tool.

Prefer zero setup? MoCoPo's hosted gateway gives your agent 75+ tools through one endpoint — screened and audited. POST /mcp
Connect your agent