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.4.tar.gz (4.8 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.4-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcpmon-0.1.4.tar.gz
  • Upload date:
  • Size: 4.8 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.4.tar.gz
Algorithm Hash digest
SHA256 95e7d476b0e093ef50e989d69c56c3647be8ef6b556a6a988b29ef468111dcb0
MD5 096c7e32e5a2dc6b0dd5cd036496db00
BLAKE2b-256 e4a1a5fd4485a429547d922613b372679873bc187226e6a0a31f63a4ec1de804

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpmon-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: mcpmon-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4b4f89d2e73240c3837dbea3788d512006d4e6dfd522f35db38f4341df2d18
MD5 bdac80ba996937c0fcdc2f705f809514
BLAKE2b-256 3d517f2986f3dce06d991252198029a18a1581db8b6693f9422726d9c28b0a4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpmon-0.1.4-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