Events are the core unit of analytics in MCPcat. Each interaction between an AI client and your MCP server generates an event that captures what happened, when it happened, and the surrounding context. When analyzed together, these events reveal how users interact with your tools and where improvements can be made.
Tool List (tools/list): Captured when a client discovers available tools from your server. These events show which capabilities clients are accessing and how often they refresh their tool inventory.Tool Call (tools/call): The most important event type, fired whenever a client invokes one of your tools. These events capture:
Initialize (initialize): Marks the beginning of a client session, capturing client information like application name and version. This helps you understand your user ecosystem and make compatibility decisions.
Events are captured without blocking your tool execution. This ensures analytics never impact your server’s response times. Events are collected in a background queue and processed separately from your main application flow.
Instead of sending each event immediately, MCPcat batches events for efficient transmission. This reduces network overhead and improves reliability. The batching system adapts to activity levels, sending more frequently during high usage and conserving resources during quiet periods.