Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
typescript-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
2k
Star
13.1k
Code
Issues
277
Pull requests
260
Actions
Projects
Security and quality
3
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
feat(server): createMcpHandler entry point, legacy slot model, and origin validation middleware
- #2304
#2304
Merged
felixweinberger
merged 10 commits into
v2-2026-07-28
modelcontextprotocol/typescript-sdk:v2-2026-07-28
from
fweinberger/create-mcp-handler
modelcontextprotocol/typescript-sdk:fweinberger/create-mcp-handler
Copy head branch name to clipboard
Jun 16, 2026
Conversation
Commits
10
(10)
Checks
Files changed
Merged
feat(server): createMcpHandler entry point, legacy slot model, and origin validation middleware
#2304
felixweinberger
merged 10 commits into
v2-2026-07-28
modelcontextprotocol/typescript-sdk:v2-2026-07-28
from
fweinberger/create-mcp-handler
modelcontextprotocol/typescript-sdk:fweinberger/create-mcp-handler
Copy head branch name to clipboard
Commits
Commits on Jun 16, 2026
feat(server): add createMcpHandler, the dual-era HTTP entry point
Show description for 0f3df62
felixweinberger
committed
0f3df62
View commit details
Copy full SHA for 0f3df62
Browse repository at this point
feat(middleware): add Origin validation middleware with default arming for localhost binds
Show description for 3fa0d9d
felixweinberger
committed
3fa0d9d
View commit details
Copy full SHA for 3fa0d9d
Browse repository at this point
feat(examples): dual-era serving example and HTTP integration coverage for createMcpHandler
Show description for de529fd
felixweinberger
committed
de529fd
View commit details
Copy full SHA for de529fd
Browse repository at this point
docs: document createMcpHandler, origin validation defaults, and accessor deprecations
Show description for 3bceb83
felixweinberger
committed
3bceb83
View commit details
Copy full SHA for 3bceb83
Browse repository at this point
docs(client): follow-ups from the version negotiation review
Show description for 248a527
felixweinberger
committed
248a527
View commit details
Copy full SHA for 248a527
Browse repository at this point
fix(server): release the stateless slot's per-request pair when its SSE exchange completes
Show description for ce72b05
felixweinberger
committed
ce72b05
View commit details
Copy full SHA for ce72b05
Browse repository at this point
fix(server): forward a body when the node face is given a pre-parsed body
Show description for decc06e
felixweinberger
committed
decc06e
View commit details
Copy full SHA for decc06e
Browse repository at this point
fix(server): harden createMcpHandler error paths and the node face
Show description for f970325
felixweinberger
committed
f970325
View commit details
Copy full SHA for f970325
Browse repository at this point
docs: correct origin-arming wording, dual-era example header, and migration guide filing
Show description for 1891f7d
felixweinberger
committed
1891f7d
View commit details
Copy full SHA for 1891f7d
Browse repository at this point
fix(server): echo the request id in createMcpHandler error responses
Show description for fbb552a
felixweinberger
committed
fbb552a
View commit details
Copy full SHA for fbb552a
Browse repository at this point
You can’t perform that action at this time.