py-commander-mcp
MCP Server for filesystem operations, process execution, PDF creation,
system management, and configuration — all via uvx, no Node.js required.
Built as a Python port of Desktop Commander's key features.
Features
Filesystem
- Read files: text (pagination), PDF, Excel, DOCX, images (base64)
- Write files: text, DOCX (markdown→styled), Excel (JSON→sheets)
- PDF creation: create from markdown, insert/delete pages, page breaks
- Edit files: surgical
edit_blockfind/replace - Directory ops: list (recursive depth), create, move/rename
- Search: by file name (glob/regex) or file content with context
Process execution
- Start shell commands, REPLs (Python, Node.js, etc.), scripts
- Interactive stdin I/O with prompt detection
- Output pagination (offset/length like
read_file) - Session management: list, force-terminate, auto-cleanup
System tools
list_processes: cross-platform (Linux/macOS/Windows) process listingkill_process: kill any system PID (SIGTERM → SIGKILL on Unix, taskkill on Windows)get_config/set_config_value: JSON-based config persistence (blocked commands, allowed directories, limits, telemetry)
Usage
{
"mcpServers": {
"py-commander-mcp": {
"command": "uvx",
"args": ["py-commander-mcp"]
}
}
}
Tools
Filesystem (12 tools)
| Tool | Description |
|---|---|
read_file |
Read files (text, PDF, Excel, DOCX, images) |
read_multiple_files |
Read multiple files at once |
write_file |
Write/create/append files |
edit_block |
Surgical find/replace edits |
write_pdf |
Create/modify PDFs from markdown |
create_directory |
Create directories |
list_directory |
List directory contents with depth |
move_file |
Move/rename files and directories |
get_file_info |
File metadata |
start_search |
Search files by name or content |
get_more_search_results |
Paginate search results |
stop_search / list_searches |
Manage search sessions |
Process execution (5 tools)
| Tool | Description |
|---|---|
start_process |
Start a subprocess (REPL, script, command) |
read_process_output |
Read output with offset/length pagination |
interact_with_process |
Send stdin, capture response, detect prompts |
force_terminate |
Kill a managed process (SIGTERM → SIGKILL) |
list_sessions |
List active managed process sessions |
System tools (4 tools)
| Tool | Description |
|---|---|
list_processes |
List all running system processes (cross-platform) |
kill_process |
Kill any system process by PID |
get_config |
Return full server configuration |
set_config_value |
Set a configuration value by key |
Metadata
Release files for py-commander-mcp 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_commander_mcp-0.3.0.tar.gz | 19.8 kB | Without provenance | Details for py_commander_mcp-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_commander_mcp-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for py_commander_mcp-0.3.0-py3-none-any.whl |
Total release size: 42.3 kB
Release files / py_commander_mcp-0.3.0.tar.gz
| Download URL | py_commander_mcp-0.3.0.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4de472b72512dcd4edc6b7aaa4078a88721c156258d95bb433992e0dbcf83bba
|
|
BLAKE2b-256 checksum How to use checksums |
58f1c77d17c6f73c390bc193b98a64aaae35a1cc44fcc4f18792043813198dbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / py_commander_mcp-0.3.0-py3-none-any.whl
| Download URL | py_commander_mcp-0.3.0-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d264ccba445847e2bfa1bd2bacbfdc482f67d59ed285a7beb4fa9069ed836b44
|
|
BLAKE2b-256 checksum How to use checksums |
54472e9c0cf8afadd3ef0f62563120cc0c8aef643c8b968931b2ec8a58a3a4a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for py-commander-mcp 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.