From e7af166342828d36ec32c4a8c55deb2ca36827c9 Mon Sep 17 00:00:00 2001
From: juan leal <114959779+juandolealt@users.noreply.github.com>
Date: Wed, 25 Nov 2026 14:25:05 +0000
Subject: [PATCH 1/4] docs: clarify fee requirements and use tempo.com MCP
endpoint
---
e2e/docs-workspace.test.ts | 4 ++--
public/SKILL.md | 2 +-
scripts/check-markdown-components.mjs | 2 +-
src/components/TempoMcpExplorer.tsx | 2 +-
src/lib/ai-docs.ts | 2 +-
src/lib/ai-install-commands.ts | 4 ++--
src/lib/markdown-output.test.ts | 6 +++---
src/marketing/app/_components/Header.tsx | 2 +-
src/pages/docs/guide/using-tempo-with-ai.mdx | 12 ++++++------
src/pages/docs/protocol/exchange/quote-tokens.mdx | 4 +++-
src/pages/docs/protocol/fees/index.mdx | 8 +++++++-
11 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/e2e/docs-workspace.test.ts b/e2e/docs-workspace.test.ts
index 5d153b7f9..6e3e8dc14 100644
--- a/e2e/docs-workspace.test.ts
+++ b/e2e/docs-workspace.test.ts
@@ -33,7 +33,7 @@ const homeAgentSetups = [
},
{
label: 'Amp',
- command: 'amp mcp add tempo https://mcp.tempo.xyz',
+ command: 'amp mcp add tempo https://tempo.com/api/mcp/',
instruction: /MCP/,
install: /^Install Amp/,
},
@@ -45,7 +45,7 @@ const homeAgentSetups = [
},
{
label: 'MCP',
- command: 'https://mcp.tempo.xyz',
+ command: 'https://tempo.com/api/mcp/',
instruction: /HTTP MCP server/i,
install: null,
},
diff --git a/public/SKILL.md b/public/SKILL.md
index 10070f788..65a88e2bd 100644
--- a/public/SKILL.md
+++ b/public/SKILL.md
@@ -38,7 +38,7 @@ Use current Zones pages before the earlier `/docs/guide/private-zones` sandbox w
## Find and read the evidence
-Prefer the hosted MCP server at `https://mcp.tempo.xyz` when available:
+Prefer the hosted MCP server at `https://tempo.com/api/mcp/` when available:
| Tool | Use it to… |
| --- | --- |
diff --git a/scripts/check-markdown-components.mjs b/scripts/check-markdown-components.mjs
index 22e3dc1dd..d40df7baa 100644
--- a/scripts/check-markdown-components.mjs
+++ b/scripts/check-markdown-components.mjs
@@ -33,7 +33,7 @@ for (const file of generatedFiles) {
if (hiddenFallback) hiddenChangelogFallbacks.push(file)
parsedContents.push({ file, content: maskedContent })
if (
- !content.includes('https://mcp.tempo.xyz') ||
+ !content.includes('https://tempo.com/api/mcp/') ||
!content.includes('`search`') ||
!content.includes('`find_pages`') ||
!content.includes('`read_page`') ||
diff --git a/src/components/TempoMcpExplorer.tsx b/src/components/TempoMcpExplorer.tsx
index cd125ae28..1b156f76f 100644
--- a/src/components/TempoMcpExplorer.tsx
+++ b/src/components/TempoMcpExplorer.tsx
@@ -7,7 +7,7 @@ import LucideRotateCcw from '~icons/lucide/rotate-ccw'
import { Container } from './Container'
import * as ui from './TempoMcpExplorer.recipes'
-const MCP_ENDPOINT = 'https://mcp.tempo.xyz'
+const MCP_ENDPOINT = 'https://tempo.com/api/mcp/'
const DEFAULT_SOURCE = 'tempo'
const TOOLS = [
diff --git a/src/lib/ai-docs.ts b/src/lib/ai-docs.ts
index 72aa6db90..dd0c0f56c 100644
--- a/src/lib/ai-docs.ts
+++ b/src/lib/ai-docs.ts
@@ -58,7 +58,7 @@ export function parseAiIndex(content: string): AiIndexEntry[] {
export function aiDocsNotice() {
return [
- '> Tempo MCP: Use `search`, `find_pages`, `read_page`, and `code` at `https://mcp.tempo.xyz` for Tempo and related documentation.',
+ '> Tempo MCP: Use `search`, `find_pages`, `read_page`, and `code` at `https://tempo.com/api/mcp/` for Tempo and related documentation.',
'> If an indexed page is missing or reflects an older site, read this site’s [documentation index](/llms.txt) and Markdown pages directly.',
'',
].join('\n')
diff --git a/src/lib/ai-install-commands.ts b/src/lib/ai-install-commands.ts
index a7a7ee4b9..4b9b05c4b 100644
--- a/src/lib/ai-install-commands.ts
+++ b/src/lib/ai-install-commands.ts
@@ -7,7 +7,7 @@ export const tempoPluginInstallCommands = {
/** Agent-specific setup paths shared by the homepage and header. */
export const tempoAgentSetupCommands = {
...tempoPluginInstallCommands,
- amp: 'amp mcp add tempo https://mcp.tempo.xyz',
+ amp: 'amp mcp add tempo https://tempo.com/api/mcp/',
skills: 'npx skills add tempoxyz/plugins --skill docs',
- mcp: 'https://mcp.tempo.xyz',
+ mcp: 'https://tempo.com/api/mcp/',
} as const
diff --git a/src/lib/markdown-output.test.ts b/src/lib/markdown-output.test.ts
index dc35ac937..2eac50eaa 100644
--- a/src/lib/markdown-output.test.ts
+++ b/src/lib/markdown-output.test.ts
@@ -212,7 +212,7 @@ Read the account's transfer history.
const output = await render('')
expect(output).toContain('codex plugin add docs@tempo')
expect(output).toContain('claude plugin install docs@tempo')
- expect(output).toContain('amp mcp add tempo https://mcp.tempo.xyz')
+ expect(output).toContain('amp mcp add tempo https://tempo.com/api/mcp/')
expect(output).toContain('npx skills add tempoxyz/plugins --skill docs')
expect(output).toContain('[All setup options](/docs/guide/using-tempo-with-ai)')
expect(output).not.toContain('test payment')
@@ -310,7 +310,7 @@ Read the account's transfer history.
Status: Required
-Open MCP server
+Open MCP server
`)
expect(output).toContain('```mermaid')
@@ -318,7 +318,7 @@ Status: Required
expect(output).toContain('> **Note**')
expect(output).toContain('All RPC nodes are trustless.')
expect(output).toContain('Status: **Required**')
- expect(output).toContain('[Open MCP server](https://mcp.tempo.xyz)')
+ expect(output).toContain('[Open MCP server](https://tempo.com/api/mcp/)')
expect(output).not.toMatch(/<\/?[A-Z]/)
})
diff --git a/src/marketing/app/_components/Header.tsx b/src/marketing/app/_components/Header.tsx
index c7eb1c0ac..e91ee51db 100644
--- a/src/marketing/app/_components/Header.tsx
+++ b/src/marketing/app/_components/Header.tsx
@@ -133,7 +133,7 @@ const developersMenu: MegaMenuData = {
const TEMPO_AI_GUIDE_URL = developersPath('/docs/guide/using-tempo-with-ai')
const TEMPO_PLUGIN_URL = `${TEMPO_AI_GUIDE_URL}#install-tempo-plugins`
-const TEMPO_MCP_URL = 'https://mcp.tempo.xyz'
+const TEMPO_MCP_URL = 'https://tempo.com/api/mcp/'
type MenuItem = { label: string; href: string; mega?: MegaMenuData }
diff --git a/src/pages/docs/guide/using-tempo-with-ai.mdx b/src/pages/docs/guide/using-tempo-with-ai.mdx
index 62cf5d186..cc9675907 100644
--- a/src/pages/docs/guide/using-tempo-with-ai.mdx
+++ b/src/pages/docs/guide/using-tempo-with-ai.mdx
@@ -57,7 +57,7 @@ For Cursor, Amp, and other clients, connect to the MCP server below. If your age
### Connect to Tempo's MCP server
-Use this option if your editor does not support the Tempo Docs plugin. The MCP server lets your agent search documentation and read complete pages at `https://mcp.tempo.xyz`. Choose your client below.
+Use this option if your editor does not support the Tempo Docs plugin. The MCP server lets your agent search documentation and read complete pages at `https://tempo.com/api/mcp/`. Choose your client below.
@@ -67,14 +67,14 @@ Use this option if your editor does not support the Tempo Docs plugin. The MCP s
```bash
-claude mcp add --transport http tempo https://mcp.tempo.xyz
+claude mcp add --transport http tempo https://tempo.com/api/mcp/
```
```bash
-codex mcp add tempo --url https://mcp.tempo.xyz
+codex mcp add tempo --url https://tempo.com/api/mcp/
```
@@ -90,7 +90,7 @@ To open Cursor and automatically add the Tempo MCP server, click install. Altern
{
"mcpServers": {
"tempo": {
- "url": "https://mcp.tempo.xyz"
+ "url": "https://tempo.com/api/mcp/"
}
}
}
@@ -102,7 +102,7 @@ To open Cursor and automatically add the Tempo MCP server, click install. Altern
```bash
-amp mcp add tempo https://mcp.tempo.xyz
+amp mcp add tempo https://tempo.com/api/mcp/
```
@@ -112,7 +112,7 @@ amp mcp add tempo https://mcp.tempo.xyz
{
"mcpServers": {
"tempo": {
- "url": "https://mcp.tempo.xyz"
+ "url": "https://tempo.com/api/mcp/"
}
}
}
diff --git a/src/pages/docs/protocol/exchange/quote-tokens.mdx b/src/pages/docs/protocol/exchange/quote-tokens.mdx
index af484d2b6..e45e53c50 100644
--- a/src/pages/docs/protocol/exchange/quote-tokens.mdx
+++ b/src/pages/docs/protocol/exchange/quote-tokens.mdx
@@ -1,12 +1,14 @@
---
title: "pathUSD on Tempo Mainnet and quote tokens"
seoTitle: "pathUSD on Tempo Mainnet | Tempo Docs"
-description: Understand live mainnet pathUSD, its role as an optional quote token on Tempo's DEX, and how it differs from testnet faucet tokens.
+description: Understand pathUSD as the Stablecoin DEX root quote token and first fallback fee token, distinct from testnet faucet tokens.
ogImage: /og/2026-q4/og_2026-q4_docs_protocol-exchange-quote-tokens_title-f5_v02.png
---
# pathUSD on Tempo Mainnet and quote tokens
+pathUSD is the root quote token on the Stablecoin DEX and the protocol's first [fallback fee token](/docs/protocol/fees/spec-fee#pathusd).
+
Each USD TIP-20 on Tempo can choose any other USD TIP-20 as its quote token—the token it is paired against on the native decentralized exchange. This guarantees that there is one path between any two tokens, which reduces fragmentation of liquidity and simplifies routing.
`pathUSD` is live on Tempo Mainnet. The production asset and the faucet-issued test token on Tempo Testnet use the same predeploy address, but they exist on separate networks and are not interchangeable.
diff --git a/src/pages/docs/protocol/fees/index.mdx b/src/pages/docs/protocol/fees/index.mdx
index b9478038a..a87dc0766 100644
--- a/src/pages/docs/protocol/fees/index.mdx
+++ b/src/pages/docs/protocol/fees/index.mdx
@@ -20,7 +20,13 @@ Tempo has no native token. Instead, transaction fees—including both gas fees a
| Have another local account pay | Pass the account as [`feePayer`](/docs/guide/tempo-transaction#fee-sponsorship). |
| Request sponsorship from a relay or API | Configure a relay and pass [`feePayer: true`](/docs/api/fee-payer#sponsor-transaction-fees). |
-For a stablecoin to be accepted, it must be USD-denominated, issued as a native TIP-20 contract, and have sufficient liquidity on the native Fee AMM.
+A fee token must meet all three conditions:
+
+1. It is a USD-denominated TIP-20 token.
+2. The fee payer holds enough to cover the maximum fee: gas limit × gas price. Use `maxFeePerGas` for capped transactions, or `gasPrice` for legacy transactions.
+3. If conversion is needed, the native Fee AMM has sufficient liquidity for the validator's preferred fee token.
+
+The [fee specification](/docs/protocol/fees/spec-fee#fee-payment) defines the balance checks and conversion to token base units.
Tempo uses a bounded dynamic base fee. It can fall when block gas usage is below target and rise back toward the cap when the network is busy. For a 50,000 gas transfer, the base-fee cap is about $0.0006, with a quiet-period floor around $0.00003. All fees accrue to the validator who proposes the block.
From 84b0038aebb203d88aebe4ea52bd9a97cbbaa9c1 Mon Sep 17 00:00:00 2001
From: juan leal <114959779+juandolealt@users.noreply.github.com>
Date: Wed, 25 Nov 2026 14:32:16 +0000
Subject: [PATCH 2/4] test(docs): validate SEO metadata per page
---
src/lib/docs-seo-metadata.test.ts | 39 +++++++++++++++++--------------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/src/lib/docs-seo-metadata.test.ts b/src/lib/docs-seo-metadata.test.ts
index ca3732510..c7b407a19 100644
--- a/src/lib/docs-seo-metadata.test.ts
+++ b/src/lib/docs-seo-metadata.test.ts
@@ -90,26 +90,29 @@ function authoredH1(source: string): string | undefined {
}
describe('docs SEO metadata', () => {
- test('keeps audited page titles, H1s, and SEO titles aligned', () => {
- const auditedPages = docsFiles()
- .map((file) => ({ file, source: fs.readFileSync(file, 'utf8') }))
- .filter(
- ({ file, source }) =>
- /^seoTitle:/m.test(source) && path.relative(docsRoot, file) !== 'api/reference.mdx',
- )
-
+ const auditedPages = docsFiles()
+ .map((file) => ({
+ file,
+ page: path.relative(docsRoot, file),
+ source: fs.readFileSync(file, 'utf8'),
+ }))
+ .filter(({ page, source }) => /^seoTitle:/m.test(source) && page !== 'api/reference.mdx')
+
+ test('covers the audited pages', () => {
expect(auditedPages.length).toBeGreaterThanOrEqual(115)
+ })
- for (const { file, source } of auditedPages) {
- const title = frontmatterString(source, 'title')
- const seoTitle = frontmatterString(source, 'seoTitle')
-
- expect(title, file).toBeTruthy()
- expect(authoredH1(source), file).toBe(title)
- expect(seoTitle, file).toBeTruthy()
- expect(seoTitle, file).not.toContain('—')
- expect(authoredH1(source), file).not.toContain('—')
- }
+ // Give each page its own timeout instead of timing the whole documentation corpus.
+ test.each(auditedPages)('aligns titles, H1s, and SEO titles for $page', ({ file, source }) => {
+ const title = frontmatterString(source, 'title')
+ const seoTitle = frontmatterString(source, 'seoTitle')
+ const h1 = authoredH1(source)
+
+ expect(title, file).toBeTruthy()
+ expect(h1, file).toBe(title)
+ expect(seoTitle, file).toBeTruthy()
+ expect(seoTitle, file).not.toContain('—')
+ expect(h1, file).not.toContain('—')
})
test('keeps jxom-authored API metadata outside the audit rewrite', () => {
From 28f3de67381d856ca69efaeace10832f7dbce7b7 Mon Sep 17 00:00:00 2001
From: juan leal <114959779+juandolealt@users.noreply.github.com>
Date: Wed, 25 Nov 2026 14:35:41 +0000
Subject: [PATCH 3/4] docs: update encoded Cursor MCP install link
---
src/lib/ai-install-commands.test.ts | 15 +++++++++++++--
src/pages/docs/guide/using-tempo-with-ai.mdx | 2 +-
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/lib/ai-install-commands.test.ts b/src/lib/ai-install-commands.test.ts
index 96de2a646..672385ca1 100644
--- a/src/lib/ai-install-commands.test.ts
+++ b/src/lib/ai-install-commands.test.ts
@@ -1,6 +1,6 @@
-import { existsSync } from 'node:fs'
+import { existsSync, readFileSync } from 'node:fs'
import { describe, expect, it } from 'vitest'
-import { tempoPluginInstallCommands } from './ai-install-commands'
+import { tempoAgentSetupCommands, tempoPluginInstallCommands } from './ai-install-commands'
describe('tempoPluginInstallCommands', () => {
it('uses the canonical Codex marketplace and plugin selectors', () => {
@@ -26,3 +26,14 @@ describe('tempoPluginInstallCommands', () => {
}
})
})
+
+it('keeps the encoded Cursor install link on the canonical MCP endpoint', () => {
+ const guide = readFileSync('src/pages/docs/guide/using-tempo-with-ai.mdx', 'utf8')
+ const links = [...guide.matchAll(/href="(cursor:\/\/[^"\s]+)"/g)]
+ expect(links).toHaveLength(1)
+ const link = new URL(links[0]?.[1] ?? '')
+ expect(link.searchParams.get('name')).toBe('tempo')
+ const config = JSON.parse(Buffer.from(link.searchParams.get('config') ?? '', 'base64').toString())
+ expect(tempoAgentSetupCommands.mcp).toBe('https://tempo.com/api/mcp/')
+ expect(config).toEqual({ url: tempoAgentSetupCommands.mcp })
+})
diff --git a/src/pages/docs/guide/using-tempo-with-ai.mdx b/src/pages/docs/guide/using-tempo-with-ai.mdx
index cc9675907..864438828 100644
--- a/src/pages/docs/guide/using-tempo-with-ai.mdx
+++ b/src/pages/docs/guide/using-tempo-with-ai.mdx
@@ -80,7 +80,7 @@ codex mcp add tempo --url https://tempo.com/api/mcp/
-Install in Cursor
+Install in Cursor
To open Cursor and automatically add the Tempo MCP server, click install. Alternatively, add the following to your `~/.cursor/mcp.json` file. To learn more, see the Cursor [documentation](https://docs.cursor.com/context/model-context-protocol).
From 5da26cde5622c628a05e0d5a3e313fee6bcea2f0 Mon Sep 17 00:00:00 2001
From: juan leal <114959779+juandolealt@users.noreply.github.com>
Date: Wed, 2 Dec 2026 14:13:39 +0000
Subject: [PATCH 4/4] docs(x402): clarify the facilitator URL and link to OUSD
---
src/pages/docs/guide/machine-payments/x402-facilitator.mdx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pages/docs/guide/machine-payments/x402-facilitator.mdx b/src/pages/docs/guide/machine-payments/x402-facilitator.mdx
index 8608d2745..92492258a 100644
--- a/src/pages/docs/guide/machine-payments/x402-facilitator.mdx
+++ b/src/pages/docs/guide/machine-payments/x402-facilitator.mdx
@@ -34,7 +34,7 @@ Keep selling over [x402](https://x402.org) and get paid in stablecoins on Tempo.
| Direction | Network | Chain ID | Token | Schemes |
| --- | --- | --- | --- | --- |
| Pay in | Base mainnet | `eip155:8453` | [USDC](https://basescan.org/token/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) | `exact` (EIP-3009 or Permit2) |
-| Pay out | Tempo mainnet | `eip155:4217` | [OUSD](https://explore.tempo.xyz/address/0x20c0000000000000000000006a37da5c996874be) | — |
+| Pay out | Tempo mainnet | `eip155:4217` | [OUSD](/docs/guide/ousd#contract) | — |
Testnet: use `https://api.tempo-dev.workers.dev/v1/x402` with a sandbox key (Base Sepolia USDC in, Moderato OUSD out).
@@ -249,7 +249,7 @@ The OUSD arrives a few minutes later, once Base is final: poll `GET /v1/x402/pay
## Tempo x402 facilitator API
-Base URL: `https://api.tempo.xyz/v1/x402`. Send the API key in the `tempo-api-key` header.
+Set the SDK base URL to `https://api.tempo.xyz/v1/x402`. The base URL alone does not handle `GET`. To check the facilitator without an API key, call [`GET /v1/x402/supported`](/docs/api/x402). For authenticated routes, send the API key in the `tempo-api-key` header.
| Route | Auth | Description |
| --- | --- | --- |