Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/ai
/ api.mcp-manual.ts
File
api.mcp-manual.ts
examples/ts-react-chat/src/routes/api.mcp-manual.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* /api/mcp-manual — MANUAL MCP client pattern.
3
*
4
* Demonstrates the fully-manual use-case:
Callers
nothing calls this directly
Calls
15
chatParamsFromRequestBody
Function · 0.90
createMCPClient
Function · 0.90
everythingTransport
Function · 0.90
mcpPromptToMessages
Function · 0.90
chat
Function · 0.90
resolveTextAdapter
Function · 0.90
maxIterations
Function · 0.90
toServerSentEventsResponse
Function · 0.90
json
Method · 0.80
resources
Method · 0.80
readResource
Method · 0.80
prompts
Method · 0.80
Tested by
no test coverage detected