MCP server orchestration CLI and HTTP server for managing Docker-based MCP services
Project description
chora-orchestration
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.2.0 (ready to publish)
What's new in 0.2.0:
- Smart path resolution with environment variable support (
CHORA_REGISTRY_PATH) - Cross-platform path handling with pathlib
- Home directory config support (
~/.chora/registry.yaml) - MCP stdio bridge for unified tool exposure
- 13 new comprehensive tests (74 total)
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/initPOST /tools/deployPOST /tools/listPOST /tools/healthPOST /tools/logsPOST /tools/stopPOST /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
- Requirements - Full specification
- Bootstrap Guide - Quick start with stdio bridge
- PyPI Publishing Guide - Publishing workflow
- CLI Scenarios - BDD scenarios
- MCP Server Scenarios - HTTP tool scenarios
- CHANGELOG - Version history
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
chora_orchestration-0.3.1.tar.gz
(13.7 kB
view details)
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 chora_orchestration-0.3.1.tar.gz.
File metadata
- Download URL: chora_orchestration-0.3.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.0 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70dd98a00c17a603e245f9c848b1921d387cf45f48d2987544168148fa37763a
|
|
| MD5 |
74cd331d11147bf8b83b688c086bee9f
|
|
| BLAKE2b-256 |
803f8d909dd9b995353dddbcdb7c4ba021ef96f89d273eff6b32268aceff678f
|
File details
Details for the file chora_orchestration-0.3.1-py3-none-any.whl.
File metadata
- Download URL: chora_orchestration-0.3.1-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.0 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d996dfa288d5edffec9748d41a7c7cb6825442bd97776f8ee458eafa99cf4bb8
|
|
| MD5 |
56ac3e7bf26c8b5b3f32c71da477c4a0
|
|
| BLAKE2b-256 |
6f46ed9c274905f9f9f107a16c3238587d5ed9b526e35283160083b026b03489
|