docs(adr): propose that the MCP surface reads no local files #793

Merged
hexajon merged 1 commit from docs/adr-mcp-no-file-reads into main 2026-10-16 16:30:53 +00:00
Owner

Summary

ADR 0055 records a boundary. Over MCP a text payload is literal: the server never reads a local file or stdin for a payload. A server-side read would publish any file the server can read to the forge, and it would skip the outbound-text guards, which see only the tool argument. File input stays on the CLI, where a human types the path, and in the caller, which can read a file into its own context and pass the content inline. The status is proposed. It cites #792, the bug that surfaced it.

## Summary ADR 0055 records a boundary. Over MCP a text payload is literal: the server never reads a local file or stdin for a payload. A server-side read would publish any file the server can read to the forge, and it would skip the outbound-text guards, which see only the tool argument. File input stays on the CLI, where a human types the path, and in the caller, which can read a file into its own context and pass the content inline. The status is proposed. It cites #792, the bug that surfaced it.
docs(adr): propose that the MCP surface reads no local files
All checks were successful
drift / govulncheck (pull_request) Has been skipped
drift / surface-diff (pull_request) Successful in 24s
drift / forgejo-smoke (pull_request) Has been skipped
ci / mcp-conformance (pull_request) Successful in 1m27s
ci / mcp-conformance (push) Successful in -31s
drift / govulncheck (push) Has been skipped
drift / surface-diff (push) Successful in -35s
drift / forgejo-smoke (push) Has been skipped
ci / gate (push) Successful in 8m48s
ci / gate (pull_request) Successful in 18m40s
25c5602f58
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sixfold-space/madtea!793
No description provided.