MCP Server — filesystem operations, process execution, PDF creation, system tools, and config management
Project description
py-commander-mcp
MCP Server for filesystem and process operations — read, write, edit, search, manage files, and execute subprocesses (REPLs, shell commands, scripts).
Built as a Python port of the key features from Desktop Commander.
Runs exclusively via uvx — no Node.js required.
Features
Filesystem tools
- Read files: text (with offset/length pagination), PDF, Excel, DOCX, images (base64)
- Write files: text, DOCX (from markdown), Excel (from JSON 2D arrays)
- Edit files: surgical find/replace with
edit_block - Directory ops: list (recursive with depth), create, move/rename
- File metadata: size, dates, line counts
- Search: by file name (glob/regex) or file content with context lines
Process execution tools
- Start subprocesses: shell commands, REPLs (Python, Node.js, etc.), scripts
- Interactive REPL I/O: send input, capture output, detect prompts
- Output pagination: read process output with offset/length (like
read_file) - Session management: list active sessions, force-terminate, auto-cleanup finished ones
Usage
{
"mcpServers": {
"py-commander-mcp": {
"command": "uvx",
"args": ["py-commander-mcp"]
}
}
}
Tools
Filesystem
| 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 |
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 |
Stop and free a search session |
list_searches |
List active searches |
Process execution
| Tool | Description |
|---|---|
start_process |
Start a subprocess (REPL, script, shell command) |
read_process_output |
Read process output with offset/length pagination |
interact_with_process |
Send stdin to a process, capture response |
force_terminate |
Kill a running process (SIGTERM → SIGKILL) |
list_sessions |
List active process sessions |
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.0.tar.gz.
File metadata
- Download URL: py_commander_mcp-0.2.0.tar.gz
- Upload date:
- Size: 19.7 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 |
d7678f096f82d4176403c497f5fc75214990112b09e30421251e672f8714464a
|
|
| MD5 |
5d9d59a60f405d0f3a18ac3c2de2f79e
|
|
| BLAKE2b-256 |
1e6a2e7d960f6aa340c971d84d8f4b75ec7a7e532970b9b31e233d3d2f770d3b
|
File details
Details for the file py_commander_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: py_commander_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 22.3 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 |
1db7df599265eaeb2b7925763120af169d79e527a2ff9bdf91588feab2ccc2fd
|
|
| MD5 |
95a23d4eb7b33fb3f9630a580f6ae7af
|
|
| BLAKE2b-256 |
17dda62bb851313089d77b17dd06d2bd832262b089b67b932b174730768f5dc4
|