filemanager
A powerful file manager MCP server with advanced directory listing and file operations
claude mcp add --transport stdio leemwood-filemanager-mcp-server npx -y filemanager-mcp-server
How to use
This MCP server implements a powerful File Manager within Trae IDE, exposing a set of file and directory manipulation operations via the MCP API. It supports basic operations like creating, reading, writing, deleting, copying, moving, and listing files and directories, as well as advanced features such as template-based file creation, project structure generation, and batch file operations. You can invoke these capabilities through the provided MCP API calls (for example, create_file, read_file, list_directory, batch_create_files, etc.) to automate common file management tasks inside your workspace. The server also offers enhanced editing and reading modes, including append/prepend/insert edits, encoding options, line or byte-specific reads, and template-driven content generation, making it suitable for building sophisticated file workflows within the IDE.
To use it, configure the MCP server in Trae IDE with the appropriate command (the default setup uses npx to run the package) and then issue actions through the MCP API payloads. Examples include creating a new configuration file, copying files, searching for files with wildcards, or generating a React project structure. The API surface is documented in the API Reference section of the readme, covering individual operations (create_file, read_file, search_files, etc.), batch operations, and advanced features like create_from_template and create_project_structure. By composing these calls, you can automate repetitive file tasks and integrate file management into larger workflows within the IDE.
How to install
Prerequisites:
- Node.js and npm installed on your system
- Access to the internet to install packages from npm registry
- Global installation (recommended):
npm install -g filemanager-mcp-server
- Project-local installation:
npm install filemanager-mcp-server
- Configure the MCP service in Trae IDE using either the global install path or a local project path. The following examples show common configurations.
Using npx (recommended):
{
"mcpServers": {
"filemanager": {
"command": "npx",
"args": [
"-y",
"filemanager-mcp-server"
]
}
}
}
If the above method doesn’t work, you can clone the repository and run locally:
git clone https://github.com/yourusername/filemanager-mcp-server.git
cd filemanager-mcp-server
npm install
Then configure MCP to run directly from the local path with Node:
{
"mcpServers": {
"filemanager": {
"command": "node",
"args": ["node_modules/filemanager-mcp-server/index.js"]
}
}
}
- Verify installation by starting Trae IDE and loading the MCP configuration. Use the provided API calls to interact with the server.
Additional notes
Tips and notes:
- All paths are resolved to absolute paths internally; you can rely on consistent path handling.
- When creating files, necessary parent directories are automatically created.
- Delete operations are irreversible; use with caution.
- Supports UTF-8 encoded text files.
- The search function supports wildcard patterns (e.g., *).
- Environment variables can be used for customization (e.g., encoding, default templates, backup behavior) depending on your deployment.
- The API reference includes examples for basic, batch, and advanced operations; consult it when composing MCP payloads to perform complex tasks.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.