Improvement : option to set an explicit file access directory

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
cli, security

Research direction

Start by locating the code that defines and handles --allow-unrestricted-file-access, then read how the MCP server chooses its working directory for file access. Add support for configuring an explicit directory and verify that file access uses it instead of the server's working directory; the issue does not identify specific files or tests.

Written by the indexing model from the issue text.

Description

Additonally to --allow-unrestricted-file-access parameter it would be helpful to have an option to set an explicit directory for the file access.
Something like:

--file-access-directory

or with an additional value for the exsiting parameter:

--allow-unrestricted-file-access pathToFileAccessDirectory

Like this you could use a directoy of an existing project instead of MCP server's working directory.

Dominant language
JavaScript
Stars
4
Forks
1
Avg merge
3d 14h
Merged PRs (30d)
5

Getting set up

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.

More from SeleniumHQ/mcp

All issues in SeleniumHQ/mcp

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.