Skip to main content

Package manager for the Cracking Shells ecosystem

Project description

Hatch

Hatch Logo

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 at once
hatch mcp configure my-server --host claude-desktop,cursor,vscode \
  --command python --args "-m my_server"

Inspect what is configured

# See all servers across all hosts
hatch mcp list servers

# See all hosts a specific server is registered on
hatch mcp show servers --server "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:

  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
  6. Run tests: wobble
  7. Open a pull request

License

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.8.1.tar.gz (222.6 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.8.1-py3-none-any.whl (283.1 kB view details)

Uploaded Python 3

File details

Details for the file hatch_xclam-0.8.1.tar.gz.

File metadata

  • Download URL: hatch_xclam-0.8.1.tar.gz
  • Upload date:
  • Size: 222.6 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.8.1.tar.gz
Algorithm Hash digest
SHA256 df2b8444fadabbed831cbbbbe255cdf434685a166c14f30c255d6e723aba3d76
MD5 4650e0404d02a1e4794de388dd1f68bc
BLAKE2b-256 e2228240c8aa366235e0d18de6bcaf5218c4066b5f123ff6be46af0619213a8c

See more details on using hashes here.

Provenance

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

Publisher: publish.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.8.1-py3-none-any.whl.

File metadata

  • Download URL: hatch_xclam-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 283.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hatch_xclam-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2fc687994b101b5a91efb8fd3dfb04508b3bb55c3d82e8b7bc4489bb88e237f
MD5 d2fbdbebf93593c3e94f29903147c490
BLAKE2b-256 68749df7e16e7b5ad9932675c267bc2f9b5420c6c6ee8edcafb88df1223b8a6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_xclam-0.8.1-py3-none-any.whl:

Publisher: publish.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