Skip to main content

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, see packages/helm-charts/.

Installation

# Quick install (recommended)
curl -sSL https://mcp-hangar.io/install.sh | 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_hangar-0.11.0.tar.gz (756.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_hangar-0.11.0-py3-none-any.whl (567.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_hangar-0.11.0.tar.gz.

File metadata

  • Download URL: mcp_hangar-0.11.0.tar.gz
  • Upload date:
  • Size: 756.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_hangar-0.11.0.tar.gz
Algorithm Hash digest
SHA256 928f0a8a05bba88570bd436a0cb96b7e779a70821930b5f3664a36ce42afa414
MD5 3cb81bd84b92b9765738100d76ce283f
BLAKE2b-256 3e15a1d1241f012d00654789c5ca9d01a4d8d8b99f088f9f9edf5c22f5a59245

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_hangar-0.11.0.tar.gz:

Publisher: release.yml on mcp-hangar/mcp-hangar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_hangar-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_hangar-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 567.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_hangar-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f30ac312e7573b8951d58bd8844bc370fa364bc662f82bfa8f74ca6cf5f9f43
MD5 b477fb2734a74e0871a878d83b8745d7
BLAKE2b-256 11fab41b97db9cfacd1e53b3658ba00f5f28be55c9783d8d81d6dd2d617fa79e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_hangar-0.11.0-py3-none-any.whl:

Publisher: release.yml on mcp-hangar/mcp-hangar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page