Production-grade infrastructure for Model Context Protocol
Project description
MCP-Hangar Core
Production-grade infrastructure for Model Context Protocol.
Note: This is the Python core package of the MCP Hangar monorepo. For Kubernetes operator, see
packages/operator/. For Helm charts, seepackages/helm-charts/.
Installation
# Quick install (recommended)
curl -sSL https://get.mcp-hangar.io | bash
# Or via pip
pip install mcp-hangar
Quick Start
# Run with config file
mcp-hangar serve --config config.yaml
# Or with environment variables
MCP_MODE=http MCP_HTTP_PORT=8080 mcp-hangar serve
Development
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest
# Lint
ruff check mcp_hangar
ruff format mcp_hangar
# Type check
mypy mcp_hangar
Features
- Provider Management: Hot-load MCP providers (subprocess, Docker, remote)
- CQRS + Event Sourcing: Clean architecture with domain events
- Health Monitoring: Circuit breakers, automatic recovery
- Observability: Prometheus metrics, structured logging, tracing
Documentation
See main documentation for details.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_hangar-0.8.0.tar.gz.
File metadata
- Download URL: mcp_hangar-0.8.0.tar.gz
- Upload date:
- Size: 704.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f42f5c60ec769681e93cfb4ab01594ae3c16025f3940a6df4f99f576459e36d3
|
|
| MD5 |
70eb0a7e6f81674cb20620bc80a735e9
|
|
| BLAKE2b-256 |
a87568603241bc8a438976246595d5519a103a17ea408e2c899f10ac4565840a
|
Provenance
The following attestation bundles were made for mcp_hangar-0.8.0.tar.gz:
Publisher:
release.yml on mcp-hangar/mcp-hangar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_hangar-0.8.0.tar.gz -
Subject digest:
f42f5c60ec769681e93cfb4ab01594ae3c16025f3940a6df4f99f576459e36d3 - Sigstore transparency entry: 953328685
- Sigstore integration time:
-
Permalink:
mcp-hangar/mcp-hangar@9fba67805ae63b419109ec2c1ea67a0b05377189 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mcp-hangar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fba67805ae63b419109ec2c1ea67a0b05377189 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mcp_hangar-0.8.0-py3-none-any.whl.
File metadata
- Download URL: mcp_hangar-0.8.0-py3-none-any.whl
- Upload date:
- Size: 545.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7a826ca4c326d025b55548a616c5bb24c56e6b86cbe8d534aef267282ce8f35
|
|
| MD5 |
98db721079660c3d07bbe72bf8f91a6c
|
|
| BLAKE2b-256 |
f03e7ea8b224dd6284c43afd1390f33e66a37b4c7035520fcb160bcf166aeada
|
Provenance
The following attestation bundles were made for mcp_hangar-0.8.0-py3-none-any.whl:
Publisher:
release.yml on mcp-hangar/mcp-hangar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_hangar-0.8.0-py3-none-any.whl -
Subject digest:
a7a826ca4c326d025b55548a616c5bb24c56e6b86cbe8d534aef267282ce8f35 - Sigstore transparency entry: 953328688
- Sigstore integration time:
-
Permalink:
mcp-hangar/mcp-hangar@9fba67805ae63b419109ec2c1ea67a0b05377189 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mcp-hangar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9fba67805ae63b419109ec2c1ea67a0b05377189 -
Trigger Event:
workflow_dispatch
-
Statement type: