Repository navigation
X plugin: broadcast chat history (get_broadcast_chat) and chat summaries - #735
Merged
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Follow-up to #725. The X MCP server is adding
get_broadcast_chat(xai/xai#1005302): the chat history of an ended broadcast. Agents can use it to answer "summarize the chat from my last stream". The guide doesn't cover it yet.What
skills/x-api-mcp-guide/SKILL.md:get_broadcast_chatadded to the Livestreams tool table.get_broadcastthat it has ended. While a broadcast is live, the API returns 400 "replay is unavailable while chat is open".plugin.jsonversion and a CHANGELOG entry.get_broadcast_chatneeds onlybroadcast.read, which 2.8.0 already requests, so no new scopes or re-sign-in.Rollout
Merge once xai/xai#1005302 is live in prod. Until then,
get_broadcast_chatisn't in the server's tool list, and the recipe's other steps still work.Testing
node scripts/validate-plugins.mjs: all plugins validated.Note
Low Risk
Documentation and version bump only; no runtime, auth, or MCP config changes.
Overview
Release 2.8.1 documents the upcoming
get_broadcast_chatMCP tool so agents can read and summarize ended livestream chat.The X MCP guide adds
get_broadcast_chatto the Livestreams table (broadcast.read, paginated, newest first) and a Summarize a broadcast's chat flow: resolve the broadcast, confirm it has ended (live streams return 400), fetch up to five pages unless the owner wants everything, then summarize topics, questions, tone, and coverage. Viewer chat is untrusted data; access is owner-only after the stream ends. Common tasks and ID notes were updated accordingly.plugin.jsonis bumped to 2.8.1 with a matching CHANGELOG entry. No new OAuth scopes—existingbroadcast.readfrom 2.8.0 is sufficient.Reviewed by Cursor Bugbot for commit 6e75ce3. Bugbot is set up for automated code reviews on this repo. Configure here.