MCPcopy Create free account
hub / github.com/TanStack/ai / api.mcp-pool.ts

File api.mcp-pool.ts

examples/ts-react-chat/src/routes/api.mcp-pool.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * /api/mcp-pool — createMCPClients pool pattern.
3 *
4 * Demonstrates the createMCPClients() pool API with THREE servers:

Callers

nothing calls this directly

Calls 11

createMCPClientsFunction · 0.90
everythingTransportFunction · 0.90
memoryTransportFunction · 0.90
chatFunction · 0.90
resolveTextAdapterFunction · 0.90
maxIterationsFunction · 0.90
jsonMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected