Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions e2e/docs-workspace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/,
},
Expand All @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion public/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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… |
| --- | --- |
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-markdown-components.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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`') ||
Expand Down
2 changes: 1 addition & 1 deletion src/components/TempoMcpExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ai-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
15 changes: 13 additions & 2 deletions src/lib/ai-install-commands.test.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand All @@ -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 })
})
4 changes: 2 additions & 2 deletions src/lib/ai-install-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
39 changes: 21 additions & 18 deletions src/lib/docs-seo-metadata.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/markdown-output.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Read the account's transfer history.
const output = await render('<DocsHomeAgent />')
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')
Expand Down Expand Up @@ -310,15 +310,15 @@ Read the account's transfer history.

Status: <Badge variant="red">Required</Badge>

<DocsLinkButton href="https://mcp.tempo.xyz">Open MCP server</DocsLinkButton>
<DocsLinkButton href="https://tempo.com/api/mcp/">Open MCP server</DocsLinkButton>
`)

expect(output).toContain('```mermaid')
expect(output).toContain('Client->>Server: Request')
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]/)
})

Expand Down
2 changes: 1 addition & 1 deletion src/marketing/app/_components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
4 changes: 2 additions & 2 deletions src/pages/docs/guide/machine-payments/x402-facilitator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down Expand Up @@ -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 |
| --- | --- | --- |
Expand Down
14 changes: 7 additions & 7 deletions src/pages/docs/guide/using-tempo-with-ai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.



Expand All @@ -67,20 +67,20 @@ Use this option if your editor does not support the Tempo Docs plugin. The MCP s
<Tab title="Claude">

```bash
claude mcp add --transport http tempo https://mcp.tempo.xyz
claude mcp add --transport http tempo https://tempo.com/api/mcp/
```

</Tab>
<Tab title="Codex">

```bash
codex mcp add tempo --url https://mcp.tempo.xyz
codex mcp add tempo --url https://tempo.com/api/mcp/
```

</Tab>
<Tab title="Cursor">

<DocsLinkButton className={ui.docsLinkButton().className} href="cursor://anysphere.cursor-deeplink/mcp/install?name=tempo&config=eyJ1cmwiOiJodHRwczovL21jcC50ZW1wby54eXoifQ%3D%3D">Install in Cursor</DocsLinkButton>
<DocsLinkButton className={ui.docsLinkButton().className} href="cursor://anysphere.cursor-deeplink/mcp/install?name=tempo&config=eyJ1cmwiOiJodHRwczovL3RlbXBvLmNvbS9hcGkvbWNwLyJ9">Install in Cursor</DocsLinkButton>

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).

Expand All @@ -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/"
}
}
}
Expand All @@ -102,7 +102,7 @@ To open Cursor and automatically add the Tempo MCP server, click install. Altern
<Tab title="Amp">

```bash
amp mcp add tempo https://mcp.tempo.xyz
amp mcp add tempo https://tempo.com/api/mcp/
```

</Tab>
Expand All @@ -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/"
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion src/pages/docs/protocol/exchange/quote-tokens.mdx
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 7 additions & 1 deletion src/pages/docs/protocol/fees/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading