F

Filesystem MCP

Scoped read/write access to your local files

Anthropic·No reviews yet
Repo
Share:

About

Read, write, and search files on your local filesystem with configurable, scoped access. Grant the assistant explicit access to project directories to read source files, generate new files, edit in place, and search across a folder tree. Access is limited to the paths you allow — nothing outside them is reachable.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about Filesystem MCP.

What is the Filesystem MCP used for?
The Filesystem MCP allows AI assistants to read, write, and search files on your local filesystem. You can grant scoped access to specific project directories, enabling file manipulation and content searching within those boundaries.
How can I configure Filesystem MCP access in a client like Claude Desktop?
Configuration depends on the specific client. Generally, you would specify the filesystem MCP as a remote server and then configure the allowed file paths within the client's settings to define the access scope for the AI assistant.
Does the Filesystem MCP require an API key or other credentials?
No, the Filesystem MCP as described does not require an API key or other credentials. Access is managed through configuring explicit path allowances within your client application.
What core capabilities does the Filesystem MCP provide?
It provides capabilities for reading file contents, writing new files, modifying existing files in place, and performing searches across specified folder trees. These actions are strictly limited to the paths you configure.
Is there a cost associated with using the Filesystem MCP?
The Filesystem MCP itself, being open-source, does not incur direct costs. Any costs would depend on the client application or environment where it is deployed and how those services are priced.
What is a key limitation when using the Filesystem MCP?
A critical limitation is that access is strictly confined to the paths you explicitly allow. The AI assistant cannot access any files or directories outside of these pre-configured, scoped permissions, ensuring security.

Install Filesystem MCP

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "filesystem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.