Skip to main content
Glama
lekt9

OpenReplay MCP Server

by lekt9

get_session_details

Retrieve comprehensive session data including events, errors, network requests, console logs, and performance metrics to analyze user behavior patterns.

Instructions

Get detailed information about a specific session including all events, errors, network requests, console logs, custom events, and performance metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesThe session ID to retrieve

Implementation Reference

  • The handler function implementing the logic for the get_session_details tool. It notes that full details are unavailable with API key auth and recommends alternatives.
    private async getSessionDetails(args: any) { const { sessionId } = args; // Session replay details not available via v1 API // Only events are available return { content: [ { type: "text", text: "Session replay details are not available via API key authentication. Use get_session_events instead or use JWT authentication for full access.", }, ], }; }
  • Input schema for the get_session_details tool, defining a required 'sessionId' string parameter.
    inputSchema: { type: "object", properties: { sessionId: { type: "string", description: "The session ID to retrieve" } }, required: ["sessionId"] }
  • src/index.ts:110-120 (registration)
    Registration of the get_session_details tool in the ListTools response, including name, description, and input schema.
    { name: "get_session_details", description: "Get detailed information about a specific session including all events, errors, network requests, console logs, custom events, and performance metrics", inputSchema: { type: "object", properties: { sessionId: { type: "string", description: "The session ID to retrieve" } }, required: ["sessionId"] } },
  • src/index.ts:280-281 (registration)
    Dispatch case in the CallToolRequestHandler that routes calls to the getSessionDetails handler method.
    case "get_session_details": return await this.getSessionDetails(args);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lekt9/openreplay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server