Skip to content

feat: @profullstack/webmcp 0.1.0 - #1

Merged
ralyodio merged 1 commit into
masterfrom
feat/initial
Nov 11, 2026
Merged

ralyodio merged 1 commit into
masterfrom
feat/initial

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

First release of the house WebMCP module.

  • registerTool / registerTools over document.modelContext (current draft) and navigator.modelContext (early previews); validates names/schemas; throwing execute returns { error }.
  • bridgeMcpServer('/mcp'): every tool of a site's existing MCP server becomes a WebMCP tool, proxied with the visitor's cookies; non-read-only tools get consequentialHint.
  • siteTools(): site_info (+ /llms.txt), search_site, open_page (same-origin only).
  • Forms: imperative polyfill for <form toolname tooldescription [toolautosubmit]>.
  • src/embed.js: one script tag from jsDelivr @0; React hooks; webmcp check|snippet|mcp CLI.

Tests: 13 unit tests (node --test) + real-browser e2e in Chrome 155 (--enable-features=WebMCPTesting): native getTools/executeTool ran site_info, search_site, a bridged MCP tool (session cookie forwarded) and a form tool that submitted.

🤖 Generated with Claude Code

registerTool/registerTools over document.modelContext (and navigator.modelContext
previews), bridgeMcpServer for existing /mcp servers, siteTools (site_info,
search_site, open_page), forms-as-tools polyfill for the declarative proposal,
drop-in embed.js, React hooks, and a check/snippet/mcp CLI. Verified end to end
in Chrome 155 with WebMCPTesting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​react@​19.3.11001008497100

View full report

@ralyodio
ralyodio merged commit 72d4e1e into master Nov 11, 2026
4 checks passed
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