Package manager for the Cracking Shells ecosystem
Project description
Hatch
Hatch is the package manager for the Cracking Shells ecosystem, designed specifically for managing Model Context Protocol (MCP) servers. It handles complex dependency resolution across system packages, Python packages, Docker containers, and other Hatch packages — all in isolated environments.
The canonical documentation is at docs/index.md and published at https://hatch.readthedocs.io/en/latest/.
Quick start
Install from PyPI
pip install hatch-xclam
Verify installation:
hatch --version
Install from source
git clone https://github.com/CrackingShells/Hatch.git
cd Hatch
pip install -e .
Create your first environment and Hatch! MCP server package
# Create an isolated environment
hatch env create my_project
# Switch to it
hatch env use my_project
# Create a package template
hatch create my_mcp_server --description "My MCP server"
# Validate the package
hatch validate ./my_mcp_server
Deploy MCP servers to your tools
Add a Hatch package and automatically configure it on Claude Desktop and Cursor:
hatch package add ./my_mcp_server --host claude-desktop,cursor
Configure an arbitrary MCP server (non-Hatch package) on Claude Desktop:
# Local server with command and arguments
hatch mcp configure my-weather-server --host claude-desktop \
--command python --args weather_server.py \
--env-var API_KEY=your_key
# Remote server with URL
hatch mcp configure api-server --host gemini \
--httpUrl https://api.example.com \
--header Authorization="Bearer token"
List configured servers and hosts:
hatch mcp list servers
hatch mcp list hosts --detailed
Key features
- Environment isolation: Create separate workspaces for different projects
- Multi-type dependencies: Automatically resolve and install system packages, Python packages, Docker containers, and Hatch packages
- MCP host configuration: Deploy MCP servers to Claude Desktop, Cursor, VSCode, and other platforms
- Package validation: Ensure packages meet schema requirements before distribution
- Development-focused: Optimized for rapid development and testing of MCP server ecosystems
Documentation
- Full Documentation — Complete reference and guides
- Getting Started — Quick start for users
- CLI Reference — All commands and options
- Tutorials — Step-by-step guides from installation to package authoring
- MCP Host Configuration — Deploy to multiple platforms
- Developer Docs — Architecture, implementation guides, and contribution guidelines
- Troubleshooting — Common issues and solutions
Contributing
We welcome contributions! See the How to Contribute guide for details.
Quick start for developers
- 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 commitfor guided commits - Run tests:
python -m pytest tests/ - Create a pull request
We use Conventional Commits for automated versioning. Use npm run commit for guided commit messages.
Getting help
- Search existing GitHub Issues
- Read Troubleshooting for common problems
- Check Developer Onboarding for setup help
License
This project is licensed under the 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.7.0.dev12.tar.gz.
File metadata
- Download URL: hatch_xclam-0.7.0.dev12.tar.gz
- Upload date:
- Size: 532.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
744847b28ad6c39b054cdb885105e4d5be058e48429af1215e3414231fe4fa66
|
|
| MD5 |
be109e19c7ef059f14b5af98e378c6a4
|
|
| BLAKE2b-256 |
d2d4850f6f35f9326f5f73525763ffea251537dddc83c00c6105e425172bf1b6
|
Provenance
The following attestation bundles were made for hatch_xclam-0.7.0.dev12.tar.gz:
Publisher:
semantic-release.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.7.0.dev12.tar.gz -
Subject digest:
744847b28ad6c39b054cdb885105e4d5be058e48429af1215e3414231fe4fa66 - Sigstore transparency entry: 757023602
- Sigstore integration time:
-
Permalink:
CrackingShells/Hatch@fbcbd1480e6272837770caeec92d8bae62f06f45 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/CrackingShells
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@fbcbd1480e6272837770caeec92d8bae62f06f45 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hatch_xclam-0.7.0.dev12-py3-none-any.whl.
File metadata
- Download URL: hatch_xclam-0.7.0.dev12-py3-none-any.whl
- Upload date:
- Size: 611.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 |
cd36ddc15ccebfe81e1c471b738bc9b6b950aa7556d0a230c6754bfd1fcbd6f2
|
|
| MD5 |
831d9c7c9b587518f05bdfe0dfa054d9
|
|
| BLAKE2b-256 |
48c83eaa8de185009f13c2189b26a59e92ec1d5c568f11a0aac51011b35b0394
|
Provenance
The following attestation bundles were made for hatch_xclam-0.7.0.dev12-py3-none-any.whl:
Publisher:
semantic-release.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.7.0.dev12-py3-none-any.whl -
Subject digest:
cd36ddc15ccebfe81e1c471b738bc9b6b950aa7556d0a230c6754bfd1fcbd6f2 - Sigstore transparency entry: 757023607
- Sigstore integration time:
-
Permalink:
CrackingShells/Hatch@fbcbd1480e6272837770caeec92d8bae62f06f45 -
Branch / Tag:
refs/heads/dev - Owner: https://github.com/CrackingShells
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@fbcbd1480e6272837770caeec92d8bae62f06f45 -
Trigger Event:
push
-
Statement type: