Skip to content

feat: WebMCP tools via @profullstack/webmcp - #200

Merged
ralyodio merged 2 commits into
mainfrom
feat/webmcp
Nov 11, 2026
Merged

ralyodio merged 2 commits into
mainfrom
feat/webmcp

Conversation

@ralyodio

@ralyodio ralyodio commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Adds @profullstack/webmcp to every page: site_info, open_page and search_site over /api/search (same rate limit as before) for in-browser AI agents. pit.world loads no third-party script, so the embed is bundled once on first use and served from its own origin at /pf-webmcp.js (src/webmcp-bundle.ts, same pattern as the player); CSP is unchanged. No-op where the browser has no WebMCP.

🤖 Generated with Claude Code

ralyodio and others added 2 commits November 11, 2026 08:09
Adds @profullstack/webmcp so in-browser AI agents get the site's tools.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pit.world loads no third-party script (the image/search tests enforce it), so bundle @profullstack/webmcp once on first use into /pf-webmcp.js, like the player, and drop the jsDelivr CSP entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

0 finding(s) in the 5 file(s) this pull request changes.

Nothing in the files this pull request changes.

3 pre-existing finding(s) elsewhere in the repository — **LOW**: 3

Not introduced by this pull request.

Severity Rule Location
LOW sh-predictable-temp-path firetv/emulator-test.sh:23
LOW sql-template-interpolation services/crawler/test/pg-index-store.test.ts:65
LOW js-dynamic-code-execution test/language.test.ts:153

Snippets are redacted; ThreatCrush never prints matched credential material.

@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
Added@​profullstack/​webmcp@​0.1.07510010090100

View full report

@ralyodio
ralyodio merged commit 1434e15 into main Nov 11, 2026
6 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