Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/typescript-sdk
/ simpleSseServer.ts
File
simpleSseServer.ts
src/examples/server/simpleSseServer.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Request, Response } from
'express'
;
2
import
{ McpServer } from
'../../server/mcp.js'
;
3
import
{ SSEServerTransport } from
'../../server/sse.js'
;
4
import
* as z from
'zod/v4'
;
Callers
nothing calls this directly
Calls
6
createMcpExpressApp
Function · 0.85
handlePostMessage
Method · 0.80
getServer
Function · 0.70
send
Method · 0.65
close
Method · 0.65
connect
Method · 0.45
Tested by
no test coverage detected