Looking to connect Claude Code, Cursor, or another AI assistant to Monocle? See Monocle MCP. This page is about monitoring the MCP server your application exposes.
If your application exposes an MCP server, Monocle provides a dedicated dashboard for tracking how AI tools interact with it. See which tools are called, by whom, and how they perform.

Dashboard
- Overview: tool calls, latency, error rate, users and clients, with charts over time. The error rate counts
tools/callrequests only. - Tools: calls, average and P95 duration, and error rate per tool. Search and sort the table.
- Clients and users: who calls your MCP server, and how often.
- Tool page: click a tool to see its metrics and its recent calls. Filter them by status and sort them by time or duration. Each call shows its input, its output (or its error message when it failed), the user and a link to the trace.
A call counts as failed when its span has an error status, when the tool returns an isError result, or when the server answers with a JSON-RPC error.
The Input and Output columns appear only when the instrumentation records them. Enable
recordInputs and recordOutputs in the instrumentation
options.
Span attributes
@monocle.sh/instrumentation-mcp sets these attributes. Not every attribute is present on every request.
| Attribute | Used for |
|---|---|
mcp.method.name | JSON-RPC method, e.g. tools/call |
mcp.tool.name | Tools table and tool page |
mcp.client.name | Clients table |
mcp.request.argument.* | Input column (with recordInputs) |
mcp.tool.result.0.content | Output column (with recordOutputs) |
mcp.tool.result.is_error | Failed calls: the tool returned an error result |
rpc.jsonrpc.error_code | Failed calls: the server answered with an error |
rpc.jsonrpc.error_message | Error message of a failed call |
The instrumentation also records the session ID, request ID, transport, server name and version, client version, protocol version, resource URI and prompt name. It supports SDK v1 and v2, including protocol 2026-07-28. Legacy connections send the client identity only in the initialize handshake, so later stateless HTTP requests have no client name.