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://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


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.6.7.tar.gz (677.4 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.6.7-py3-none-any.whl (529.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_hangar-0.6.7.tar.gz
  • Upload date:
  • Size: 677.4 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.6.7.tar.gz
Algorithm Hash digest
SHA256 609d5eaca89f61096e2c8bc0a4cf7421165d6e7ec321d620a8bb1e4130695ce3
MD5 4e6cd97aa166ebaf170fdabd7527c0d9
BLAKE2b-256 fcd5a8ced9f9b67da686c68695c4629ba448d9a0f16edd790683a59a2e5ef31f

See more details on using hashes here.

Provenance

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

Publisher: release.yml on mapyr/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.6.7-py3-none-any.whl.

File metadata

  • Download URL: mcp_hangar-0.6.7-py3-none-any.whl
  • Upload date:
  • Size: 529.3 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.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 05add6711e859470742700e300e0026bf7a4f4e41964b81f3fa22002a33a28e8
MD5 32ca144c45a20c9f065f79d21035d020
BLAKE2b-256 0c0b2f0baaae8873ca76e643602bdda97ef504fc16fb6b3e04b1bf596f408231

See more details on using hashes here.

Provenance

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

Publisher: release.yml on mapyr/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