Trace every MCP client and server in this process, with no wrapping.
Patches @modelcontextprotocol/sdk in place: each Client.callTool, and each
tools/call a Server or McpServer runs, becomes a tool run, as with
wrapMcpClient and wrapMcpServer. Call it before registering tools.
configureMcp(options: WrapMcpOptions = {}): Promise<boolean>| Name | Type | Description |
|---|---|---|
options | WrapMcpOptions | Default: {}As for |
import { configureMcp } from "langsmith/wrappers/mcp";
await configureMcp();