Document MCP custom content resources (mcpResources) and the harper+rest:// descriptor scheme#567
Document MCP custom content resources (mcpResources) and the harper+rest:// descriptor scheme#567kylebernhardy wants to merge 3 commits into
Conversation
…scheme (harper#1613) Companion to HarperFast/harper#1613 (fixes HarperFast/harper#1609): static mcpResources opt-in (fixed URIs + templates + completions + reserved-scheme rule), and exported-Resource descriptors moving from http(s):// to harper+rest:// with back-compat. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Code Review
This pull request updates the MCP tools and resources documentation to introduce the custom mcpResources opt-in feature, allowing component authors to expose arbitrary content under custom URIs. It also documents the transition from https:// to harper+rest:// URIs for application profile resources in version 5.1.16+ to align with the MCP specification. I have no feedback to provide as there are no review comments.
🚀 Preview DeploymentYour preview deployment is ready! 🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-567 This preview will update automatically when you push new commits. |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
harper#1613 merged to v5.1 — version refs corrected to 5.1.18 (5.1.16/5.1.17 shipped before the merge). Unblocked whenever you're ready. Comment generated by an LLM (Claude Fable 5). |
🚀 Preview DeploymentYour preview deployment is ready! 🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-567 This preview will update automatically when you push new commits. |
…ved, no login gate Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
🚀 Preview DeploymentYour preview deployment is ready! 🔗 Preview URL: https://preview.harper-documentation.harperfabric.com/pr-567 This preview will update automatically when you push new commits. |
Companion docs for HarperFast/harper#1613 (fixes HarperFast/harper#1609).
Changes to
reference/mcp/tools-and-resources.mdmcpResourcesopt-in section (parallel to CustommcpTools): fixed URIs vsuriTemplate({name}/{+name}semantics), content return shapes (text/blob/JSON), live-class dispatch + RBAC delegation, per-parametercompletions, reserved-scheme rule, sanitized error behavior.https://URIs section →harper+rest://with the rationale (spec reserves https for web-fetchable resources) and the back-compat note for legacy URIs.Note for review
Version references say "5.1.16+" assuming harper#1613 ships in the next 5.1 patch — confirm at merge time. Hold merging until harper#1613 lands.
Generated by an LLM (Claude Fable 5).