René's URL Explorer Experiment


Title: feat: MCP server — pod as a tool surface for agents (#490) by melvincarvalho · Pull Request #491 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Open Graph Title: feat: MCP server — pod as a tool surface for agents (#490) by melvincarvalho · Pull Request #491 · JavaScriptSolidServer/JavaScriptSolidServer

X Title: feat: MCP server — pod as a tool surface for agents (#490) by melvincarvalho · Pull Request #491 · JavaScriptSolidServer/JavaScriptSolidServer

Description: Closes #490. Adds `jss start --mcp` exposing `POST /mcp` (MCP Streamable HTTP, protocol `2025-03-26`). Any MCP-compatible client — Claude Desktop, Cursor, custom agents — registers a JSS pod as a tool surface and reads/writes resources under the same WAC rules as any HTTP endpoint. What lands 12 tools across 4 surfaces: Surface Tools CRUD `list_resources`, `read_resource`, `write_resource`, `create_resource`, `delete_resource`, `head_resource` Skills `list_skills`, `get_skill`, `get_pod_skill` Docs `list_docs`, `read_docs` (JSS-builtin docs) Introspect `pod_info` Skill discovery walks conventional paths (`/SKILL.md`, `/public/apps//SKILL.md`, `/private/bots//SKILL.md`) and supports both `SKILL.md` and `SKILL.jsonld`. New formats plug in via `skill:format` declaration — discovery stays stable, payload evolves. Auth reuses JSS's existing chain (Bearer / DPoP / NIP-98 / LWS-CID). Tool calls are WAC-gated against the inbound WebID. No new auth code, no separate MCP auth layer. `acl:agent did:nostr:bot` for a bot is the same operation as for a human. What's deferred (follow-ups on #490) `update_resource` (PATCH / SPARQL Update / N3) — read-modify-write through CRUD is the workaround for now `subscribe` (SSE wrapping JSS's WebSocket notifications) `call_remote_pod` (federation primitive for bot-to-bot) Explicit `read_acl` / `write_acl` tools — `.acl` files are readable/writable via regular CRUD today Tests 17 tests covering: handshake (`initialize`, `tools/list`) all 12 tools (success + error paths) WAC enforcement (anonymous write denied, owner write allowed) path-traversal rejection in `read_docs` unknown-method / unknown-tool error envelopes disabled-flag case (no `/mcp` route registered) ``` ℹ pass 17 ℹ fail 0 ``` Docs New `docs/mcp.md` — quick start, curl smoke tests, tool reference, auth notes, Claude Desktop wiring instructions. Linked from README. Test plan All 17 MCP tests pass Config tests still pass (no regression in flag handling) Wire Claude Desktop against a running `jss start --mcp` pod end-to-end Smoke against `solid-apps/charlie` once it's built (separate PR)

Open Graph Description: Closes #490. Adds `jss start --mcp` exposing `POST /mcp` (MCP Streamable HTTP, protocol `2025-03-26`). Any MCP-compatible client — Claude Desktop, Cursor, custom agents — registers a JSS pod as a t...

X Description: Closes #490. Adds `jss start --mcp` exposing `POST /mcp` (MCP Streamable HTTP, protocol `2025-03-26`). Any MCP-compatible client — Claude Desktop, Cursor, custom agents — registers a JSS pod as a t...

Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9d04b30b-e9f8-9585-6f92-6a7f2d251ea9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB3EE:7B20F:2DE50A:3DFEA5:6B03CBF5
html-safe-nonced2010046299f38899279490eea630439ce824553c83a82d273f6a13d687ea90b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0VFOjdCMjBGOjJERTUwQTozREZFQTU6NkIwM0NCRjUiLCJ2aXNpdG9yX2lkIjoiMjE0MzAzMjY3MjEwNzM1MTAyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf226f9ba21556b138d59ae1e1ffb228e662532955c15ce50a3e3fae10d3ffb7b
hovercard-subject-tagpull_request:3700052832
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
twitter:imagehttps://avatars.githubusercontent.com/u/65864?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/65864?s=400&v=4
og:image:altCloses #490. Adds `jss start --mcp` exposing `POST /mcp` (MCP Streamable HTTP, protocol `2025-03-26`). Any MCP-compatible client — Claude Desktop, Cursor, custom agents — registers a JSS pod as a t...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id958025407
octolytics-dimension-repository_nwoJavaScriptSolidServer/JavaScriptSolidServer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958025407
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/JavaScriptSolidServer
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fpull%2F491%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fpull%2F491%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JavaScriptSolidServer%2FJavaScriptSolidServer
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Codehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues165 (165)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests14 (14)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actionshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projectshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insightshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/insights
Sign up for GitHub https://github.com/signup?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2Fnew%2Fchoose
melvincarvalhohttps://github.com/melvincarvalho
gh-pageshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/tree/gh-pages
issue-490-mcphttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/tree/issue-490-mcp
Conversation 0 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491
Commits 1 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/commits
Checks 0 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/checks
Files changed https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
feat: MCP server — pod as a tool surface for agents (#490) https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#top
Show all changes 1 commit https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
9b6b712 feat: MCP server — pod as a tool surface for agents (closes #490) melvincarvalho May 18, 2026 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/commits/9b6b712722b79ed291aead36f049465227e97b5c
Clear filters https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
README.md https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
jss.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-f6a9431eb2d9fee25a4f5539de867ab637be27aa7c2e7d7b89f31701933ce053
mcp.md https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-540fac6ea007bc938b77f99fe1f0766cf1ab7628ffed1d2830327fb2dab88c28
config.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
index.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-9f8175789f155130a44e8317c703f2a4abcc36d62a95489129ccb51d064a0208
protocol.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-25b1ad31596bd0808bbce4fa8f35941bc653718ae41a937984f7e0d1225f9fec
skills.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-cdb50d206f45caeadac1509539a06719dd594494bfcf28b7463807fc949e3aa2
tools.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-2702c19cb1b53c491d895d03594e3cdf05e630c1c4e714ddcf9efb550040f07d
server.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-79f4c7cdc0b026f6e556196f5911a449157807cffdb3f9d33f0b5404b4ffc2f3
mcp.test.js https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-9acb9e68b212789c3a2b3043b025cc7314e897e5096edd628d0e3b2c800ee2ad
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/gh-pages/.github/CODEOWNERS#L12
README.mdhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/9b6b712722b79ed291aead36f049465227e97b5c/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/gh-pages/.github/CODEOWNERS#L20
bin/jss.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-f6a9431eb2d9fee25a4f5539de867ab637be27aa7c2e7d7b89f31701933ce053
View file https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/9b6b712722b79ed291aead36f049465227e97b5c/bin/jss.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-f6a9431eb2d9fee25a4f5539de867ab637be27aa7c2e7d7b89f31701933ce053
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-f6a9431eb2d9fee25a4f5539de867ab637be27aa7c2e7d7b89f31701933ce053
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-f6a9431eb2d9fee25a4f5539de867ab637be27aa7c2e7d7b89f31701933ce053
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-f6a9431eb2d9fee25a4f5539de867ab637be27aa7c2e7d7b89f31701933ce053
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/gh-pages/.github/CODEOWNERS#L12
docs/mcp.mdhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-540fac6ea007bc938b77f99fe1f0766cf1ab7628ffed1d2830327fb2dab88c28
View file https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/9b6b712722b79ed291aead36f049465227e97b5c/docs/mcp.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/gh-pages/.github/CODEOWNERS#L12
src/config.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
View file https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/9b6b712722b79ed291aead36f049465227e97b5c/src/config.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-23821ae067a9c7dfb6227774aefb39fa3951a5874ea953b9401dfc80175c026c
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/gh-pages/.github/CODEOWNERS#L12
src/mcp/index.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-9f8175789f155130a44e8317c703f2a4abcc36d62a95489129ccb51d064a0208
View file https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/9b6b712722b79ed291aead36f049465227e97b5c/src/mcp/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/gh-pages/.github/CODEOWNERS#L12
src/mcp/protocol.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files#diff-25b1ad31596bd0808bbce4fa8f35941bc653718ae41a937984f7e0d1225f9fec
View file https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/blob/9b6b712722b79ed291aead36f049465227e97b5c/src/mcp/protocol.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/{{ revealButtonHref }}
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/491/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.