MCPcopy Index your code
hub / github.com/CopilotKit/OpenTag / McpHttpTransport

Interface McpHttpTransport

runtime.ts:63–67  ·  view source on GitHub ↗

* HTTP MCP transports (Linear hosted + Notion sidecar), each carrying a static * `Authorization: Bearer`. TanStack AI's `chat()` connects these per run and * closes them when the run ends (its `mcp.connection: "close"` default), so we * just describe the transports here and create fresh clients i

Source from the content-addressed store, hash-verified

61 * factory on each turn.
62 */
63interface McpHttpTransport {
64 type: "http";
65 url: string;
66 headers: Record<string, string>;
67}
68
69/** A transport plus the human label we surface when it's up or down. */
70interface LabeledTransport {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected