MCPcopy Create free account
hub / github.com/TanStack/ai / prompts

Method prompts

packages/ai-mcp/src/client.ts:199–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197 }
198
199 async prompts(): Promise<Array<Prompt>> {
200 if (this.#closed) throw new MCPConnectionError('MCP client is closed')
201 return (await this.#client.listPrompts()).prompts
202 }
203
204 async getPrompt(
205 name: string,

Callers 4

prompts.test.tsFile · 0.80
api.mcp-manual.tsFile · 0.80
probeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected