
mcp-hangar/mcp-hangar
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP ポリシーの執行面 — すべてのモデルコンテキストプロトコルコールの決定的なポリシー: アイデンティティ、RFC 8707 オーディエンスバインディング、ツール スキーマ ダイジェスト ピン留め、完全な監査コース。 Python、自演、MIT.
概要
同じツール, 同じ引数, 同じ呼び出し — 説明は、その下に変更されたため拒否. 実際の出力; vhs demo.tape で再生します。 MCP では、ツールリストはクライアントのキャッシュをヒントにしています。コールパスは、プロバイダがリアルタイムで仲介する唯一の表面です。 すべてのガバナンスの原始的価値--取消、一テナントのスクーピング、監査-そこに添付、または何も添付しません。 ハンガーは、その継ぎ目にポリシーの執行面を置きます: ライフサイクル、ポリシー、およびMCPサーバー全体のテレメトリーの1つの仲介されたパス。 背景: 諮問リスト -- MCP ガバナンスがコールパスで生きる理由 新鮮なインストールではなく、アップグレード? 移行手順は、アップグレードガイドで動作します。 init は、MCP クライアント (Claude Code, Cursor, Claude Desktop) を見つけ、コンフィグを書き込み、各サーバーを一度起動して、動作確認を行い、----------------------------------------------------------------------------------------------------------------------------------- クライアントを再起動し、既に持っていたものの横にmcp-hangarサーバーがあります.
概要(AI 翻訳)
MCPのポリシー執行面 - MCPサーバーのフリートの決定的な入学および退会方針、帰属する監査およびSIEMのエクスポート。 MIT、自己ホスト、SaaSなし。
同じツール, 同じ引数, 同じ呼び出し — 説明は、その下に変更されたため拒否. 実際の出力; vhs demo.tape で再生します。
なぜ
MCP では、ツールリストはクライアントのキャッシュをヒントにしています。コールパスは、プロバイダがリアルタイムで仲介する唯一の表面です。 すべてのガバナンスの原始的価値–取消、一テナントのスクーピング、監査-そこに添付、または何も添付しません。 ハンガーは、その継ぎ目にポリシーの執行面を置きます: ライフサイクル、ポリシー、およびMCPサーバー全体のテレメトリーの1つの仲介されたパス。
背景: 諮問リスト – MCP ガバナンスがコールパスで生きる理由
インストール
新鮮なインストールではなく、アップグレード? 移行手順は、 アップグレードガイド。
クイックスタート
[init は、MCP クライアント (Claude Code, Cursor, Claude Desktop) を検索し、
config は、各サーバーを一度起動し、動作確認を行い、---------------------------------------
機能するすべてのツールでダイジェストピンを記録します。 クライアントの再起動
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
The policy enforcement plane for MCP – deterministic admission and egress policy, attributable audit, and SIEM export for your MCP server fleet. MIT, self-hosted, no SaaS.
Same tool, same arguments, same call — refused because the description changed underneath it. Real output; regenerate it with vhs demo.tape.
Why
In MCP, the tool list is a hint the client caches; the call path is the only surface a provider mediates in real time. Every governance primitive worth having – revocation, per-tenant scoping, audit – attaches there, or attaches to nothing. Hangar puts a policy enforcement plane on that seam: one mediated path for lifecycle, policy, and telemetry across your whole MCP server fleet.
Background: The Advisory List – Why MCP Governance Lives at the Call Path
Install
pip install mcp-hangar
# or: uv pip install mcp-hangar
Upgrading rather than installing fresh? The migration steps live in the upgrade guide.
Quickstart
curl -sSL https://mcp-hangar.io/install.sh | bash && export PATH="$HOME/.mcp-hangar/bin:$PATH" && mcp-hangar init -y
init finds your MCP client (Claude Code, Cursor, Claude Desktop), writes a
config, starts each server once to check it works, and – while they are up –
records a digest pin for every tool they serve. Restart your client and it
has a mcp-hangar server beside the ones you already had. Your existing entries
are left as they are; a server is behind Hangar once it is listed under
mcp_servers in the config init wrote.
Now watch a changed tool be withheld. An MCP server decides what it advertises every time it connects, and the dangerous change is not a new parameter, it is a new description: same inputs, same outputs, different instructions for the model.
# a demo upstream that rewrites its own tool description on request;
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"mcp-hangar": {
"command": "/home/you/.mcp-hangar/bin/mcp-hangar",
"args": ["--config", "/home/you/demo.yaml", "serve"]
}
}
}