MCP Server for filesystem operations — read, write, edit, search, manage files and directories
Project description
py-commander-mcp
MCP Server for filesystem operations — read, write, edit, search, and manage files and directories.
Built as a Python port of the key features from Desktop Commander.
Features
- 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
Usage
{
"mcpServers": {
"py-commander-mcp": {
"command": "uvx",
"args": ["py-commander-mcp"]
}
}
}
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 |
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 |
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
py_commander_mcp-0.1.1.tar.gz
(12.6 kB
view details)
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.1.1.tar.gz.
File metadata
- Download URL: py_commander_mcp-0.1.1.tar.gz
- Upload date:
- Size: 12.6 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 |
a345e2022bfce2c3ffdfc65e43d08dd2ebc125440b76963b5a800da32126fe6c
|
|
| MD5 |
6c1102e9e3abedfe8899c644cbb20e9b
|
|
| BLAKE2b-256 |
134c740e2617c6f4380cc6354411700b91f1dbd36e2645471c73f404a3db84e2
|
File details
Details for the file py_commander_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: py_commander_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.9 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 |
bc228a887ff3e70df4505ef26f3bf87589f8c64b49d758a28123a0bc1b7ba71c
|
|
| MD5 |
415213ee1618297de2c595dadf2fc3ca
|
|
| BLAKE2b-256 |
03b68adef1fb3ac1de8e51e222b9931c675a383bca5149937d4805a96c22916b
|