feat(mcp): MCP roots to narrow the allowed directories

Open
#265 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start in packages/pivotkit-mcp/src/registry.js, focusing on filePath, and read issue #257 for the prior context. Check how the MCP client announces roots and how files.allowDirs is applied; roots should only narrow those allowed directories. Confirm the implementation handles the stated input-required (MRTR) requirement, then verify that announced roots cannot grant access outside files.allowDirs.

Written by the indexing model from the issue text.

Description

area:mcp enhancement idea

Clients can announce roots; in MCP 2026-07-28 that needs input-required (MRTR). Roots may only narrow files.allowDirs, never widen them. packages/pivotkit-mcp/src/registry.js (filePath). From #257.

Dominant language
JavaScript
Stars
1
Forks
1
Avg merge
3h 21m
Merged PRs (30d)
250

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 eizedev/pivotkit

All issues in eizedev/pivotkit

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.