Debug a Ticket From Your IDE
You’re triaging a ticket that a customer escalated. Instead of switching to the dashboard, pull the full investigation into your editor.Read the AI's reasoning
Ask:“Show me the debug data for that session, including the AI’s reasoning steps and citations.”
investigate_ticketfetches the session summary, history, handoff details, tags, and diagnostics in one call.investigate_session_debugreturns the full debug JSON with per-message AI reasoning and source citations.add_session_commentposts an internal comment visible only to your team.
Bulk-Train Your Agent From Unresolved Sessions
Your AI agent handed off 30 sessions last week. You want to find patterns and create training scenarios so it handles those topics next time.Analyze handoff reasons
Ask:“Show me handoff analytics for the last 7 days — what are the top reasons?”
Create training drafts
Ask:“Create a draft training scenario titled ‘Subscription cancellation flow’ that instructs the AI to walk the customer through cancellation steps and offer a retention discount before confirming.”
Review and publish
Review the draft in your OpenCX dashboard, then ask:“Publish the training scenario ‘Subscription cancellation flow’.”
filter_sessionsfinds sessions by status and date range.get_handoff_analyticsreturns reason breakdowns, sentiment, and referenced resources.create_training_scenariosaves a new scenario as a draft for review.publish_training_scenariomakes it active for the AI agent.
Pull Customer Insights for a Sprint Review
Your product team meets weekly. You need a summary of what customers asked about most, grouped by theme and ready to share.Fetch recent insights
Ask:“List customer insights — show me the most recent ones with their categories and session counts.”
Drill into a theme
Ask:“Show me the details for the top insight — which sessions does it reference?”
list_insight_categoriesreturns available category groupings.list_insightsretrieves insights sorted by recency with pagination.get_insightshows full details including related sessions and resolution status.assign_insightroutes an insight to a specific team for follow-up.
Related Documentation
Tools & Capabilities
Full reference of every available tool
Installation
Set up the MCP server in your AI tool
Authentication
API key configuration and security
Troubleshooting
Common issues and fixes