Skip to main content
Glama

Filesystem MCP

A Model Context Protocol (MCP) server that provides secure filesystem access to AI assistants in Code Maestro Desktop.

What it does

This MCP server allows AI assistants to:

  • Read and write files

  • Create and navigate directories

  • Search for files

  • Edit existing files with precision

  • And more filesystem operations

All operations are restricted to the directories you explicitly allow.

Related MCP server: MCP File Browser Server

Why This Fork?

We forked the original @modelcontextprotocol/server-filesystem to make it more efficient for AI assistants. The original package could return extremely large outputs that waste tokens and overwhelm language models.

Our improvements:

  • Smart file reading limits - Prevents reading gigantic files in full

  • Directory listing caps - Returns manageable results even in folders with thousands of files

  • Depth-limited tree traversal - Avoids getting lost in deep folder structures

  • Optimized search results - Returns relevant matches without flooding the output

  • Skip large folders - Automatically bypasses node_modules, .git, and similar directories

These changes ensure your AI assistant gets the information it needs without drowning in unnecessary data.

Quick Start

1. Open CM Desktop and click connectors

2. Click "Add" and paste the following JSON:

{
  "mcpServers": {
    "Code Maestro - Filesystem MCP": {
      "transport": "stdio",
      "enabled": true,
      "command": "npx",
      "args": [
        "github:codemaestroai/filesystem-mcp",
        "<YOUR_PROJECT_PATH>"
      ],
      "env": {},
      "url": null,
      "headers": null
    }
  }
}

3. Replace <YOUR_PROJECT_PATH> with the actual path to your project directory

Example paths:

  • Windows: "C:\\Users\\YourName\\Projects\\my-project"

  • macOS/Linux: "/home/username/projects/my-project"

You can specify multiple directories:

"args": [
  "github:codemaestroai/filesystem-mcp",
  "/path/to/project1",
  "/path/to/project2"
]

Security

  • The MCP server can ONLY access directories you explicitly specify

  • All file operations are logged

  • Attempts to access files outside allowed directories will be rejected

Note: This is a temporary solution. We're working on native file operation support in CM Desktop.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Provides secure file system operations for AI assistants including directory listing, file reading/writing, deletion, searching, and copying. Features safety controls like path validation, permission checks, and file size limits.
    Last updated
  • F
    license
    -
    quality
    D
    maintenance
    Enables Large Language Models to safely browse and interact with local file systems through secure directory listing, file reading, and content search capabilities. Built with comprehensive security controls and high-performance handling of large directories and files.
    Last updated
  • A
    license
    -
    quality
    -
    maintenance
    Enables AI assistants to intelligently search and explore local file systems using native Unix commands (ripgrep, find, ls) with token-optimized output, automatic pagination, and multi-layer security validation.
    Last updated
    164
    2
  • A
    license
    -
    quality
    C
    maintenance
    Enables AI agents to safely explore directories, read files, search content by pattern or filename, and edit files with checksum verification and dry-run preview within sandboxed filesystem access.
    Last updated
    27
    74
    ISC

View all related MCP servers

Related MCP Connectors

  • Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.

  • Runtime permission, approval, and audit layer for AI agent tool execution.

  • SaaS intelligence for AI agents. 5 unified tools cover 1,000+ services with 91-96% token savings.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/codemaestroai/filesystem-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server