Repository navigation
Conversation
gHashTag
added a commit
to gHashTag/t27-mcp
that referenced
this pull request
Oct 18, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 18, 2026
An MCP Apps host (a client whose initialize capabilities name the io.modelcontextprotocol/ui extension with the text/html;profile=mcp-app mime) gets a t27f drawing as a ui:// resource; with no drawing it gets the markdown table. client_host() reads the two capability facts, carries_ui_resource() says whether a t27f result adds the resource, and UI_PAGE / UI_URI_VIEW / UI_URI_GRAPH / UI_EMPTY are the page and addresses the server serves. Tests: 12/12, 0 vacuous, on the Railway lab. Mutants: an MCP Apps resource with no drawing fails 2, client_host ignoring the mime fails 2, the readability mutant still fails 3. Seal regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gHashTag
force-pushed
the
spec/visual-output-ui-resource
branch
from
October 18, 2026 17:52
aa95f6a to
ca6bd5c
Compare
gHashTag
enabled auto-merge (squash)
October 18, 2026 17:52
This was referenced Oct 18, 2026
Merged
Merged
3 of 4 tasks
This was referenced Oct 18, 2026
Contributor
This was referenced Oct 18, 2026
This was referenced Oct 18, 2026
Closed
Merged
3 of 5 tasks
This was referenced Oct 18, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #10504, which merged and closed its issue. Refs #10531: this PR adds the
UI_RESOURCEchannel to the same spec. Base is master.What
specs/t27mcp/visual_output.t27now says when theUI_RESOURCEchannel is used and what it carries:answer_channel: an MCP Apps host getsCH_UI_RESOURCEwhen there is a drawing, andCH_MARKDOWN_TABLEwhen there is not.client_host(ui_extension, ui_mime): a client is an MCP Apps host only if its initialize capabilities name theio.modelcontextprotocol/uiextension and list thetext/html;profile=mcp-appmime. Any other client is treated as a CLI host.carries_ui_resource(host, svg): says whether a t27f tool result adds theui://resource. This is the only fact the server asks.UI_EXTENSION,UI_MIME,UI_URI_VIEW(ui://t27f/view),UI_URI_GRAPH(ui://t27f/graph),UI_PAGE(a script-free HTML page around the SVG) andUI_EMPTY(served before the first drawing).The server that consumes it is gHashTag/t27-mcp (stacked on t27-mcp#27).
Evidence (Railway lab, never the Mac)
client_hostignores the mime: fails 2font_px >= MIN_FONT_PX): still fails 3.trinity/seals/t27mcp_T27mcpVisualOutput.jsonwas regenerated with the seal command: spec sha2562c44da44…3960, 12/12.tools/callfort27f_graphandt27f_viewreturns[text, resource], and the resource hasuri: ui://t27f/graph|viewandmimeType: text/html;profile=mcp-app.[text]only.🤖 Generated with Claude Code