プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

MCP-Bastion

作者:vaquarkhanバージョン 5.1.0i★ –iパソコンで動く
レジストリ名io.github.vaquarkhan/mcp-bastion

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: サイバーセキュリティ

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

claude mcp add bastion -- uvx mcp-bastion-python

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "bastion": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-bastion-python"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント vaquarkhan で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

サイバーセキュリティのほかのサーバーとの比較i

  • このカテゴリのほかの1004件のうち0%よりスターが多い
  • このカテゴリのほかの1004件のうち35%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1004件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MCP-Bastionは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(5.1.0)がレジストリに届いたのは3 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Unicode Security MCP, Osv MCP, Epss MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Unicode Security MCP

Local checks for Unicode confusables, mixed scripts, invisible controls, and suspicious identifiers.

作者:mrfentmenとても新しい↓ 50/週今日更新

パソコンで動く

Osv MCP

MCP server for OSV open source vulnerability data and package security checks.

作者:mrfentmenとても新しい↓ 64/週今日更新

パソコンで動く

Epss MCP

Exploit Prediction Scoring System scores: how likely a CVE will be exploited in the next 30 days.

作者:mrfentmenとても新しい↓ 152/週今日更新

パソコンで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

MCP-Bastion

README · Documentation · Demos · Dashboard / Observability · Multi-language · Benchmark · License · Security

Current release: [5.1.0](https://pypi.org/project/mcp-bastion-python/5.1.0/) · Docker v5.1.0 · 26 PyPI packages · CHANGELOG

Go toLink
Docs / demoshttps://vaquarkhan.github.io/MCP-Bastion/ · product tour video · integrations
Benchmark / security deck (PDF)[MCP-Security-Deck-v3.pdf](MCP-Security-Deck-v3.pdf) · raw download
Documentation handbookhttps://vaquarkhan.github.io/MCP-Bastion/guide/handbook.html
Demos (attacks, dashboard, payloads, all languages)https://vaquarkhan.github.io/MCP-Bastion/guide/demos.html
Dashboard & observability (OTEL optional)https://vaquarkhan.github.io/MCP-Bastion/guide/observability.html
Multi-language suitehttps://vaquarkhan.github.io/MCP-Bastion/guide/multi-language.html · suite repo
MCP Test Harness (sister product — CI gate for MCP servers)https://github.com/vaquarkhan/mcp-test-harness · use with Bastion E2E
Docs hubhttps://vaquarkhan.github.io/MCP-Bastion/guide/
Measured benchmarks (reproducible)docs/BENCHMARKS.md

The Zero-Trust control plane for MCP agents. Your agent can call databases, APIs, and shell tools. One bad prompt can leak PII; one runaway loop can burn your API budget in minutes; three agents on one server with no identity boundary is a confused-deputy incident waiting to happen. MCP-Bastion wraps your MCP server with local guardrails: agent IAM, supply-chain checksums, injection blocking, PII redaction, and denial-of-wallet caps, under 5ms overhead, with no third-party safety API.

Guiding rule: Stay a zero-infra, drop-in library - the guardrail brain that composes with any gateway, not a gateway itself. Strategy: docs/ZERO_INFRA_STRATEGY.md.

Measured proof (offline, reproducible)

Slide deck (share with evaluators): [MCP-Security-Deck-v3.pdf](MCP-Security-Deck-v3.pdf) — security + FinOps proof pack (direct download).

GateResultHow to reproduce
Injection heuristics100% attack block · 0% benign FP on the published corpuspytest tests/test_injection_efficacy.py · docs/BENCHMARKS.md
Tool catalog scanInjection / secrets / homoglyphs / shadow tools / nested weak schemasmcp-bastion scan examples/fixtures/tools-poisoned.json
FinOpsUp to ~99.7% output-budget savings · ~85% fewer discovery tokensdocs/BENCHMARKS.md
Toxic-flow taintSession PII/secret → egress tool with URL/email args blocked in-processtoxic_flow in bastion.yaml · docs/THREAT_MODEL.md
Scan → Test → Enforce (no other tool has all three)
PhaseWhatCommand
ScanStatic tool-definition checks before deploy (injection, secrets, homoglyphs, fingerprint drift, schema preconditions)mcp-bastion scan tools.json
AuditLocal MCP client-config risk report (over-broad tools, standing credentials, filesystem servers)mcp-bastion audit
TestIntegrated red-team against bastion.yaml + pair with [MCP Test Harness](https://github.com/vaquarkhan/mcp-test-harness) in CImcp-bastion redteam · docs/BASTION_AND_TEST_HARNESS.md
EnforceRuntime middleware on every MCP methodsecure_fastmcp(mcp) or bastion.yaml

`scan` vs `audit` - different inputs, different questions

`mcp-bastion scan``mcp-bastion audit`
Looks atA tool catalog (tools.json / tools/list export)MCP client configs on disk (mcp.json, Claude Desktop config, etc.)
Asks“Is this tool metadata poisoned or drifted?”“What can agents already reach on this machine?”
FindsInjection in descriptions, secrets in schemas, homoglyphs, fingerprint drift, weak/unbounded inputSchema shapesOver-broad tool grants (*), standing credentials in env, filesystem-server hints
WhenBefore you ship or attach a server’s tools (CI / pre-deploy)Before you tighten policy on a laptop or workspace (local hygiene)

They complement each other: audit the host surface, then scan the tools you attach. Neither replaces runtime enforce.

mcp-bastion scan also accepts --skills DIR for offline agent skill-file checks. Dependency CVEs: mcp-bastion osv-refresh then mcp-bastion osv-scan (local DB default; --online opt-in, fail-open).

# 1. Scan a tools/list export (or hand-authored catalog) - client-side, no cloud

mcp-bastion scan examples/fixtures/tools-poisoned.json mcp-bastion fingerprint tools.json -o baseline.json mcp-bastion scan tools.json --baseline baseline.json --format json -o report.json mcp-bastion scan --skills ./skills/

1b. Audit local MCP client configs (what agents can already reach)

mcp-bastion audit --root . mcp-bastion audit --format json -o risk-audit.json --fail-on none

2. Test policy effectiveness

mcp-bastion redteam --config bastion.yaml

3. Enforce at runtime (filesystem path guards when agents can read local files)

merge examples/bastion-filesystem-guards.yaml into bastion.yaml

mcp-bastion validate --config bastion.yaml

mcp-bastion scan - client-side static scanner; no cloud, no ML download

mcp-bastion audit - map the local MCP surface before you enforce; no network, no vault

Schema · Skills · OSV - offline by default; no login server; no phone-home

Feature tour

Dashboard walkthrough

Live security posture + runtime dashboard - local-only, zero infra. mcp-bastion dashboard --demo · Dashboard docs · Older Vimeo walkthrough </

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く