https://github.com/mcs-cli/mcs
Managed Claude Stack - Reproducible AI infrastructure for Claude Code
https://github.com/mcs-cli/mcs
agent agentic-ai claude-code convergence portability reproducibility
Last synced: about 2 months ago
JSON representation
Managed Claude Stack - Reproducible AI infrastructure for Claude Code
- Host: GitHub
- URL: https://github.com/mcs-cli/mcs
- Owner: mcs-cli
- License: mit
- Created: 2026-02-13T23:11:37.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-04-01T20:19:51.000Z (3 months ago)
- Last Synced: 2026-04-02T07:52:14.183Z (3 months ago)
- Topics: agent, agentic-ai, claude-code, convergence, portability, reproducibility
- Language: Swift
- Homepage: https://mcs-cli.dev
- Size: 1.28 MB
- Stars: 86
- Watchers: 2
- Forks: 7
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

### Your Claude Code environment โ packaged, portable, and reproducible.
[](https://swift.org)
[](https://www.apple.com/macos/)
[](LICENSE)
[](https://github.com/mcs-cli/homebrew-tap)
[](https://techpacks.mcs-cli.dev)
[](https://deepwiki.com/mcs-cli/mcs)
## ๐ Quick Start
### 1. Install
```bash
brew install mcs-cli/tap/mcs
```
### 2. Add tech packs
Browse available packs at **[techpacks.mcs-cli.dev](https://techpacks.mcs-cli.dev)**, then add them:
```bash
mcs pack add owner/pack-name
```
### 3. Sync a project
```bash
cd ~/Developer/my-project
mcs sync
```
### 4. Verify everything
```bash
mcs doctor
```
That's it. Your MCP servers, plugins, hooks, skills, commands, agents, settings, and templates are all in place.
---
## The Problem
You've spent hours getting Claude Code just right โ MCP servers, plugins, hooks, skills, custom commands, fine-tuned settings. Then:
- ๐ฅ๏ธ **New machine?** Start over from scratch.
- ๐ฅ **Onboarding a teammate?** "Just follow this 47-step wiki page."
- ๐ **Different projects?** Copy-paste configs, hope nothing drifts.
- ๐ **Something broke?** Good luck figuring out what changed.
## The Solution
`mcs` is a **configuration engine for Claude Code** โ like Ansible for your AI development environment. Package everything into shareable **tech packs** (Git repos with a `techpack.yaml` manifest), then sync them across any project, any machine, in seconds.
| Without `mcs` | With `mcs` |
|---|---|
| Install MCP servers one by one | `mcs pack add` + `mcs sync` |
| Hand-edit `settings.json` per project | Managed settings composition |
| Copy hooks between projects manually | Auto-installed per-project from packs |
| Configuration drifts silently | `mcs doctor --fix` detects and repairs |
| Rebuild from memory on new machines | Fully reproducible in minutes |
| No way to share your setup | Push a pack, anyone can `mcs pack add` it |
---
## ๐ Explore Tech Packs
Packs are modular โ mix and match what you need instead of one monolith. Browse the full catalog, search by category, and find install commands:
**[techpacks.mcs-cli.dev](https://techpacks.mcs-cli.dev)**
> ๐ก Can't find what you need? Build your own โ see [Creating Tech Packs](docs/creating-tech-packs.md).
---
## โ๏ธ How It Works
```
Tech Packs mcs sync Your Project
(Git repos) -----> (engine) -----> (configured)
|
.---------.
| |
v v
Per-Project Global
artifacts artifacts
```
1. **Select** which packs to apply (interactive multi-select or `--all`)
2. **Resolve** prompts (auto-detect project files, ask for config values)
3. **Install** artifacts to the right locations (skills, hooks, commands, agents, settings, MCP servers)
4. **Track** everything for convergence โ re-running `mcs sync` adds what's missing, removes what's deselected, and updates what changed
Use `mcs sync --global` for global-scope components (Homebrew packages, plugins, global MCP servers). See [Architecture](docs/architecture.md) for artifact locations and the full sync flow.
---
## ๐ฆ What's in a Tech Pack?
A tech pack is a Git repo with a `techpack.yaml` manifest. It can bundle MCP servers, plugins, hooks, skills, commands, agents, settings, templates, and doctor checks โ anything `mcs` can install, verify, and uninstall.
Use `mcs pack validate` to check your pack for structural errors and best practices before sharing.
๐ **Full guide:** [Creating Tech Packs](docs/creating-tech-packs.md) ยท **Schema reference:** [techpack-schema.md](docs/techpack-schema.md)
---
## ๐ฏ Use Cases
- **๐งโ๐ป Solo Developer** โ New Mac? One `mcs pack add` + `mcs sync` and your entire Claude Code environment is back. No wiki, no notes, no memory required.
- **๐ฅ Teams** โ Create a team pack with your org's MCP servers, approved plugins, and coding standards. Every developer gets the same setup with `mcs sync --all`.
- **๐ Open Source** โ Use `mcs export` to create a tech pack from your repo's config. Contributors run `mcs sync` and get the right MCP servers, skills, and conventions automatically.
- **๐งช Experimentation** โ Try a different set of MCP servers, swap packs, roll back. `mcs` converges cleanly โ deselected packs are fully removed, no leftovers.
---
## ๐ก๏ธ Safety & Trust
`mcs` is designed to be non-destructive and transparent. Timestamped backups before modifying user content, `--dry-run` to preview changes, section markers to preserve your edits in `CLAUDE.local.md`, and SHA-256 trust verification for pack scripts. Lockfiles (`mcs.lock.yaml`) pin pack versions for reproducible environments.
๐ **Full details:** [Architecture > Safety & Trust](docs/architecture.md#safety--trust)
---
## ๐ Verifying Your Setup with Poirot
After `mcs sync`, want to confirm everything landed correctly? [**Poirot**](https://github.com/leonardocardoso/poirot) is a native macOS companion that gives you a visual overview of your Claude Code configuration โ MCP servers, settings, sessions, and more โ all in one place.
The perfect complement to `mcs`: configure your environment with `mcs`, then use Poirot to see exactly what's installed and running.
---
## ๐ Documentation
| Document | Description |
|----------|-------------|
| ๐ [CLI Reference](docs/cli.md) | Complete command reference (`sync`, `pack`, `doctor`, `export`, `cleanup`, `check-updates`, `config`) |
| ๐ [Creating Tech Packs](docs/creating-tech-packs.md) | Step-by-step guide to building your first pack |
| ๐ [Tech Pack Schema](docs/techpack-schema.md) | Complete `techpack.yaml` field reference |
| ๐๏ธ [Architecture](docs/architecture.md) | Internal design, sync flow, safety guarantees, and extension points |
| ๐ง [Troubleshooting](docs/troubleshooting.md) | Common issues and fixes |
---
## ๐ ๏ธ Development
```bash
swift build # Build
swift test # Run tests
swift build -c release --arch arm64 --arch x86_64 # Universal binary
```
See [Architecture](docs/architecture.md) for project structure and design decisions.
## ๐ค Contributing
Tech pack ideas and engine improvements are welcome!
1. Fork the repo
2. Create a feature branch
3. Run `swift test`
4. Open a PR
For building new packs, start with [Creating Tech Packs](docs/creating-tech-packs.md).
---
## ๐ Support
If `mcs` saves you time, consider [sponsoring the project](https://github.com/sponsors/bguidolim).
**MIT License** ยท Made with โค๏ธ by [Bruno Guidolim](https://github.com/bguidolim) ยท [mcs-cli](https://github.com/mcs-cli)