MCPcopy 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

1import { Client } from "@modelcontextprotocol/sdk/client/index.js";
2import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
3
4const origin = process.argv[2] || "https://mcp-on-vercel.vercel.app";

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected