MCP Server — filesystem operations, process execution, PDF creation, system tools, and config management
Project description
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 |
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
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 py_commander_mcp-0.2.1.tar.gz.
File metadata
- Download URL: py_commander_mcp-0.2.1.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28220c8d9162790fcd3a3e3a7a5b3cfc4e00b3f5487eb551b56881d9b30a8082
|
|
| MD5 |
8670cae1b6bb9fddbebe55e5bf60134a
|
|
| BLAKE2b-256 |
60c23e043cd748e93cfefe4fca6db1a5401a74708749a6be690aa0b9a05003e7
|
File details
Details for the file py_commander_mcp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: py_commander_mcp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
048149f80dede3967aed4d01d0db91f6159b17a2a85fcc65b427596017d08640
|
|
| MD5 |
15a9f19535d9d04b10a9868957d04fea
|
|
| BLAKE2b-256 |
ad290d4f932c85faeb4740f25fd9219aee31e2b5aa5fe9d79a044a5563e8a134
|