Skip to content

Conversation

brianr
Copy link
Member

@brianr brianr commented Oct 14, 2025

Problem

We want to add a tool to provide Session Replay data via the mcp server.

Solution

Main change

Add a get-replay tool, which wraps the get a session replay API endpoint.

Replays can often be large, so they are not returned inline. Two transport modes:

  • file, the default, which downloads the replay and provides the filename to the mcp client
  • resource, which provides the replay as an mcp resource (not supported by all mcp clients, for example, Codex)

Other changes

  • All tools - turn off pretty print in responses to save context window space

@brianr brianr changed the title Add get-replay tool, turn off pretty print Add get-replay tool Oct 14, 2025
@brianr brianr marked this pull request as draft October 14, 2025 07:35
@brianr brianr marked this pull request as ready for review October 14, 2025 08:05
@brianr brianr merged commit e116df0 into main Oct 14, 2025
2 checks passed
@brianr brianr deleted the brianr/add-get-replay branch October 14, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant