modelcontextprotocol / modelcontextprotocol/servers

Configurable write permissions for filesystem server

Open
#632 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement server-filesystem
Dominant language
TypeScript
Stars
90.5k
Forks
11.7k
Avg merge
2d 2h
Merged PRs (30d)
5

Description

Is your feature request related to a problem? Please describe.

I'd like to run the filesystem server in a read only mode.

Describe alternatives you've considered

I need to copy any directories that I want to protect from writes to a new directory and mark those files as read only. If anything is written to, it generates an error. As a workaround I put the directory copy under revision control so I can see what was changed and revert it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points; first locate the filesystem server and the code paths that perform writes. Define how a configurable read-only mode should be exposed, then verify that protected directories reject writes while remaining readable, including coverage for the new setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.