Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/examples
/ test-streamable-http-client.mjs
File
test-streamable-http-client.mjs
starter/mcp-api-wrapper/scripts/test-streamable-http-client.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ Client } from
"@modelcontextprotocol/sdk/client/index.js"
;
2
import
{ StreamableHTTPClientTransport } from
"@modelcontextprotocol/sdk/client/streamableHttp.js"
;
3
4
const
origin = process.argv[2] ||
"https://mcp-on-vercel.vercel.app"
;
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected