Skip to content

MCP Insights

Inspectr introduces first-class Model Context Protocol (MCP) insights. MCP requests are auto-detected, categorized, and enriched so you can see which tools, resources, and prompts are being exercised—and how many tokens each call costs.

Inspectr showing MCP request details and MCP tags
  • Auto-detection of MCP traffic operations are marked with the mcp protocol.
  • Classification by category and type: Inspectr parses method + params to tag calls as tool, resource, prompt, or system (e.g., tools/call, resources/read, prompts/get, initialize, notifications).
  • Name extraction: pulls the tool/resource/prompt identifier (search_tool, resource URI, prompt name) into the operation metadata and tags.
  • Token accounting: Estimate request + response tokens usage and stores request/response/total per operation.
  • MCP-specific metrics: tracks totals and errors for MCP requests, plus counts per tool/resource/prompt.
  • Trace-friendly IDs: captures MCP session/request IDs from headers to correlate chat flows and SSE streams.
Inspectr rendering MCP tools list response with MCP tags

The details panel shows MCP information for each operation:

  • Classification info:
    • Tool/Resource/Prompt name (e.g.get_trace)
    • The method (e.g. tools/call)
    • The category (tool, resource, prompt, system) (e.g. tool)
  • Token counts (request, response, total) are attached to each MCP operation.
  • Input
    • The parameters passed to the MCP method (referenced in the MCP spec as the params field).
  • Output
    • The structured response content (referenced in the MCP spec as the structuredContent field)
    • The content response (referenced in the MCP spec as the content field)
    • The raw response body, containing both structured and content items.
Inspectr showing MCP structured content items for responses

Trace View - Usage insights and token estimates

Section titled “Trace View - Usage insights and token estimates”

Inspectr aggregates MCP activity per session so you can get insights:

  • About the sequence of the MCP interactions
  • Which tools are called most often? Which resources are read? Which prompts are popular?
  • How many tokens are burned by MCP traffic over a window?
  • How often do MCP calls error (HTTP or JSON-RPC)?
Inspectr showing MCP token totals and breakdown

Per operation, you can see all the details, like mentioned above.

MCP tracing tool list
  • Methods with tools/* become tool calls; resources/*resource; prompts/*prompt; notifications/roots/tasks/logging fall under system.
  • Names are pulled from params:
    • tools/callparams.name
    • resources/readparams.uri / first entry in params.uris
    • prompts/get / prompts/callparams.name
  • Unknown/other MCP methods still attach protocol and token counts, defaulting category to system.
Inspectr tracing view showing MCP method classification

Explore MCP Insights on the product page →