Skip to main content

Package manager for the Cracking Shells ecosystem

Project description

Hatch

Hatch Logo

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

Contributing

We welcome contributions! See the How to Contribute guide for details.

Quick start for developers

  1. Fork and clone the repository
  2. Install dependencies: pip install -e . and npm install
  3. Create a feature branch: git checkout -b feat/your-feature
  4. Make changes and add tests
  5. Use conventional commits: npm run commit for guided commits
  6. Run tests: python -m pytest tests/
  7. Create a pull request

We use Conventional Commits for automated versioning. Use npm run commit for guided commit messages.

Getting help

License

This project is licensed under the GNU Affero General Public License v3 — see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hatch_xclam-0.7.0.dev12.tar.gz (532.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hatch_xclam-0.7.0.dev12-py3-none-any.whl (611.5 kB view details)

Uploaded Python 3

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

Hashes for hatch_xclam-0.7.0.dev12.tar.gz
Algorithm Hash digest
SHA256 744847b28ad6c39b054cdb885105e4d5be058e48429af1215e3414231fe4fa66
MD5 be109e19c7ef059f14b5af98e378c6a4
BLAKE2b-256 d2d4850f6f35f9326f5f73525763ffea251537dddc83c00c6105e425172bf1b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_xclam-0.7.0.dev12.tar.gz:

Publisher: semantic-release.yml on CrackingShells/Hatch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hatch_xclam-0.7.0.dev12-py3-none-any.whl.

File metadata

File hashes

Hashes for hatch_xclam-0.7.0.dev12-py3-none-any.whl
Algorithm Hash digest
SHA256 cd36ddc15ccebfe81e1c471b738bc9b6b950aa7556d0a230c6754bfd1fcbd6f2
MD5 831d9c7c9b587518f05bdfe0dfa054d9
BLAKE2b-256 48c83eaa8de185009f13c2189b26a59e92ec1d5c568f11a0aac51011b35b0394

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page