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

pip install mcpmon

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

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.0.tar.gz (3.1 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.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcpmon-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 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.0.tar.gz
Algorithm Hash digest
SHA256 a1108dc4bb0a75df1d6a3ce22ae114be338417f263a99ef3ea8593493c44d768
MD5 f55f40e73aafec42e6cd9949c85dea39
BLAKE2b-256 c6ba2ab667f89a248fd2f1d9e1e4dba565e3ff5939aa28bf68d6b87db7d341ae

See more details on using hashes here.

Provenance

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

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

File metadata

  • Download URL: mcpmon-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b93a871e034d69c7b31db2404049ffb2ce59f2e704daf9ae33e7293970498403
MD5 7a03670b06ae43599f2e046b248c8139
BLAKE2b-256 3dc1c54f6fd71e990138f3f4f57d3d02908fe629623939c7f5ea2008adb84e66

See more details on using hashes here.

Provenance

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

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