René's URL Explorer Experiment


Title: feat(mcp): add prompts to the mcp route options by erkamyaman · Pull Request #476 · devframes/devframe · GitHub

Open Graph Title: feat(mcp): add prompts to the mcp route options by erkamyaman · Pull Request #476 · devframes/devframe

X Title: feat(mcp): add prompts to the mcp route options by erkamyaman · Pull Request #476 · devframes/devframe

Description: Adds a prompts option to the MCP route options, createMcpServer and createMcpFetchHandler, the same way #452 added resourceTemplates. The hub and the Next host pass it on too. A non-empty list declares the prompts capability and serves prompts/list and prompts/get. Each prompt has a name, an optional title, description and arguments, and a get(args) function that can be sync or async. prompts/get answers invalid params for an unknown name, or when a required argument is missing or empty. get is not called then. An error thrown by get goes to the MCP client. A repeated prompt name throws the new DF0085 when the route mounts. Docs: a "Prompts" section in the MCP adapter page, one line in the hub guide, and the DF0085 error page. Checks Tests for the server, the HTTP route and the hub aggregate route (8 new tests; 85 pass in the touched files) eslint on the changed files tsc --noEmit in devframe, agentic, hub and next API snapshots regenerated

Open Graph Description: Adds a prompts option to the MCP route options, createMcpServer and createMcpFetchHandler, the same way #452 added resourceTemplates. The hub and the Next host pass it on too. A non-empty list dec...

X Description: Adds a prompts option to the MCP route options, createMcpServer and createMcpFetchHandler, the same way #452 added resourceTemplates. The hub and the Next host pass it on too. A non-empty list dec...

Opengraph URL: https://github.com/devframes/devframe/pull/476

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7ec5ff87-238a-2313-42c7-591fc0427e13
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9A6:249114:34102:48469:6AFB72ED
html-safe-noncef6f5ff0a845ed5aaea9968c69f0a9a51637afd0d5a03aa064a3833d79bcd484a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUE2OjI0OTExNDozNDEwMjo0ODQ2OTo2QUZCNzJFRCIsInZpc2l0b3JfaWQiOiI4MDM0OTg3MjY4MjUyNTk0OTI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd4771aeae9d6d88dbd8600f6b47aa7fb90ca7f836fff85a58fc958dad71cd576
hovercard-subject-tagpull_request:5107157350
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/devframes/devframe/pull/476/files
twitter:imagehttps://avatars.githubusercontent.com/u/88717125?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/88717125?s=400&v=4
og:image:altAdds a prompts option to the MCP route options, createMcpServer and createMcpFetchHandler, the same way #452 added resourceTemplates. The hub and the Next host pass it on too. A non-empty list dec...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/devframes/devframe git https://github.com/devframes/devframe.git
octolytics-dimension-user_id279879373
octolytics-dimension-user_logindevframes
octolytics-dimension-repository_id1231722386
octolytics-dimension-repository_nwodevframes/devframe
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1231722386
octolytics-dimension-repository_network_root_nwodevframes/devframe
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
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/devframes/devframe/pull/476/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F476%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%2Fdevframes%2Fdevframe%2Fpull%2F476%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=devframes%2Fdevframe
Reloadhttps://github.com/devframes/devframe/pull/476/files
Reloadhttps://github.com/devframes/devframe/pull/476/files
Reloadhttps://github.com/devframes/devframe/pull/476/files
devframeshttps://github.com/devframes
devframehttps://github.com/devframes/devframe
Codehttps://github.com/devframes/devframe
Issues12 (12)https://github.com/devframes/devframe/issues
Pull requests13 (13)https://github.com/devframes/devframe/pulls
Actionshttps://github.com/devframes/devframe/actions
Security and qualityhttps://github.com/devframes/devframe/security
Insightshttps://github.com/devframes/devframe/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
antfuhttps://github.com/antfu
devframes:mainhttps://github.com/devframes/devframe/tree/main
erkamyaman:feat/mcp-prompts-v2https://github.com/erkamyaman/devframe/tree/feat/mcp-prompts-v2
Conversation 5 https://github.com/devframes/devframe/pull/476
Commits 2 https://github.com/devframes/devframe/pull/476/commits
Checks 12 https://github.com/devframes/devframe/pull/476/checks
Files changed 22 https://github.com/devframes/devframe/pull/476/files
feat(mcp): add prompts to the mcp route options https://github.com/devframes/devframe/pull/476/files#top
Show all changes 2 commits https://github.com/devframes/devframe/pull/476/files
5fdebd2 feat(mcp): add prompts to the mcp route options erkamyaman Oct 31, 2026 https://github.com/devframes/devframe/pull/476/commits/5fdebd236fb6ac84f0b85d69edc1fc7ada5cad3a
54e1711 fix(mcp): check required prompt arguments by own keys erkamyaman Nov 1, 2026 https://github.com/devframes/devframe/pull/476/commits/54e17111c7fbda512a28eab51f040be5dc1172c3
Clear filters https://github.com/devframes/devframe/pull/476/files
Please reload this pagehttps://github.com/devframes/devframe/pull/476/files
Please reload this pagehttps://github.com/devframes/devframe/pull/476/files
18.hub-initiate.md https://github.com/devframes/devframe/pull/476/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
7.mcp.md https://github.com/devframes/devframe/pull/476/files#diff-769d96ffd948ba24074be6c6f8b457d5b1cd3df1633a14a996aa98344bc95b57
DF0085.md https://github.com/devframes/devframe/pull/476/files#diff-69b7beb0d42eb8391bdf6a0e20b0d172bc67d07bf316aefa6c57ffe3ce148eff
index.md https://github.com/devframes/devframe/pull/476/files#diff-98be74a69c00df291caec3fa9122f7b7afc74b917b7ea8714472bdd2b7fd23f8
mcp-http.test.ts https://github.com/devframes/devframe/pull/476/files#diff-c608d44d08e96b055f973d8eccce399e4229a7029c428400fa73f767d09c5781
mcp-server.test.ts https://github.com/devframes/devframe/pull/476/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
build-server.ts https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
fetch.ts https://github.com/devframes/devframe/pull/476/files#diff-b0103f51de2225c81fd6a44f57367bff6ba07f334d5699779dcd573a3541f7fc
_shared.ts https://github.com/devframes/devframe/pull/476/files#diff-cdd58b3ec2c6b0f9cfea033419805385934c80e092023dd55f6b8bf4f17490d0
initiate.ts https://github.com/devframes/devframe/pull/476/files#diff-a9bcfb29d9c365ee0dd03456bdef86e93a812ea81bdada66f197d5e0d7631975
mcp.ts https://github.com/devframes/devframe/pull/476/files#diff-80afc426c9bbc971ff5797d832aab1c917a2806feca3b146f18e31ff3b730c98
diagnostics.ts https://github.com/devframes/devframe/pull/476/files#diff-509316a0571ce8effd61922fd33d28e974c8cb509b3d59a3fdb15a5ee20bdc3f
devframe.ts https://github.com/devframes/devframe/pull/476/files#diff-753444a22cd40457a3aeb4a48d0bda1e9c7768bca343ccf72f16699131320795
mcp.ts https://github.com/devframes/devframe/pull/476/files#diff-f7efa41fc8522b5175dcfc82f1b794d55f8b8d7c51d4e571eda478e1c355b752
initiate.test.ts https://github.com/devframes/devframe/pull/476/files#diff-25706eadb28a322bb2a43ffff82c94d39cf906ed65c2d9a10b26ee6fc3d4e907
initiate.ts https://github.com/devframes/devframe/pull/476/files#diff-500061a187e404009222ccd84a3d851545df0a3826241909a3b3b3d9580a4b02
host.ts https://github.com/devframes/devframe/pull/476/files#diff-994880ec688e6b1d550ad444739813a3c806ad75e2a7f5531d6708ba2f44dea4
hub.snapshot.d.ts https://github.com/devframes/devframe/pull/476/files#diff-d1187b5290bedae6a899fd021b09002d161dc2abae3201aee17793335d2b8998
mcp.snapshot.d.ts https://github.com/devframes/devframe/pull/476/files#diff-c19fa429000946da1295f5a22441c2c7b60729284a66e1f490d00f42999d2495
index.snapshot.d.ts https://github.com/devframes/devframe/pull/476/files#diff-e36c6d402239a03e9a6e3a7c285d18780f3584e9dd275c7e5220a6fc41fb160d
internal.snapshot.d.ts https://github.com/devframes/devframe/pull/476/files#diff-cf90d6f74b3f49997e90ee080ce227993bfabf8fadfa4f1d20f7644c507b10d0
types.snapshot.d.ts https://github.com/devframes/devframe/pull/476/files#diff-c53339d04f6316f1476d6844f94bc701efbac1c0e63dd7200d31a385ff9a3ad9
docs/content/1.guide/18.hub-initiate.mdhttps://github.com/devframes/devframe/pull/476/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
View file https://github.com/erkamyaman/devframe/blob/54e17111c7fbda512a28eab51f040be5dc1172c3/docs/content/1.guide/18.hub-initiate.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/476/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/476/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
https://github.com/devframes/devframe/pull/476/files#diff-c911ddd426817578cc6655c6ada19630b98f84f60f947704c3fc5cd2ba08c1bb
docs/content/2.adapters/7.mcp.mdhttps://github.com/devframes/devframe/pull/476/files#diff-769d96ffd948ba24074be6c6f8b457d5b1cd3df1633a14a996aa98344bc95b57
View file https://github.com/erkamyaman/devframe/blob/54e17111c7fbda512a28eab51f040be5dc1172c3/docs/content/2.adapters/7.mcp.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/476/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/476/files#diff-769d96ffd948ba24074be6c6f8b457d5b1cd3df1633a14a996aa98344bc95b57
https://github.com/devframes/devframe/pull/476/files#diff-769d96ffd948ba24074be6c6f8b457d5b1cd3df1633a14a996aa98344bc95b57
docs/content/6.errors/DF0085.mdhttps://github.com/devframes/devframe/pull/476/files#diff-69b7beb0d42eb8391bdf6a0e20b0d172bc67d07bf316aefa6c57ffe3ce148eff
View file https://github.com/erkamyaman/devframe/blob/54e17111c7fbda512a28eab51f040be5dc1172c3/docs/content/6.errors/DF0085.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/476/{{ revealButtonHref }}
docs/content/6.errors/index.mdhttps://github.com/devframes/devframe/pull/476/files#diff-98be74a69c00df291caec3fa9122f7b7afc74b917b7ea8714472bdd2b7fd23f8
View file https://github.com/erkamyaman/devframe/blob/54e17111c7fbda512a28eab51f040be5dc1172c3/docs/content/6.errors/index.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/476/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/476/files#diff-98be74a69c00df291caec3fa9122f7b7afc74b917b7ea8714472bdd2b7fd23f8
https://github.com/devframes/devframe/pull/476/files#diff-98be74a69c00df291caec3fa9122f7b7afc74b917b7ea8714472bdd2b7fd23f8
packages/agentic/src/mcp/__tests__/mcp-http.test.tshttps://github.com/devframes/devframe/pull/476/files#diff-c608d44d08e96b055f973d8eccce399e4229a7029c428400fa73f767d09c5781
View file https://github.com/erkamyaman/devframe/blob/54e17111c7fbda512a28eab51f040be5dc1172c3/packages/agentic/src/mcp/__tests__/mcp-http.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/476/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/476/files#diff-c608d44d08e96b055f973d8eccce399e4229a7029c428400fa73f767d09c5781
https://github.com/devframes/devframe/pull/476/files#diff-c608d44d08e96b055f973d8eccce399e4229a7029c428400fa73f767d09c5781
packages/agentic/src/mcp/__tests__/mcp-server.test.tshttps://github.com/devframes/devframe/pull/476/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
View file https://github.com/erkamyaman/devframe/blob/54e17111c7fbda512a28eab51f040be5dc1172c3/packages/agentic/src/mcp/__tests__/mcp-server.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/476/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/476/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
https://github.com/devframes/devframe/pull/476/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
https://github.com/devframes/devframe/pull/476/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
https://github.com/devframes/devframe/pull/476/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
https://github.com/devframes/devframe/pull/476/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
packages/agentic/src/mcp/build-server.tshttps://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
View file https://github.com/erkamyaman/devframe/blob/54e17111c7fbda512a28eab51f040be5dc1172c3/packages/agentic/src/mcp/build-server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/476/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
https://github.com/devframes/devframe/pull/476/files#diff-54466ac21a0dd3beacb5a3fca42cdd0499fac1aeabf34c5e16382d96881215db
Please reload this pagehttps://github.com/devframes/devframe/pull/476/files
Please reload this pagehttps://github.com/devframes/devframe/pull/476/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

Viewport: width=device-width


URLs of crawlers that visited me.