Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/typescript-sdk
/ cli.ts
File
cli.ts
scripts/cli.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
WebSocket from
'ws'
;
2
3
// eslint-disable-next-line @typescript-eslint/no-explicit-any
4
(global as any).WebSocket = WebSocket;
Callers
nothing calls this directly
Calls
2
runClient
Function · 0.85
runServer
Function · 0.85
Tested by
no test coverage detected