Skip to main content

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 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:

  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.

Metadata

Release files for hatch-xclam 0.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hatch-xclam 0.8.3
File Size Uploaded
hatch_xclam-0.8.3.tar.gz 224.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hatch-xclam 0.8.3
File Interpreter ABI Platform
hatch_xclam-0.8.3-py3-none-any.whl Python 3 none any Details

Total release size: 509.0 kB

Release files / hatch_xclam-0.8.3.tar.gz

Download URL hatch_xclam-0.8.3.tar.gz
Size 224.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ca26bab47fcce1687c7fc48d1cf94644bd4496c828975f1c428b779de9030928
BLAKE2b-256 checksum
How to use checksums
ee267d797b642c79435cd42d77007eeb6b551b0f41105c3a4b0b98fd7cc76097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 31, 2026.

Transparency log

Release files / hatch_xclam-0.8.3-py3-none-any.whl

Download URL hatch_xclam-0.8.3-py3-none-any.whl
Size 284.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e558a315a59214f9e0fb7ffd3ec33727f38ceb185781205b1c47d1d9287e2094
BLAKE2b-256 checksum
How to use checksums
8428eb1f6cd0edfc573d5089f0c44ec03b823425822074ccead990d0edd1eaa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 31, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page