Skip to content
OwnlyPlans

MCP server

Filesystem MCP Server

Read, write, search and move files, limited to the folders you allow.

Remix

Use it with Claude or any AI tool. Copy the prompt and paste it in. The link inside gives the AI the whole page as Markdown.

Markdown

Install

Terminal
claude mcp add-json filesystem '{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","/path/to/your/project"]}'

Adds the server to Claude Code. For other apps, copy the config below.

About

The reference Filesystem server. Claude can read and write files, make edits, create folders, move and copy files, search by pattern and print a directory tree, but only inside the directories you pass on the command line.

Replace the example paths in the config with the folders you want to share. Keep the list short: anything inside those folders can be changed.

Files and links

  • Filesystem MCP Server config MCP config Add this to your MCP client's config, or use the install line.

    Check it before you connect it. This server runs with your permissions: npx -y @modelcontextprotocol/server-filesystem /path/to/your/project

    Claude Code
    claude mcp add-json filesystem '{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","/path/to/your/project"]}'

Your AI tool
Starter prompt

		

Download the plan