Skip to main content

Launcher for debug-mcp-server. This package ensures debugpy is installed and provides instructions to run the main server (Node.js or Docker).

Project description

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 16+ 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

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

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

debug_mcp_server_launcher-0.15.8b2.tar.gz (8.9 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.15.8b2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file debug_mcp_server_launcher-0.15.8b2.tar.gz.

File metadata

File hashes

Hashes for debug_mcp_server_launcher-0.15.8b2.tar.gz
Algorithm Hash digest
SHA256 a849c524243787acac68a8a8668d3a544c0a5f5ed67d55860257adb30f28c364
MD5 6dfe8fe7f40fc330434bf76c5061d068
BLAKE2b-256 20380fbab2aed6fb301aa1826215205e2ea35c2c403dac52a2b8fa6575a79f20

See more details on using hashes here.

File details

Details for the file debug_mcp_server_launcher-0.15.8b2-py3-none-any.whl.

File metadata

File hashes

Hashes for debug_mcp_server_launcher-0.15.8b2-py3-none-any.whl
Algorithm Hash digest
SHA256 b5bc566b8bffff55f1287847d6a1dcec9b661bddc7585266fe6166079af4d3ba
MD5 1f608798b3cac64312fb6c88a6d7e0a9
BLAKE2b-256 a1767c6c9673a4e2d67d25f11137415f7ac13c42e64b63c2a577267a2d801328

See more details on using hashes here.

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