Repository navigation
docs: clarify fee requirements and use tempo.com MCP endpoint - #1189
juandolealt wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.
Additional findings (outside the current diff — GitHub can't attach inline comments there):
-
🟡
src/pages/docs/guide/using-tempo-with-ai.mdx— Cursor users who click "Install in Cursor" still get the oldhttps://mcp.tempo.xyzserver, unlike every other setup path this PR moves. The deeplink'sconfigparameter is base64 of{"url":"https://mcp.tempo.xyz"}, so the plain-text grep this PR relied on missed it. Fix: re-encode the config as base64 of{"url":"https://tempo.com/api/mcp/"}, then percent-encode=as%3D. That matches the~/.cursor/mcp.jsonsnippet on the same tab.Why this was flagged
The Cursor tab at src/pages/docs/guide/using-tempo-with-ai.mdx:83 links to
cursor://anysphere.cursor-deeplink/mcp/install?name=tempo&config=eyJ1cmwiOiJodHRwczovL21jcC50ZW1wby54eXoifQ%3D%3D. That payload decodes to{"url":"https://mcp.tempo.xyz"}. The PR changed the JSON snippet just below it (line ~93) and every other copy tohttps://tempo.com/api/mcp/. A user who clicks the one-click install button therefore gets a different server from the one the page, SKILL.md, aiDocsNotice() and the header now name. If the old host is retired, that user's MCP connection breaks. No safeguard catches this. scripts/check-markdown-components.mjs and the tests only look for the plain-text URL, and a repo-wide search formcp.tempo.xyzfinds no match because the URL is base64-encoded.Verification: nit. Trigger: a Cursor user clicks "Install in Cursor". src/pages/docs/guide/using-tempo-with-ai.mdx:83 is unchanged by the diff, and its config payload decodes to
{"url":"https://mcp.tempo.xyz"}. The diff moves every plain-text copy on the same page tohttps://tempo.com/api/mcp/. No test decodes it, so nothing catches the mismatch. This change makes the button the only path left out of the migration.
There was a problem hiding this comment.
LGTM. The MCP endpoint swap is consistent across the repo, and the new fee text matches the fee spec.
What was reviewed:
- Endpoint swap: no
mcp.tempo.xyzreferences are left. The constants, setup commands, SKILL.md, the export notice, the artifact checker and the tests all use the samehttps://tempo.com/api/mcp/string, so the checker and the generated Markdown stay in sync. - Fee docs: the three listed conditions match the
## Fee paymentsteps in spec-fee.mdx (max_fee = gas_limit * gas_price, the balance check, the Fee AMM liquidity reservation). The "first fallback fee token" wording matches the T13 ordered fallback. The#fee-paymentand#pathusdanchors exist. - SEO test refactor:
test.eachruns the same per-page assertions as before, and the count check is still there. I didn't run any tests or hit the live endpoint.
Extended reasoning...
The change replaces one URL string in 9 code, test and doc files, rewords two protocol docs pages, and splits one Vitest loop into per-page cases. It touches no security-sensitive surface: no auth, user input handling or secrets. The fee and pathUSD claims match the repo's own spec-fee.mdx, and the linked anchors resolve. The new path is the Vocs built-in /api/mcp route, which docs-request-classifier.ts already recognizes. The diff is small and mechanical, the hunt ended with dry_streak, and no findings or third-party objections are visible.
Changes
https://tempo.com/api/mcp/in agent setup commands, documentation links, and generated Markdown guidance, with matching tests and export validation.Verification