docs:Refined MCP Testing idea and PoC as per feedback#1336
Open
souvikDevloper wants to merge 1 commit intofoss42:mainfrom
Open
docs:Refined MCP Testing idea and PoC as per feedback#1336souvikDevloper wants to merge 1 commit intofoss42:mainfrom
souvikDevloper wants to merge 1 commit intofoss42:mainfrom
Conversation
- Interactive 5-page UI mockup (HTML, no build step) - Working stdio MCP PoC: 8 tests, JSON-RPC 2.0, zero deps - Covers: transport / protocol / tool-exec / ui-handshake layers - MCP Apps: ui/initialize handshake + hostContext injection (Ashita's spec) - _meta.ui.resourceUri detection per MCP Apps guide Closes/references foss42#1225 Previous work: foss42#1284
Contributor
Author
|
@animator hey love to hear from you Sir for feedback! |
8 tasks
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.
🎬 Demo Video
https://youtu.be/GAZrTeIq_M0
PR Description
This PR is a follow-up to #1284 and directly addresses the GSoC project scope in discussion #1225.
Two deliverables are included:
1. Interactive UI Mockup (
gsoc/mcp-testing/mockup/index.html)Open in any browser — no build step, no server needed.
Five pages covering the full MCP testing workflow:
_meta.ui.resourceUriauto-detectionui/initializehandshake viapostMessage· host injectshostContextCSS variables · app re-themes live · full message logThe MCP Apps Preview page is a functional proof of concept built directly from the MCP Apps spec shared in gsoc-announcements by @ashitaprasad: https://dev.to/ashita/a-practical-guide-to-building-mcp-apps-1bfm
2. Working PoC (
gsoc/mcp-testing/poc/poc.js)Single file. Zero dependencies beyond Node.js built-ins.
Spawns a real MCP server as a child process, connects via stdio JSON-RPC 2.0, runs 8 tests:
Related Issues
Checklist
mainbranch before making this PRflutter upgradeand verify)flutter test) and all tests are passingAdded/updated tests?
gsoc/mcp-testing/poc/poc.jscontains 8 automated tests covering transport, protocol, tool execution, MCP Apps detection, and baseline snapshot comparison. Run withnode gsoc/mcp-testing/poc/poc.js.OS on which you have developed and tested the feature?