Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

MCP-Bastion

PYPI · MCP-BASTION-PYTHON · SCANNED SEP 20

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

Available components

0 this week 33 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known high-severity CVE affects cryptography 48.0.1, reached via presidio-anonymizer > cryptography. A fixed version is available. View diagnostics → Fail
  • Runs hatchling.build at install time, a recognised native-build step with no shell scripting around it. View diagnostics → Pass
  • Dependency health was assessed across the 105 of 164 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency35
Schema Quality & AI Usability0
  • Schema quality not yet verified: this package could not be installed in a clean environment, so we have no schema to assess.Unverified
Stability & Change Management0
  • Stability not yet verified: this package could not be installed in a clean environment, so we have no schema to compare.Unverified
Tool Coverage0
  • Tool coverage not yet verified: this package could not be installed in a clean environment, so we have no tool definitions to assess.Unverified
Tool Safety0
  • Tool safety not yet verified: this package could not be installed in a clean environment, so we have no tool text to scan.Unverified
Capabilities0
  • Protocol version not yet verified: this package could not be installed in a clean environment, so we never saw its MCP handshake.Unverified

Unverified: 5 categories

Categories scored 0 because our sandbox run of this package has not given us the schema these checks need to read. That is a gap on our side rather than a finding about the package, and we only credit what we can confirm, so the score stands at 0 until the capture succeeds. We are working through the fleet, so this normally clears without any action from you. How we score packages →

Install

How do I install the MCP-Bastion server?

MCP-Bastion runs locally as a PyPI package, launched with uvx mcp-bastion-python. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · mcp-bastion-python

# add to Claude Code
claude mcp add vaquarkhan-mcp-bastion -- uvx mcp-bastion-python
// .cursor/mcp.json
{
  "mcpServers": {
    "vaquarkhan-mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "vaquarkhan-mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add vaquarkhan-mcp-bastion -- uvx mcp-bastion-python
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "vaquarkhan-mcp-bastion": {
      "type": "local",
      "command": [
        "uvx",
        "mcp-bastion-python"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add vaquarkhan-mcp-bastion --command uvx --arg mcp-bastion-python
# ~/.hermes/config.yaml
mcp_servers:
  vaquarkhan-mcp-bastion:
    command: "uvx"
    args: ["mcp-bastion-python"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "vaquarkhan-mcp-bastion": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "mcp-bastion-python"
      ]
    }
  }
}
# add to Vellum
assistant mcp add vaquarkhan-mcp-bastion -t stdio -c uvx -a mcp-bastion-python
// mcp.json
{
  "mcpServers": {
    "vaquarkhan-mcp-bastion": {
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 19 Sept 26 +15
    • Malware scan: unverified → pass security
  • 17 Sept 26 −15
    • Malware scan: pass → unverified security
  • 16 Sept 26 +15
    • Malware scan: unverified → pass security
  • 14 Sept 26 −15
    • Malware scan: pass → unverified security
  • 26 Aug 26 0
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 16 Aug 26 0
    • Package version: 5.0.0 → 5.1.0 functional
  • 12 Aug 26 0
    • Malware scan: unverified → pass security
  • 11 Aug 26 0
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 20 Sept 2026 · Analysed pypi/mcp-bastion-python@5.1.0

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem pypi

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend allowlisted hatchling.build

Background: Why install scripts are a supply-chain risk →

Vulnerabilities 6 findings
ID CVE Severity Vector Fix available
GHSA-g6cj-pr64-35w5 CVE-2026-69247 high yes
GHSA-jwv3-5hgf-82ww CVE-2026-69249 high yes
GHSA-m2h6-j472-rp4c CVE-2026-69248 medium yes
PYSEC-2026-3552 CVE-2026-69247 none yes
PYSEC-2026-3553 CVE-2026-69249 none yes
PYSEC-2026-3554 CVE-2026-69248 none yes

Background: What a vulnerability scan can and cannot prove →

Dependencies 105 packages
Packages resolved 105
Deprecated 1
Stale 7
No linked repository 1
Tree resolution Partial

The dependency tree was only partially resolved, so these counts may be incomplete.

Background: SBOMs and build attestations, explained →

MCP tools

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tools for package channels are captured by running the package in an isolated sandbox. The most recent sandbox run could not capture a tool list from this package.

Common questions

What is the MCP-Bastion server?

MCP-Bastion is listed in the public MCP registry as io.github.vaquarkhan/mcp-bastion. Security middleware for MCP. Blocks prompt injection, PII leakage, and resource exhaustion. This page covers its PyPI package (mcp-bastion-python).

Is the MCP-Bastion server safe to use?

MCP-Bastion scores 33 out of 100 on VerifyMCP. We recorded 6 known advisories against it as of 20 September 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

Is the MCP-Bastion server still maintained?

MCP-Bastion is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.