| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fec908df-4016-62c5-3cc2-ab54f84b29fa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BDD4:11970D:17571D3:1FC77A5:6AF99426 |
| html-safe-nonce | a918a69b0991d9bcf156526d98257ac05380f94af23245be173769864fe544be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREQ0OjExOTcwRDoxNzU3MUQzOjFGQzc3QTU6NkFGOTk0MjYiLCJ2aXNpdG9yX2lkIjoiNjExMTY0NDc2MDcwMTI0NDQ1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4108295112db2f84db610c75884d1137f3d1cfd5ae6febfe88b0aed5929a39ee |
| hovercard-subject-tag | pull_request:4729674501 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/22749/files |
| twitter:image | https://avatars.githubusercontent.com/u/62021660?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/62021660?s=400&v=4 |
| og:image:alt | Follow-up to #22702; #22703 proposes the same for Python.
MCP servers expose tools to LLM agents. Every argument of a tool, resource or prompt callback is chosen by the client, that is by a model t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql/pull/22749/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F22749%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F22749%2Ffiles |
| Sign up | https://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=github%2Fcodeql |
| Reload | https://github.com/github/codeql/pull/22749/files |
| Reload | https://github.com/github/codeql/pull/22749/files |
| Reload | https://github.com/github/codeql/pull/22749/files |
| github | https://github.com/github |
| codeql | https://github.com/github/codeql |
| Code | https://github.com/github/codeql |
| Issues1k (1k) | https://github.com/github/codeql/issues |
| Pull requests516 (516) | https://github.com/github/codeql/pulls |
| Discussions | https://github.com/github/codeql/discussions |
| Actions | https://github.com/github/codeql/actions |
| Projects | https://github.com/github/codeql/projects |
| Security and quality | https://github.com/github/codeql/security |
| Insights | https://github.com/github/codeql/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose |
| owen-mc | https://github.com/owen-mc |
| github:main | https://github.com/github/codeql/tree/main |
| Alex-Hofer:js-mcp-models | https://github.com/Alex-Hofer/codeql/tree/js-mcp-models |
|
Conversation
7
| https://github.com/github/codeql/pull/22749 |
|
Commits
5
| https://github.com/github/codeql/pull/22749/commits |
|
Checks
40
| https://github.com/github/codeql/pull/22749/checks |
|
Findings
| https://github.com/github/codeql/pull/22749/findings |
|
Files changed
| https://github.com/github/codeql/pull/22749/files |
| Please reload this page | https://github.com/github/codeql/pull/22749/files |
|
JS: Add models for the MCP server SDKs and flow summaries for zod
| https://github.com/github/codeql/pull/22749/files#top |
|
Show all changes
5 commits
| https://github.com/github/codeql/pull/22749/files |
|
ef9a0a1
JS: Add models for the MCP server SDKs
Alex-Hofer Oct 3, 2026
| https://github.com/github/codeql/pull/22749/commits/ef9a0a1db26abc7e887eef94a1edb903283a4ffe |
|
2341a58
JS: Add flow summaries for zod schema parsing
Alex-Hofer Oct 3, 2026
| https://github.com/github/codeql/pull/22749/commits/2341a5813f9126d9e16918328a688d796ce6133a |
|
3460d05
JS: Use the ai threat model for MCP handler input
Alex-Hofer Oct 15, 2026
| https://github.com/github/codeql/pull/22749/commits/3460d05b920d80c3479cc18aaec16475743e89d5 |
|
20c6662
Merge branch 'main' into js-mcp-models
Alex-Hofer Oct 29, 2026
| https://github.com/github/codeql/pull/22749/commits/20c6662608e6510d9621a77b9fe4ba5e3e346b92 |
|
e2bc115
Shared: Accept the ai threat model as a source kind in model validation
Alex-Hofer Oct 30, 2026
| https://github.com/github/codeql/pull/22749/commits/e2bc1151e099acdfbf457502855ce3e5b3d0263a |
|
Clear filters
| https://github.com/github/codeql/pull/22749/files |
| Please reload this page | https://github.com/github/codeql/pull/22749/files |
| Please reload this page | https://github.com/github/codeql/pull/22749/files |
|
2026-10-03-mcp-models.md
| https://github.com/github/codeql/pull/22749/files#diff-f93e827509f2133a6ec2e106970c8746fc76c49c771f5bf031617345c675f4ba |
|
2026-10-03-zod.md
| https://github.com/github/codeql/pull/22749/files#diff-13d82221489e9ca8e178ebd2aebac5f6cd621ab9c049d890732f0443a46e1f5a |
|
fastmcp.model.yml
| https://github.com/github/codeql/pull/22749/files#diff-d67ee27d3d5f6d4112ea5f40e8c82ded161496e416b75fb9019f238498ee94fd |
|
mcp.model.yml
| https://github.com/github/codeql/pull/22749/files#diff-1a0a1275fd50792fe3f48e2006848c279bbea8e0fa63c9c82f5ba3a2c1256529 |
|
zod.model.yml
| https://github.com/github/codeql/pull/22749/files#diff-5851bdf6b6326ac426af1f1d4df5908f5ec598645950815d9122b587238e05f8 |
|
fastmcp.ts
| https://github.com/github/codeql/pull/22749/files#diff-bc26c5d791ef7c1152b9d10a6a75591fa7e24a699d31e76e6e2cc1c4cf4df86d |
|
mcp.ts
| https://github.com/github/codeql/pull/22749/files#diff-cd845bae08e607d53e9972416fd02ee794e19b5fdf942bca54845c63c7279b58 |
|
zod.ts
| https://github.com/github/codeql/pull/22749/files#diff-0337b0f9d8b1f3c67274ad00582511b2b4ef97486b9be93e8cdc057b71a26ac0 |
|
ModelValidation.qll
| https://github.com/github/codeql/pull/22749/files#diff-91aa4933a4678a234e67334da0e0feb29f52cc2b3f396a2b13b5d63d64442db4 |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/lib/change-notes/2026-10-03-mcp-models.md | https://github.com/github/codeql/pull/22749/files#diff-f93e827509f2133a6ec2e106970c8746fc76c49c771f5bf031617345c675f4ba |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/lib/change-notes/2026-10-03-mcp-models.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/lib/change-notes/2026-10-03-zod.md | https://github.com/github/codeql/pull/22749/files#diff-13d82221489e9ca8e178ebd2aebac5f6cd621ab9c049d890732f0443a46e1f5a |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/lib/change-notes/2026-10-03-zod.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/lib/ext/fastmcp.model.yml | https://github.com/github/codeql/pull/22749/files#diff-d67ee27d3d5f6d4112ea5f40e8c82ded161496e416b75fb9019f238498ee94fd |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/lib/ext/fastmcp.model.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/lib/ext/mcp.model.yml | https://github.com/github/codeql/pull/22749/files#diff-1a0a1275fd50792fe3f48e2006848c279bbea8e0fa63c9c82f5ba3a2c1256529 |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/lib/ext/mcp.model.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/lib/ext/zod.model.yml | https://github.com/github/codeql/pull/22749/files#diff-5851bdf6b6326ac426af1f1d4df5908f5ec598645950815d9122b587238e05f8 |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/lib/ext/zod.model.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/test/library-tests/threat-models/sources/fastmcp.ts | https://github.com/github/codeql/pull/22749/files#diff-bc26c5d791ef7c1152b9d10a6a75591fa7e24a699d31e76e6e2cc1c4cf4df86d |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/test/library-tests/threat-models/sources/fastmcp.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/test/library-tests/threat-models/sources/mcp.ts | https://github.com/github/codeql/pull/22749/files#diff-cd845bae08e607d53e9972416fd02ee794e19b5fdf942bca54845c63c7279b58 |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/test/library-tests/threat-models/sources/mcp.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L16 |
| javascript/ql/test/library-tests/threat-models/sources/zod.ts | https://github.com/github/codeql/pull/22749/files#diff-0337b0f9d8b1f3c67274ad00582511b2b4ef97486b9be93e8cdc057b71a26ac0 |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/javascript/ql/test/library-tests/threat-models/sources/zod.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/blob/main/CODEOWNERS#L25 |
| shared/mad/codeql/mad/ModelValidation.qll | https://github.com/github/codeql/pull/22749/files#diff-91aa4933a4678a234e67334da0e0feb29f52cc2b3f396a2b13b5d63d64442db4 |
|
View file
| https://github.com/Alex-Hofer/codeql/blob/e2bc1151e099acdfbf457502855ce3e5b3d0263a/shared/mad/codeql/mad/ModelValidation.qll |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql/pull/22749/{{ revealButtonHref }} |
|
| https://github.com/github/codeql/pull/22749/files#diff-91aa4933a4678a234e67334da0e0feb29f52cc2b3f396a2b13b5d63d64442db4 |
|
| https://github.com/github/codeql/pull/22749/files#diff-91aa4933a4678a234e67334da0e0feb29f52cc2b3f396a2b13b5d63d64442db4 |
| Please reload this page | https://github.com/github/codeql/pull/22749/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |