- Home
- MCP servers
- AI FileSystem
AI FileSystem
- typescript
3
GitHub Stars
typescript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"proofmath-owner-ai-filesystem-mcp": {
"command": "node",
"args": [
"/path/to/ai-filesystem-mcp/dist/index.js"
]
}
}
}You run AI FileSystem MCP, an MCP server that enables intelligent file system operations with advanced features like smart caching, bulk batch actions, secure encryption, advanced search, and language-aware code analysis. This server connects with an MCP client to perform sophisticated file tasks quickly and safely, from compression and archiving to semantic search and secure file handling.
How to use
Connect your MCP client to the AI FileSystem MCP server to perform intelligent file operations. You can run local server processes or connect to a remote MCP endpoint depending on your setup. Use the MCP client to request code analysis, large file management, batch operations, security scans, and advanced search. You can also leverage integration features to sync with cloud storage and manage versioned content.
How to install
Prerequisites: ensure you have Node.js installed on your system. You will also need npm to install dependencies and build the project.
Step 1: Clone the project repository.
Step 2: Install dependencies.
Step 3: Build the project.
Step 4: Start the server using the built dist index. You will typically run the server via a local runtime command that points to the built entry point.
Configuration and usage notes
{
"mcpServers": {
"ai_filesystem": {
"command": "node",
"args": ["/path/to/ai-filesystem-mcp/dist/index.js"]
}
}
}
This configuration runs the MCP server locally. If you host the server elsewhere, use the same command structure and point to the hosted entry point.
Usage examples and common workflows
Common workflows you can perform with the MCP server include: - Analyze code and extract language-specific features. - Modify code across multiple languages with safe transformations. - Diff and merge files, including 3-way merges and binary comparisons. - Compress and extract archives in ZIP, TAR, or TAR.GZ formats. - Perform semantic searches and date/size-based file queries. - Encrypt files with AES-256 and scan for secrets. - Batch rename, move, copy, and delete with transaction support. - Integrate with cloud storage and remote file systems for syncing.
Claude Desktop configuration example
{
"mcpServers": {
"ai-filesystem": {
"command": "node",
"args": ["/path/to/ai-filesystem-mcp/dist/index.js"]
}
}
}
Security and best practices
Prioritize secure operations: use encryption for sensitive files, run secret scans to detect embedded credentials, and perform regular security audits. Validate permissions before performing shell or system actions, and use sandboxed paths for untrusted inputs.
Troubleshooting
If you encounter permission issues, verify file permissions and adjust them with safe permission changes. For performance problems with large files, enable streaming and consider archiving or cloud backup. For search issues, try fuzzy or semantic search queries and check file patterns.
Notes
This MCP server emphasizes robust code analysis, safe code modifications across multiple languages, and strong security controls. You can extend capabilities with batch operations, integration features, and enhanced monitoring.
Changelog highlights
v2.x introduces performance improvements, advanced diff and 3-way merge, compression and archive management, enhanced search, code quality features, security enhancements, batch operations, integration and sync, monitoring, and improved error handling. Language-specific analysis and extended code modification support were added in later updates.
Appendix: Commands you will typically use
# Install dependencies
npm install
# Build the project
npm run build
# Start the server (example using built entry point)
node dist/index.js
# Or configure via MCP client to connect to the local built entry
Available tools
analyze_code
Performs language-specific code analysis and extracts imports, functions, classes, and language-specific features.
modify_code
Applies safe, multi-language code modifications such as symbol renaming, import management, function updates, and pattern replacements.
diff_files
Computes differences between two files and presents them in unified, side-by-side, or inline formats, including 3-way merge support.
compress_files
Compresses files and directories into ZIP, TAR, or TAR.GZ formats, with batch compression and smart extraction detection.
semantic_search
Performs natural language and semantic search over file contents and metadata.
scan_secrets
Scans directories for hardcoded secrets and sensitive information.
encrypt_file
Encrypts files using AES-256 with a password and manages encrypted payloads.
execute_shell
Executes shell commands with multi-level security controls and optional environment configuration.
shell
Quick shell command execution in permissive mode for rapid development tasks.
git_init
Initializes new Git repositories (regular or bare).
git_add
Stages changes for commit.
git_commit
Commits staged changes with a message.
git_push
Pushes commits to a remote repository.
github_create_pr
Creates pull requests via GitHub CLI integration.
git_log
Views commit history and changes.
git_branch
Manages Git branches including create, delete, and switch.
batch_operations
Performs bulk file operations with pattern matching and transactional safety.