Skip to content

docs(filesystem): clarify read_multiple_files input#4504

Open
Joosboy wants to merge 1 commit into
modelcontextprotocol:mainfrom
Joosboy:docs-filesystem-read-multiple-files
Open

docs(filesystem): clarify read_multiple_files input#4504
Joosboy wants to merge 1 commit into
modelcontextprotocol:mainfrom
Joosboy:docs-filesystem-read-multiple-files

Conversation

@Joosboy

@Joosboy Joosboy commented Jul 9, 2026

Copy link
Copy Markdown

Summary

  • Clarify that read_multiple_files expects a non-empty paths array.
  • Document that each path must be within the allowed directories.
  • Note that returned file contents are separated by path references and ---.

Why

Issue #2032 reports that the read_multiple_files argument shape and behavior were not clear enough from the filesystem server docs. The tool schema already enforces a non-empty array, so this updates the README to match the current schema and output behavior.

Validation

  • git diff --check
  • npm run build --workspace @modelcontextprotocol/server-filesystem

Related issue

Refs #2032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant