MCPcopy Create free account
hub / github.com/TanStack/ai / tools.test.ts

File tools.test.ts

packages/ai-mcp/tests/tools.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest'
2import { Client } from '@modelcontextprotocol/sdk/client/index.js'
3import {
4 makeMcpExecute,

Callers

nothing calls this directly

Calls 12

mcpContentToTanstackFunction · 0.90
toServerToolsFunction · 0.90
makeMcpExecuteFunction · 0.90
fakeMcpClientFunction · 0.85
mcpToolDefFunction · 0.85
readToolMcpMetaFunction · 0.85
connectMethod · 0.65
closeMethod · 0.65
abortMethod · 0.65
executeFunction · 0.50

Tested by

no test coverage detected