Skip to content

feat: optional root-scoped read-only MCP adapter (development candidate) - #293

Merged
drevendev merged 10 commits into
masterfrom
beautifulrepo/mcp-readonly-adapter-20261106
Nov 6, 2026
Merged

drevendev merged 10 commits into
masterfrom
beautifulrepo/mcp-readonly-adapter-20261106

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Product outcome

  • Introduces a real optional stdio MCPServer surface with three argument-free tools that wrap the existing entry-point, Markdown-link, and HTML-navigation offline checks.
  • Fixed absolute target root, symlink/redirect refusal, revalidation per call, no model-supplied paths or subprocess arguments; bounded subprocess timeout/output, -I -B, and honest incomplete evidence.
  • Ships stdlib tests and cautious development-only setup guide, plus ROADMAP and CHANGELOG links. Only BeautifulRepo is written.

Validation and limitations

  • Source/unit tests are provided but a fresh CI run and later-run acceptance are required. The official mcp==2.3.0 dependency is optional and deliberately not installed by ordinary CI; true server/discover + tools/list + tools/call and Claude Code/Codex host acceptance are NOT VERIFIED.
  • No release/tag, external registration, advertising or budget spend. Checker snapshots do not certify security or accessibility. The configured checkout must be stable, not a concurrently hostile filesystem.

Tracks #255. Separate future work: independent protocol/client trials and real host discovery before describing the server as production-ready.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run acceptance, scoped to the development-only source adapter at 0233a4d: reviewed all 5 changed files and the existing audit_bundle.py contract. The three fixed, argument-free tools, absolute root validation, -I -B fixed subprocess invocation, honest incomplete receipts, isolated optional SDK, clear privacy/transport limitations, and source regressions are appropriate for an experimental opt-in implementation. GitHub Quality CI #42280702768 passed 6/6 including Python 3.11/3.14/Windows; official MCP Python SDK v2 docs confirm MCPServer decorator and default run() stdio. No unresolved inline review threads or material scope blocker found. This is not independent approval or real SDK/client acceptance: MCP server/discover, tools/list, tools/call, Claude Code, and Codex remain UNVERIFIED. Keep #255 open. A bounded-memory subprocess capture enhancement may be useful separately; current parser applies a post-capture output limit on trusted stable checkouts.

@drevendev
drevendev merged commit 3232262 into master Nov 6, 2026
6 checks passed
@drevendev
drevendev deleted the beautifulrepo/mcp-readonly-adapter-20261106 branch November 6, 2026 20:19
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