Developer Tools

LogRocket MCP

LogRocket MCP lets agents search and analyze session recordings, network requests, issues and product analytics metrics through LogRocket's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Use logrocket

    Run a natural language query against LogRocket. Use this to query sessions, metrics, issues, or other app data unless dedicated tools that would be a better fit are available. If the user references a specific session by providing a session URL, include the full URL in your query, not just part of it. Optionally pass a chatID to continue an existing conversation. Queries may take as long as 10 minutes to complete. If the result you get back has status: completed, the query is done. If the result you get back has status: thinking, the query is still running in the background. In this case, any messages in the result are meant to convey progress and should be shared with the user so they know work is still being done. You should then continue calling this tool with the chatID from the result and pollForResult: true until the query completes. Completed results may include links to specific sessions, metrics, issues, or other app data. These act as citations. Include them in your reply so the user can trace any claim back to the underlying LogRocket data.

  • Watch sessions

    Use this to analyze one or more LogRocket sessions, each identified by its recording ID and session ID. You can use this tool to understand user behavior in the session or to extract additional information about the session (e.g., metadata, console logs, network requests and responses). Provide a separate natural language query describing what you want to know for each session to be analyzed. Sessions are analyzed in parallel, independently of each other. The tool returns an object with two properties, pendingResults and completedResults. The contents of pendingResults indicate which of your session watching requests are still running in the background, if any. Session watching can take several minutes to complete. When session watching requests are submitted - each combo of query, recordingID, and sessionID is treated as separate request - the requests are each assigned a unique fingerprint identifying the request. If there are entries in pendingResults, continue calling this tool with pollForResults: true and any pending fingerprints until all requests are complete. The contents of completedResults indicate which of your session watching requests have completed. Each object in completedResults will contain an `ok` field indicating whether the request succeeded or failed. Objects for successful requests will also contain a `content` field with the response to your query about the session and a `keyFrames` field citing specific frames from the session that ground the response. Cite relevant key frames in your own response to the user to provide evidence for your statements. You can choose to link to provided screenshots, fetch and display screenshot image content inline, and/or use the `videoTime` field to construct links to specific moments in the corresponding session (LogRocket session URLs have the structure `https://app.logrocket.com/<organizationID>/<projectID>/s/<recordingID>/<sessionID>?t=<videoTime>`; the `t` param is where you put the video time value you want to jump to).