Skip to content

MCP setupWorkflow

Filesystem MCP Server

Give an agent scoped file access through the reference Filesystem MCP server, limited to the folders you list and optionally read-only.

npx workspacetemplates add filesystem-mcp --tool claude-code

Writes 1 file to your project root

.mcp.jsonmerge into your file13 lines · 200 BFile
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "--read-only",
        "."
      ]
    }
  }
}

What it does

The Filesystem server is part of the official Model Context Protocol servers repository. It reads, searches and edits files, but only inside the directories you pass on the command line.

Use it with agents that have no file tools of their own, or to expose a notes or docs folder outside the project. This config passes the current folder and starts in read-only mode.

Example

you › Find every markdown file under docs that mentions "rate limit" and list the headings that contain it.

agent › 3 files: docs/api.md ("Rate limits"), docs/errors.md ("429 and rate limit headers"), docs/faq.md ("Why was my request limited?").

Questions

How do I allow more folders?
Add each path as another argument after the package name. The server refuses anything outside them.
How do I let it write?
Remove the --read-only flag. Check the folder list first, since writes are real.
  • Asana MCP Server

    MCP setupWorkflow

    Free
  • Atlassian MCP Server

    MCP setupWorkflow

    Free
  • Brave Search MCP Server

    MCP setupWorkflow

    Free
  • ClickUp MCP Server

    MCP setupWorkflow

    Free