@agent-inspect/mcp
v6.7.2
Published
Local MCP client tool-call tracing for AgentInspect
Readme
@agent-inspect/mcp
MCP client tool-call tracing for AgentInspect (list/call lifecycle).
Support level: Supported — see SUPPORT-LEVELS.md.
When to use
- Your agent uses an MCP client and you need local tool-call steps
When not to use
- Running an MCP server (use your server stack)
- Gateway/proxy products
Install
npm install agent-inspect @agent-inspect/mcpExample
import { wrapMcpClient } from "@agent-inspect/mcp";
const traced = wrapMcpClient(mcpClient, { traceDir: ".agent-inspect" });
await traced.callTool({ name: "search", arguments: {} });Privacy
- Local JSONL only; no MCP traffic sent to AgentInspect cloud (there is none)
API
| Export | Purpose |
| ------ | ------- |
| wrapMcpClient | Trace list/call tool operations |
CLI
npx agent-inspect view · search --kind tool
Docs
Troubleshooting
- Missing list_tools steps: Ensure client goes through wrapped instance
Version
Part of the fixed AgentInspect release line. See the npm badge / package manifest for the current version.
License
MIT
