Skip to main content

Install

Integrate

Call trackMCP after registering your tools, before connecting transport. It works with McpServer and the low-level Server from @modelcontextprotocol/sdk 1.x, and with McpServer from @modelcontextprotocol/server 2.x:
Get your org ID from app.agnost.ai.

Options

Checkpoints

Use checkpoint() inside tool handlers to get per-step latency breakdowns:
Checkpoints appear as a timeline in your dashboard.

What appears in Agnost AI

  • Tool calls for MCP tool invocations.
  • Events for every tracked call.
  • Checkpoint timeline for calls that use checkpoint().
  • Failed tool calls remain visible in Events with their error details.

Verify

Call one MCP tool from your client, then open app.agnost.ai. Check Events first, then Tool calls.

Troubleshooting

  • Call trackMCP after registering tools and before connecting transport. Calling it before any tool exists logs No CallTool handler found.
  • Confirm the org ID is correct.

Next steps

  • Tool calls: analyze calls from your TypeScript server.
  • Events: verify call fields and execution details.
  • Alerts: monitor important MCP tool conditions.