Skip to main content

debug-mcp-server-launcher

A Python launcher for the debug-mcp-server, providing step-through debugging capabilities for LLM agents.

Overview

This launcher simplifies running the debug-mcp-server by:

  • Auto-detecting available runtimes (Node.js/npm or Docker)
  • Automatically launching the server with the appropriate runtime
  • Handling process lifecycle and graceful shutdowns
  • Providing clear error messages and installation guidance

Installation

pip install debug-mcp-server-launcher

This will install the launcher and ensure debugpy (required for Python debugging) is available.

Usage

Basic Usage

# Launch in stdio mode (default)
debug-mcp-server

# Launch in SSE mode
debug-mcp-server sse

# SSE mode with custom port
debug-mcp-server sse --port 8080

Runtime Selection

The launcher automatically detects and uses the best available runtime:

  1. npm/npx (preferred) - if Node.js is installed
  2. Docker (fallback) - if Docker is installed and running

You can force a specific runtime:

# Force Docker mode
debug-mcp-server --docker

# Force npm mode  
debug-mcp-server --npm

Other Options

# Show what command would be executed
debug-mcp-server --dry-run

# Enable verbose output
debug-mcp-server --verbose

# Show version
debug-mcp-server --version

# Show help
debug-mcp-server --help

Requirements

For npm/npx mode:

  • Node.js 22+ installed
  • The launcher will automatically download the server package via npx

For Docker mode:

  • Docker installed and running
  • The launcher will automatically pull the image if needed

For Python debugging:

  • debugpy is automatically installed with this package

Transport Modes

  • stdio: Standard input/output communication (default)
  • sse: Server-Sent Events mode for HTTP-based communication
    • Default port: 3001
    • Custom port: Use --port option
    • Deprecated: SSE transport is deprecated in the debug-mcp-server and will be removed in a future release; the server prints a deprecation warning at startup. This launcher currently forwards only stdio and sse, so for HTTP-based transport invoke the server's http subcommand directly (mcp-debugger http -p <port>) until the launcher adds an http mode.

Troubleshooting

If you encounter issues:

  1. "No suitable runtime found"

  2. "Docker daemon is not running"

    • Start Docker Desktop
    • Or use npm mode: debug-mcp-server --npm
  3. "npx command not found"

    • Ensure Node.js is properly installed
    • npx typically comes with npm (Node.js package manager)

Development

This is a launcher package for the main debug-mcp-server project. For server development and contributions, see: https://github.com/debugmcp/mcp-debugger

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

debug_mcp_server_launcher-0.24.2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

debug_mcp_server_launcher-0.24.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file debug_mcp_server_launcher-0.24.2.tar.gz.

File metadata

File hashes

Hashes for debug_mcp_server_launcher-0.24.2.tar.gz
Algorithm Hash digest
SHA256 60faf1662fdcf6b7c5c7da86071af4c41ecf7f699733ffb713a9007e9e3d6a37
MD5 6d606784d482aefa76c773a982f27a4f
BLAKE2b-256 18e73f6ce6bd704d381e642f9cc2f7bcd9d73abc38d94ae87f96758b6e9ec518

See more details on using hashes here.

File details

Details for the file debug_mcp_server_launcher-0.24.2-py3-none-any.whl.

File metadata

File hashes

Hashes for debug_mcp_server_launcher-0.24.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b296e2a235c8a1b2fe74e200cfd3b6cdacf3d023ee3333cb86c2bd5d30241d07
MD5 3d527ee187841818881ccefe81d21a1a
BLAKE2b-256 8db64528c42e23d42e5e6b261a9790849b639842e109a50185f9471249dfd9d2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.24.2 This release

2 files

0.24.1

2 files

0.24.0

2 files

0.23.0

2 files

0.22.0

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.1

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.15.8

2 files

0.14.1

2 files

0.14.0

2 files

0.12.0

2 files

0.11.2

2 files

0.1.0

2 files

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