Skip to main content

Hot reload for MCP servers. Like nodemon, but for MCP.

Project description

mcpmon

Hot reload for MCP servers. Like nodemon, but for MCP.

Install

# Bun (recommended)
bunx mcpmon

# Or install globally
bun install -g mcpmon

# Python alternative
pip install mcpmon

# Or download binary from GitHub releases (no dependencies)

Usage

mcpmon --watch src/ -- python -m my_mcp_server

Options

  • --watch, -w - Directory to watch (default: current directory)
  • --ext, -e - File extensions to watch, comma-separated (default: py)

Examples

# Watch current directory for .py changes
mcpmon -- python server.py

# Watch src/ for .py and .json changes
mcpmon --watch src/ --ext py,json -- python -m myserver

# With crucible-mcp
mcpmon --watch src/crucible/ -- crucible-mcp

# With sage-mcp
mcpmon --watch ~/.sage/ --ext py,yaml -- sage-mcp

MCP Config

Use mcpmon in your .mcp.json for hot reload during development:

{
  "mcpServers": {
    "my-server": {
      "command": "mcpmon",
      "args": ["--watch", "src/", "--", "python", "-m", "my_server"]
    }
  }
}

How it works

  1. Starts your MCP server as a subprocess
  2. Watches specified directory for file changes
  3. On change: SIGTERM → wait 2s → SIGKILL → restart
  4. Claude Code automatically reconnects to the restarted server

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

mcpmon-0.1.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

mcpmon-0.1.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file mcpmon-0.1.3.tar.gz.

File metadata

  • Download URL: mcpmon-0.1.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcpmon-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6dd007d2b08110dc3156c426bc28d0aac591318d99ea9643368bf602cf57147a
MD5 d2415a189b76123ee01fb20bc5b5c3c8
BLAKE2b-256 dcf398018d891d7e2857879885026d95ae1688add47d32d8c84f70594d086705

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpmon-0.1.3.tar.gz:

Publisher: release.yml on b17z/mcpmon

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

File details

Details for the file mcpmon-0.1.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mcpmon-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a116d3fea884c505e0e0d86716da517afd992af6b1f18d4e1fd7495f8ca88b
MD5 f1c1d91779c128eb049add07cba4a6e2
BLAKE2b-256 c481d7b3a9fceb6a2302ffee18656d8208934af985f02cf94fa19b92da6db8dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpmon-0.1.3-py3-none-any.whl:

Publisher: release.yml on b17z/mcpmon

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