Skip to main content

MCP server orchestration CLI and HTTP server for managing Docker-based MCP services

Project description

chora-orchestration

PyPI version Python 3.11+ License: MIT

MCP server orchestration CLI and HTTP server for managing Docker-based MCP services.

Features

  • Dual Mode Operation: CLI commands + MCP HTTP server + stdio bridge
  • Docker Integration: Manages containers via Docker SDK
  • Smart Path Resolution: Auto-discovers registry.yaml with 5-tier fallback hierarchy
  • Cross-Platform: Consistent behavior on Windows, Linux, and macOS
  • Auto-Discovery: Reads registry.yaml for server definitions
  • Health Monitoring: Tracks container and endpoint health
  • Log Access: View container logs for debugging
  • Gateway Proxying: Unified MCP endpoint exposing both orchestration and gateway tools

Installation

From PyPI (Recommended)

pip install chora-orchestration

Latest version: 0.3.1 (published on PyPI)

What's new in 0.3.1:

  • Fixed startup initialization bug in DockerOrchestrator
  • Improved async/sync compatibility in startup sequencing
  • All 74 tests passing with 65% coverage
  • SAP-047 template compliance verified at 100% (22/22 requirements)
  • CLI fully functional across Windows, Linux, and macOS

From Source (Development)

git clone https://github.com/liminalcommons/chora-orchestration.git
cd chora-orchestration
poetry install

Usage

CLI Mode

# Initialize ecosystem
chora-orch init

# Deploy server
chora-orch deploy n8n

# List servers
chora-orch list

# Check health
chora-orch health manifest

# View logs
chora-orch logs n8n --tail 50

# Stop server
chora-orch stop n8n

# Get status
chora-orch status

MCP Server Mode

# Start MCP HTTP server
chora-orch-serve --port 8090

Then access tools via HTTP:

  • POST /tools/init
  • POST /tools/deploy
  • POST /tools/list
  • POST /tools/health
  • POST /tools/logs
  • POST /tools/stop
  • POST /tools/status

Development

# Run tests
poetry run pytest -v

# Run with coverage
poetry run pytest --cov=chora_mcp_orchestration --cov-report=term-missing

# Type check (if mypy added)
poetry run mypy src/

Documentation

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

chora_orchestration-0.3.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

chora_orchestration-0.3.2-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file chora_orchestration-0.3.2.tar.gz.

File metadata

  • Download URL: chora_orchestration-0.3.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for chora_orchestration-0.3.2.tar.gz
Algorithm Hash digest
SHA256 062f9faa61eaec23c50f72066758b59db2a98edbaa5d55f453409e2870c9891e
MD5 ad916c34baab55ef9bd557498c3fc11d
BLAKE2b-256 92ced5292a6bdce9ed08c57fd624f71fa63bdaac63172629adab7006ab53ca0d

See more details on using hashes here.

File details

Details for the file chora_orchestration-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for chora_orchestration-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a77492bbe5e8d265cf9e24dab157eb76285a51a60eb548af9c7332497647547b
MD5 444552c6a5161f2320d8b853a64da2c1
BLAKE2b-256 149af2d52a862ca77c2121b0419338c682e4a00069f7c93df144effc39c76b37

See more details on using hashes here.

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