Skip to main content

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.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_commander_mcp-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file py_commander_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: py_commander_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 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

Hashes for py_commander_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3439b70999eba079ee8d0f3872346b3c9384e8437a763f7471819d48dbdcf818
MD5 864b59435af97dd2f210c1c769e93f60
BLAKE2b-256 b75ea2e57d9cf319433c50b3fc4caf392fd5b308117a085cc1baaa2bdb0a9780

See more details on using hashes here.

File details

Details for the file py_commander_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: py_commander_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.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

Hashes for py_commander_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21f0b461f49fb954c57168f7f9a47eb3ad7a28bb811b4443345556cd341a827f
MD5 bb7a8cbbd738e2db8f6ebb1bb1bb2607
BLAKE2b-256 f916fc5c08293a0251902e6c0e88f3759e8e1351c5c2e4e87b4462fe7b8a09f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page