Skip to content

docs: clarify fee requirements and use tempo.com MCP endpoint - #1189

Open
juandolealt wants to merge 3 commits into
mainfrom
docs/clarify-fee-token-requirements
Open

juandolealt wants to merge 3 commits into
mainfrom
docs/clarify-fee-token-requirements

Conversation

@juandolealt

Copy link
Copy Markdown
Member

Changes

  • Group USD TIP-20 eligibility, the maximum-fee balance requirement, and conditional Fee AMM liquidity in one list.
  • Lead the pathUSD reference with its root quote-token and first fallback fee-token roles.
  • Use https://tempo.com/api/mcp/ in agent setup commands, documentation links, and generated Markdown guidance, with matching tests and export validation.

Verification

  • Live fee specification and protocol implementation confirm the fee rules and pathUSD roles.
  • The MCP endpoint returns HTTP 200 for initialization, tool discovery, and page reads. GET returns 405 by design.
  • Type checking, lint/style checks, 1,722 unit tests, and seven targeted browser tests pass.
  • Visually checked both protocol pages.
  • Production build and generated Markdown audit pass with bounded local worker concurrency.

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tempo-docs Ready Ready Preview Nov 25, 2026 2:40pm UTC

Request Review

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 old https://mcp.tempo.xyz server, unlike every other setup path this PR moves. The deeplink's config parameter 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.json snippet 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 to https://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 for mcp.tempo.xyz finds 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 to https://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.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.xyz references are left. The constants, setup commands, SKILL.md, the export notice, the artifact checker and the tests all use the same https://tempo.com/api/mcp/ string, so the checker and the generated Markdown stay in sync.
  • Fee docs: the three listed conditions match the ## Fee payment steps 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-payment and #pathusd anchors exist.
  • SEO test refactor: test.each runs 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.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

This branch was successfully deployed

1 active deployment
Preview — 28f3de67 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant