fix: expose home timeline via MCP and restore xeepy page access#29
Open
nelsongallardo wants to merge 1 commit into
Open
fix: expose home timeline via MCP and restore xeepy page access#29nelsongallardo wants to merge 1 commit into
nelsongallardo wants to merge 1 commit into
Conversation
|
@nelsongallardo is attempting to deploy a commit to the kaivocmenirehtacgmailcom's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Summary
x_get_home_timelineMCP tool for reading For You / Following home feed postsgetPage()fromsrc/mcp/local-tools.jsso xeepy fallback tools stop crashing withlocalTools.getPage is not a functionscrapeTrending()instead of always hardcoding the trending tabRepro
Before this change:
x_get_recommendationscrashed in MCP fallback mode withlocalTools.getPage is not a functionsrc/timelineViewer.jsalready existed as a browser-only scriptx_get_trends/x_get_exploreignored the requested category and always navigated to/explore/tabs/trendingVerification
x_login()now returns populated posts from the home timelinegetPage()without crashingnode --checkNotes
Trend parsing is still somewhat brittle because X’s Explore DOM is noisy, but category routing is now at least correct and home timeline access is available through MCP.