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

File api.mcp-lifecycle-test.ts

testing/e2e/src/routes/api.mcp-lifecycle-test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createFileRoute } from '@tanstack/react-router'
2import { chat, chatParamsFromRequestBody, maxIterations } from '@tanstack/ai'
3import { createMCPClient } from '@tanstack/ai-mcp'
4import type { StreamChunk } from '@tanstack/ai'

Callers

nothing calls this directly

Calls 8

createMCPClientFunction · 0.90
createTextAdapterFunction · 0.90
chatFunction · 0.90
maxIterationsFunction · 0.90
jsonMethod · 0.80
closeMethod · 0.65
toolsMethod · 0.45

Tested by

no test coverage detected