Rewrite X MCP guide for auto-credits and connector-only auth - #277
Open
vaulpannx wants to merge 3 commits into
Open
Rewrite X MCP guide for auto-credits and connector-only auth#277vaulpannx wants to merge 3 commits into
vaulpannx wants to merge 3 commits into
Conversation
On connect, fetch credits, congratulate without a gift amount, and always state remaining balance. Treat connected-but-no-tools as account-not-ready, 503s as an X outage, and never sign in via browser or Bearer tokens. Co-authored-by: Cursor <cursoragent@cursor.com>
tcaldwell-x
reviewed
Aug 27, 2026
tcaldwell-x
left a comment
Contributor
There was a problem hiding this comment.
Intent matches the test plan: credits before any connect copy, no purchase CTA until a real $0 / over-budget read, tools=0 is setup not a paywall, 503 is an outage, Connect-only auth. Version bump, changelog, and the get_usage_credits pricing.md line all line up. Field names match the public GET /2/usage/credits docs (total_balance / free_balance / free_grants).
Not stamping. A few spots will produce the wrong user-facing copy — inline on the two that matter, nits below.
Nits
- Starter table: agents usually do not know the Cursor plan. Say only quote a row if you actually know it; do not guess. No Hobby / Business / other row.
- GrokBot-specific browser wording is agent-facing in a public Cursor plugin. The quoted user line is already generic; When/Do not should say this computer / the agent browser so non-GrokBot agents still skip browser login.
- Error 2 quoted copy: "clearing out and re-installing" is awkward.
Confirm hosted MCP actually exposes get_usage_credits under the current billing.write scope. If that tool is missing while other X tools work, today error 2 signatures will tell healthy accounts to create a Project and App.
tcaldwell-x
approved these changes
Aug 27, 2026
tcaldwell-x
approved these changes
Aug 27, 2026
Congrats only on just-connected, $0 remaining wins over leftover free_balance, and a missing get_usage_credits tool is an outage not account-not-ready. Co-authored-by: Cursor <cursoragent@cursor.com>
tcaldwell-x
approved these changes
Aug 27, 2026
tcaldwell-x
approved these changes
Aug 27, 2026
tcaldwell-x
approved these changes
Aug 28, 2026
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
get_usage_credits, congratulate without a gift dollar amount, and always state remainingtotal_balance(including $0.00). Starter amounts by Cursor plan only if the user asks how much they received.user-X-*not found,tools=0) is account-not-ready: reinstall the X connection, then console.x.com developer account / Default Project / App. 503s are an X outage, not the user's fault. Never buy-credits copy before a successful credits read.Test plan
free_balance> 0: congrats line has no gift amount; remaining balance is stated; 2–3 ideas match the budget row.total_balance~$0: capabilities + You have $0.00 in credits + free lookups + console.x.com.tools=0/user-X-*not found: account-not-ready copy (reinstall, then console project/app). Not a paywall.get_usage_credits503 whileget_users_meworks: outage copy, not $0 and not error 2.Made with Cursor