In MCPcat, a session represents a single continuous interaction between an AI client (like Claude Desktop or another MCP client) and your MCP server. Sessions help you understand the complete context of how users interact with your tools over time.
A session begins when a client connects to your MCP server and persists throughout their entire interaction. Each session is automatically assigned a unique identifier that tracks all activities within that connection.Sessions capture:
The sequence of tool calls made by the user
The time spent between interactions
User identity (if provided through the identify callback)
Client information (name and version)
The overall flow of how users accomplish their tasks