Skip to content
providerkit
GitHub

listMcpTools

function listMcpTools(options): Promise<McpToolRecord[]>;

Defined in: agents/src/mcp.ts:478

Lists a server’s tools once, so a developer can save them in the app and pass them to mcpTools as recorded. Run it when you add a server or want to take its changes.

Parameter Type
options McpServerOptions & object

Promise<McpToolRecord[]>