Package manager for the Cracking Shells ecosystem
Project description
Hatch
Hatch is a CLI tool for configuring MCP servers across AI host platforms. Adding a server to Claude Desktop, Cursor, VS Code, and others normally means editing separate JSON config files in different locations. Hatch does it from one command.
It also has a package system for managing MCP servers with dependency isolation, though that part is still being developed — see Getting Started for the current state.
Current status: suitable for development and trusted environments. Not hardened for production or multi-tenant use yet — see Security and Trust.
What it does
- Configure MCP servers on one or more AI host platforms at once
- Discover which host platforms are installed on your machine
- List and inspect server registrations across all your tools
- Manage MCP server packages with dependency isolation (system, Python, Docker)
Supported MCP Hosts
Claude Desktop, Claude Code, VS Code, Cursor, Kiro, Codex, LM Studio, Google Gemini CLI, Mistral Vibe, OpenCode, Augment Code (Auggie CLI and Intent)
Install
pip install hatch-xclam
Verify:
hatch --version
Or install from source:
git clone https://github.com/CrackingShells/Hatch.git
cd Hatch
pip install -e .
Usage
Configure MCP servers on your hosts
# Local server via npx — register it on VS Code
hatch mcp configure context7 --host vscode \
--command npx --args "-y @upstash/context7-mcp"
# Remote server with an auth header — register it on Gemini CLI
export GIT_PAT_TOKEN=your_github_personal_access_token
hatch mcp configure github-mcp --host gemini \
--httpUrl https://api.github.com/mcp \
--header Authorization="Bearer $GIT_PAT_TOKEN"
# Register the same server on multiple hosts using sync
hatch mcp configure my-server --host claude-desktop \
--command python --args "-m my_server"
hatch mcp sync --from-host claude-desktop --to-host cursor,vscode
Inspect what is configured
# See all servers across all hosts
hatch mcp list servers
# Filter servers by name
hatch mcp list servers weather
# See all hosts a specific server is registered on
hatch mcp show servers context7
# Detect which MCP host platforms are installed
hatch mcp discover hosts
Package management (in development)
The package system lets you install MCP servers with automatic dependency resolution and environment isolation. It is functional but being reworked for better integration with MCP registries.
hatch env create my_project
hatch env use my_project
hatch package add ./my_mcp_server
Documentation
Contributing
We welcome contributions. See How to Contribute for details.
Quick setup:
- Fork and clone the repository
- Install dependencies:
pip install -e .andnpm install - Create a feature branch:
git checkout -b feat/your-feature - Make changes and add tests
- Use conventional commits:
npm run commit - Run tests:
wobble - Open a pull request
License
GNU Affero General Public License v3 — see LICENSE for details.
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
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 hatch_xclam-0.8.2.tar.gz.
File metadata
- Download URL: hatch_xclam-0.8.2.tar.gz
- Upload date:
- Size: 223.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
178b22816ff77ac35065e4912b1321d56ecad3f2f49e336ee276c9723fb1e979
|
|
| MD5 |
79b238317ded73f0969412ebeecae133
|
|
| BLAKE2b-256 |
d2a7a235374c6382e9e6cee1f21ec518e7e7161ec84e610a055e6c7f3b1bad78
|
Provenance
The following attestation bundles were made for hatch_xclam-0.8.2.tar.gz:
Publisher:
publish.yml on CrackingShells/Hatch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hatch_xclam-0.8.2.tar.gz -
Subject digest:
178b22816ff77ac35065e4912b1321d56ecad3f2f49e336ee276c9723fb1e979 - Sigstore transparency entry: 1211324344
- Sigstore integration time:
-
Permalink:
CrackingShells/Hatch@f29393ba9259296ed9fe19b0596660f5bb6f0f14 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CrackingShells
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f29393ba9259296ed9fe19b0596660f5bb6f0f14 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hatch_xclam-0.8.2-py3-none-any.whl.
File metadata
- Download URL: hatch_xclam-0.8.2-py3-none-any.whl
- Upload date:
- Size: 283.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c72195321d464a7ea3367135277512c3d96197431dd315c8817420fdffdc1a
|
|
| MD5 |
562ebda6ba7a680ab1a16764a2392f87
|
|
| BLAKE2b-256 |
03ce1791b23a87f4b7ee22eb6294ac6388ca634a1d03652199917b852d3cef73
|
Provenance
The following attestation bundles were made for hatch_xclam-0.8.2-py3-none-any.whl:
Publisher:
publish.yml on CrackingShells/Hatch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hatch_xclam-0.8.2-py3-none-any.whl -
Subject digest:
14c72195321d464a7ea3367135277512c3d96197431dd315c8817420fdffdc1a - Sigstore transparency entry: 1211324405
- Sigstore integration time:
-
Permalink:
CrackingShells/Hatch@f29393ba9259296ed9fe19b0596660f5bb6f0f14 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CrackingShells
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f29393ba9259296ed9fe19b0596660f5bb6f0f14 -
Trigger Event:
push
-
Statement type: