Basic WebMCP draft / discussion#26
Draft
rektide wants to merge 2 commits into
Draft
Conversation
added 2 commits
February 12, 2026 01:21
Created three detailed documentation files in doc/discovery/ analyzing: - webmcp.md: Initial broad overview of MCP-B (MCP-B.ai, WebMCP-org) covering protocol, transports, SDK, extension API, and ecosystem - webmcp-webmachinelearning.md: Deep dive into W3C WebMCP specification (webmachinelearning/webmcp), API design, security model, and relationship to MCP-B - webmcp-provider.md: Comprehensive guide for web developers implementing WebMCP, including 5 tool design patterns, security best practices, framework integrations, and real-world examples The documentation covers the full spectrum from specification understanding to practical implementation guidance for adding WebMCP to existing web pages.
Implement WebMCP (W3C Model Context Protocol) tools to expose skyboard functionality to AI agents and browser assistants. Created src/mcp/ module with: - types.ts: Type definitions for MCP tools - card-tools.ts: Three tools (list-cards, add-card, update-card) - index.ts: MCP provider registration and lifecycle management - README.md: Complete documentation Modified src/lib/auth.svelte.ts: - Initialize MCP provider on successful authentication - Cleanup MCP tools on logout Features: - list-cards: Query cards with optional board/column filtering - add-card: Create new cards (requires auth) - update-card: Modify cards via Op records for collaboration support - Event system for UI updates (skyboard-card-change) - Graceful fallback when WebMCP not available - Integration with existing Dexie storage and sync system
Owner
|
I like the idea of exposing tools for webmcp but lets hold off for a little bit. I'm about to land a refactor and would like to feel a bit more confident about the skyboard foundations before adding it. |
Author
|
I'll open a new attempt at some point! Feels like there was significant rework around the time you posted this, with the cli. But I assume you are still doing some big fundamental work / refacotr, to continue to hold? |
Owner
|
#30 was the main refactor I was working on. things should be stable now for you to give it a go. definitely feel free to restructure actions/data out of the components. I didn't push claude too much to factor things nicely initially. |
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.
This perhaps accomplishes the very basics of #25, offering some simple WebMCP tools on Skyboard! 🎉
Issues with this draft
This code does not fill me with joy:
Epistemic Status
This is posted as a very early discussion piece. It is largely LLM generated. Research artifacts are included. I would expect to make a new branch & start over with a real proposal. I also am not really sure how to test this code for real at the moment, but I genuinely think it might just work perhaps & would not be far from being actually shippable, which I don't recommend, but endorse as hereby "somewhat mature" a draft.