MCP Server Manager for Model Context Protocol
Manage MCP server deployments and contexts across clients with MCP Manager (MCPM) by Pathintegral for a Homebrew-style, centralized control.
npx -y @pathintegral-institute/mcpm.shOverview
MCP Server Manager (MCPM) is a lightweight manager for the Model Context Protocol (MCP) that centralizes deployment and lifecycle control of model contexts across multiple clients. It provides a Homebrew-style, centralized control plane so teams can publish, version, and revoke model contexts from a single server that clients can query or sync against. MCPM is useful for organizations that need reproducible context delivery, coordinated updates, and simple auditability for model-related metadata.
MCPM is intended for developers and SREs who run model-serving infrastructure or client applications that consume model contexts. It provides a CLI and server component to host contexts, manage client registrations, and control distribution rules. The tool focuses on operational simplicity: declarative context configuration, push/pull synchronization, and minimal runtime dependencies to fit into existing deployment workflows.
Features
- Centralized MCP server to host and version model contexts
- CLI for managing server lifecycle, contexts, and client registrations
- Declarative YAML config for server settings, context definitions, and access policies
- Context versioning and rollbacks
- Push/pull synchronization endpoints compatible with MCP-compatible clients
- Lightweight storage backends (local FS, configurable object storage)
- Access control via API tokens and TLS
- Audit logging for deployments and context changes
Installation / Configuration
Clone the repository and install the CLI/server binary locally, or run via Docker. Examples below assume the CLI binary is named mcpm.
Install from source (simple):
# build (if Go/Make-based) or copy the script to /usr/local/bin
# Example for script-style distribution:
Run the server with a config file:
# Create a default config
# Start the server (foreground)
# Run as a background service (systemd example)
Docker (example):
Example server config (YAML):
server:
listen: 0.0.0.0:8080
tls:
enabled: true
cert_file: /etc/mcpm/tls/server.crt
key_file: /etc/mcpm/tls/server.key
storage:
type: filesystem
path: /var/lib/mcpm/contexts
auth:
tokens:
- id: admin
token: "REPLACE_WITH_SECRET"
logging:
level: info
Available Resources
- GitHub repository: https://github.com/pathintegral-institute/mcpm.sh
- Example configs and CLI reference: see the
examples/anddocs/folders in the repo - Issue tracker and feature requests: GitHub Issues on the repo
- Container image (if published): check GitHub Packages / container registry in repo README
CLI Quick Reference
| Command | Purpose | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mcpm server start –config | Start MCP server with given config | mcpm server stop | Stop running server | mcpm context add –file | Add or update a context definition | mcpm context list | List available contexts and versions | mcpm context show | Show context metadata and versions | mcpm deploy –context | Publish a specific context version | mcpm client register –id | Register a client with token | mcpm sync –client | Trigger server-initiated sync (if configured) | Example: add a context definition: List contexts: Use Cases
|