Loomal

MCP-Bastion

MCP server by github.com/vaquarkhan/mcp-bastion

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

1 starsnpm: @mcp-bastion/core

About MCP-Bastion

MCP-Bastion is an MCP (Model Context Protocol) server published by vaquarkhan in the official MCP registry, listed under Security on Loomal. Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.

It ships as an npm package (@mcp-bastion/core), so any MCP client that can launch a local process can run it.

Development happens in the open at github.com/vaquarkhan/mcp-bastion, where the project has earned 1 GitHub stars.

Use MCP-Bastion with your agent

Claude Code · one command
claude mcp add mcp-bastion -- npx -y @mcp-bastion/core
Claude Desktop, Cursor & other MCP clients · config
{
  "mcpServers": {
    "mcp-bastion": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp-bastion/core"
      ]
    }
  }
}
npm@mcp-bastion/core

Frequently asked questions

What is MCP-Bastion?
MCP-Bastion is an MCP (Model Context Protocol) server by vaquarkhan in the Security category. Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion.
How do I connect MCP-Bastion to Claude, Cursor, or another MCP client?
Install MCP-Bastion from its npm package (@mcp-bastion/core) and register it under "mcpServers" in your client's MCP configuration — for example claude_desktop_config.json or Cursor's mcp.json — then restart the client.
Is MCP-Bastion open source?
Yes — the source code is public at github.com/vaquarkhan/mcp-bastion, with 1 GitHub stars.
Can AI agents pay to use MCP-Bastion?
Not yet through Loomal — MCP-Bastion is listed as a free directory entry. If its maintainer verifies ownership, they can set per-call USDC pricing that agents pay over x402, with settlement on Base.

Listing data from the official MCP registry and GitHub, refreshed periodically. Not affiliated with the maintainer unless claimed. Maintain MCP-Bastion? Claim this listing free by verifying GitHub ownership, or contact us.