Hangar MCP Server

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. It runs locally over stdio via the published package.

People who work with ai security, kubernetes and mcp gateway and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-29 · ★ 16 · #12 OF 165 MAINTAINED CLOUD INFRASTRUCTURE · VERIFIED 2026-09-30

MIT · Python servers · how we verify → /methodology

01 · Install Hangar

Claude Code

claude mcp add mcp-hangar-mcp-hangar -- uvx mcp-hangar

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

pypi package mcp-hangar - check the name against the project README before installing (PyPI has no namespace ownership)

registry vendor namespace io.mcp-hangar - domain-verified with the official MCP registry

03 · What Hangar can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v2.23.0 · 2026-09-24

Added · /metrics now says which L7 egress policies a gateway replica holds, · and when each last arrived. mcp_hangar_l7_policy_held{mcp_server, mode} is 1 · for every server holding a policy (mode is Enforce or Audit)…

v2.22.1 · 2026-09-23

Fixed · a restart no longer drops the L7 egress policy the operator pushed to · a server that config.yaml declares. The push over POST · /api/mcp_servers/{id}/l7_policy stored the policy on the server's fleet row…

v2.22.0 · 2026-09-22

Added · a command or query dispatch now leaves a span naming what was · dispatched and how it ended. CommandBus.send opened handler.{Command} only · inside its innermost step, so a command the rate-limit middleware…

04 · Who maintains Hangar

MCP Hangar is maintained by mcp-hangar. It's the only MCP server we track from this author; the repo dates to Dec 2025.

05 · Facts

category
cloud infrastructure - ranked #12 of 165 actively-maintained cloud infrastructure servers as of 2026-09-30.
release cadence
10+ releases in the last 90 days (latest 2026-09-24)
registry
io.mcp-hangar/hangar (active, first published 2026-08-16 · 24 versions)
packages
pypi:mcp-hangar

06 · Hangar FAQ

What is Hangar?

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. It runs locally over stdio via the published package.

Is Hangar still maintained?

Yes - as of 2026-09-30, its last commit was 2026-09-29 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

How do I install Hangar?

Run `uvx mcp-hangar`. You can also paste the ready-made client config above.

Does Hangar run locally?

Yes - it's a stdio server: it runs on your machine (via uvx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Hangar

More cloud infrastructure MCP servers · ChromaDB Remote MCP Server · White Cap Data Dev · Kubeview

More Python MCP servers · MCPAmpel - MCP Security Scanner · Mcpcap · Instagram MCP (mcpware) · Autocarver · Cdpilot · see all