MCP Server
Replay exposes an MCP (Model Context Protocol) server that lets AI agents interact with your Replay workspace. Use it from Claude Desktop, Cursor, or any MCP-compatible client to manage roleplays, scripts, courses, and more through natural language.Available Tools
Roleplays
| Tool | Description |
|---|---|
list_roleplays | List all roleplays with optional live/draft filter. |
get_roleplay | Get detailed roleplay configuration including persona, scorecard, and variables. |
create_roleplay | Create a new roleplay with persona, scorecard, and configuration. |
update_roleplay | Update a roleplay’s title, instructions, objective, passing score, or live status. |
archive_roleplay | Soft-delete a roleplay. |
Sessions
| Tool | Description |
|---|---|
list_sessions | List roleplay sessions with scores, pass/fail, and user info. |
get_session_results | Get detailed scoring results for a completed session. |
Scripts
| Tool | Description |
|---|---|
list_scripts | List all script memorization activities. |
get_script | Get a script’s segments and configuration. |
create_script | Create a new script with dialog segments. |
Rapid Fire
| Tool | Description |
|---|---|
list_rapid_fires | List all rapid fire objection handling activities with objection counts. |
get_rapid_fire | Get a rapid fire’s objections and configuration. |
create_rapid_fire | Create a new rapid fire with objections. |
Courses
| Tool | Description |
|---|---|
list_courses | List all courses in your workspace. |
get_course | Get a course’s details and assignments. |
create_course | Create a new course. |
Building Blocks — Personas
| Tool | Description |
|---|---|
list_personas | List all customer personas with usage counts. |
create_persona | Create a new persona with voice and avatar settings. |
update_persona | Update a persona (checks for shared usage — see Building Block Safety). |
archive_persona | Permanently delete a persona (checks for shared usage). |
Building Blocks — Scorecards
| Tool | Description |
|---|---|
list_scorecards | List all scorecards with their sections. |
create_scorecard | Create a new scorecard (add sections/criteria in the web editor). |
update_scorecard | Update a scorecard’s title (checks for shared usage). |
archive_scorecard | Permanently delete a scorecard (checks for shared usage). |
Building Blocks — Variables & Variants
| Tool | Description |
|---|---|
list_variables | List all variables with their variants and usage counts. |
get_variable | Get a variable’s variants and usage details. |
create_variable | Create a new variable with its first variant, linked to a roleplay. |
create_variant | Add a new variant to an existing variable. |
update_variant | Update a variant’s name or content (checks for shared usage). |
link_variant_to_roleplay | Link a variant to a roleplay (add or switch). |
unlink_variant_from_roleplay | Unlink a variant from a roleplay. Only removes the association. |
delete_variable | Permanently delete a variable, all its variants, and all roleplay links. |
Users & Teams
| Tool | Description |
|---|---|
list_users | List all users in your workspace with name, email, team, and role. |
list_teams | List all teams in your workspace. |
Search
| Tool | Description |
|---|---|
global_search | Full-text search across all content types (roleplays, scripts, courses, etc.). |
Building Block Safety
Personas, scorecards, and variants are shared resources — one persona can be used by many roleplays. To prevent accidental changes that affect multiple roleplays, the MCP server enforces a safety check:- When you try to update or delete a shared building block, the tool lists all affected roleplays and refuses the change.
- To proceed, you must call the tool again with
confirm_shared_edit: true— but only after the user has explicitly approved.
Authentication
The MCP server uses OAuth 2.1 for authentication. When you connect an MCP client, it automatically:- Discovers the OAuth server via
/.well-known/oauth-protected-resource - Redirects you to log in to your Replay account
- Shows a consent screen asking you to approve access
- Exchanges the authorization for an access token
Connecting from Claude Desktop
- Open Claude Desktop
- Go to Settings → Connectors
- Click Add Custom Connector
- Enter:
- Name:
Replay - URL:
https://app.replay.sale/mcp
- Name:
- Click Save
- “List my roleplays in Replay”
- “Show me the details of my Cold Call roleplay”
- “Create a new roleplay for objection handling practice”
- “Search for anything related to discovery calls”
- “Show me session results for last week”
Connecting from Cursor
- Open Cursor Settings (Cmd+, on macOS)
- Navigate to MCP in the sidebar
- Click Add new MCP server
- Enter:
- Name:
Replay - Type:
URL (Server-Sent Events) - URL:
https://app.replay.sale/mcp
- Name:
- Click Save
Connecting from Claude Code
Run this command in your terminal:.mcp.json:
Replay Skills Plugin (Optional)
Replay offers a skills plugin that teaches Claude best practices for creating Replay content like scorecards, personas, and roleplays. This is separate from the MCP server — the MCP server gives Claude the tools to interact with Replay, while the plugin gives Claude the knowledge to use those tools well. The plugin works with both Claude Desktop and Claude Code.- Download the plugin: replay-skills-plugin.zip
- Install it:
- Claude Desktop: Go to Settings → Plugins, click Upload Plugin, and select the downloaded zip file.
- Claude Code: Run
claude plugin add --file /path/to/replay-skills-plugin.zip
Testing with MCP Inspector
MCP Inspector is a developer tool for testing MCP servers interactively.- Set the URL to
https://app.replay.sale/mcp - Set Transport to
Streamable HTTP - Click Connect
- Complete the OAuth login flow when prompted
- Use the Tools tab to explore all available tools
Troubleshooting
OAuth login loop or redirect error
OAuth login loop or redirect error
Make sure your Replay account is active and you can log in at app.replay.sale. If you’re redirected back to the consent page repeatedly, try clearing your browser cookies for
app.replay.sale and reconnecting.401 Unauthorized after connecting
401 Unauthorized after connecting
Tools not showing up
Tools not showing up
Verify the URL is exactly
https://app.replay.sale/mcp. If you were previously using https://app.replay.sale/mcp/mcp, update to the new shorter URL.Building block update refused
Building block update refused
If a tool responds with a list of affected roleplays and asks for
confirm_shared_edit, this is the safety check. Review the listed roleplays, confirm with the user, then call the tool again with confirm_shared_edit: true.
