MCP Server Studio

MCP Hangar MCP server

A policy enforcement plane for MCP: pins every tool, holds risky calls, enforces egress policy.

Registry name: io.mcp-hangar/hangar

Publisher
mcp-hangar.io
Runs
Runs locally
Package
PyPI
Version
2.40.2
Category
Communication
Updated
2026-11-23

Source code on GitHub

Set up MCP Hangar (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "hangar": {
      "command": "uvx",
      "args": [
        "mcp-hangar==2.40.2"
      ],
      "env": {
        "MCP_CONFIG": "<MCP_CONFIG>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add hangar -e MCP_CONFIG='<MCP_CONFIG>' -- uvx mcp-hangar==2.40.2

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "hangar": {
      "command": "uvx",
      "args": [
        "mcp-hangar==2.40.2"
      ],
      "env": {
        "MCP_CONFIG": "<MCP_CONFIG>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "hangar": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-hangar==2.40.2"
      ],
      "env": {
        "MCP_CONFIG": "<MCP_CONFIG>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "hangar": {
      "command": "uvx",
      "args": [
        "mcp-hangar==2.40.2"
      ],
      "env": {
        "MCP_CONFIG": "<MCP_CONFIG>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
MCP_CONFIGNoPath to config.yaml declaring the upstream MCP servers and policy. Without it Hangar reads ./config.yaml, else ~/.config/mcp-hangar/config.yaml (written by `mcp-hangar init`), and refuses to start…

More communication MCP servers