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:
- npm/npx (preferred) - if Node.js is installed
- 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:
debugpyis 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
--portoption
Troubleshooting
If you encounter issues:
-
"No suitable runtime found"
- Install Node.js from https://nodejs.org (recommended)
- Or install Docker from https://docker.com
-
"Docker daemon is not running"
- Start Docker Desktop
- Or use npm mode:
debug-mcp-server --npm
-
"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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file debug_mcp_server_launcher-0.21.0.tar.gz.
File metadata
- Download URL: debug_mcp_server_launcher-0.21.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c87b285107531662aa3eb18231a514046e7ccc8af9c52900a3bbec46789a1054
|
|
| MD5 |
a1878c599ae72f0062b3d0935634f5db
|
|
| BLAKE2b-256 |
11e5c81fd7192db2b4d0f57f4511b474f44a22acbd31e94ce5a0814f5c4ab8ef
|
File details
Details for the file debug_mcp_server_launcher-0.21.0-py3-none-any.whl.
File metadata
- Download URL: debug_mcp_server_launcher-0.21.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d45729ab32f857cfe0bbb4c4dcc990b4fd8f561ec2bc041cc8134c547511dc7
|
|
| MD5 |
81c6ec142e1269e3be7ca43540ad12f6
|
|
| BLAKE2b-256 |
71e1071fc875db75b5c47a27fe82509a947b69caad27ab237fb17b020578a224
|