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: 3 additions & 1 deletion docs/ai-agents/guides/batch-calls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ keywords: ["send_calls MCP", "batch contract calls AI", "EIP-5792 AI", "DeFi AI

import { AcceptingPaymentsDemo } from "/snippets/AcceptingPaymentsDemo.jsx"

<AcceptingPaymentsDemo />
<Visibility for="humans">
<AcceptingPaymentsDemo />
</Visibility>

## What it does

Expand Down
4 changes: 3 additions & 1 deletion docs/ai-agents/guides/check-balance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ keywords: ["check balance AI", "get_portfolio MCP", "get_wallets MCP", "Base wal

import { DataFetchingDemo } from "/snippets/DataFetchingDemo.jsx"

<DataFetchingDemo />
<Visibility for="humans">
<DataFetchingDemo />
</Visibility>

## What you can ask

Expand Down
4 changes: 3 additions & 1 deletion docs/ai-agents/guides/send-tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ keywords: ["send tokens AI", "send USDC AI assistant", "send ETH AI", "Base MCP

import { TradeExecutionDemo } from "/snippets/TradeExecutionDemo.jsx"

<TradeExecutionDemo />
<Visibility for="humans">
<TradeExecutionDemo />
</Visibility>

## What you can ask

Expand Down
4 changes: 3 additions & 1 deletion docs/ai-agents/guides/sign-messages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ keywords: ["sign message AI", "EIP-712 sign AI", "personal_sign AI", "Base MCP s

import { SignMessagesDemo } from "/snippets/SignMessagesDemo.jsx"

<SignMessagesDemo />
<Visibility for="humans">
<SignMessagesDemo />
</Visibility>

## What it does

Expand Down
4 changes: 3 additions & 1 deletion docs/ai-agents/guides/swap-tokens.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ keywords: ["swap tokens AI", "token swap AI assistant", "USDC ETH swap AI", "Bas

import { TradingQuickstartDemo } from "/snippets/TradingQuickstartDemo.jsx"

<TradingQuickstartDemo />
<Visibility for="humans">
<TradingQuickstartDemo />
</Visibility>

## What you can ask

Expand Down
4 changes: 3 additions & 1 deletion docs/ai-agents/guides/view-history.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ keywords: ["transaction history AI", "get_transaction_history MCP", "Base wallet

import { AgentRegistrationDemo } from "/snippets/AgentRegistrationDemo.jsx"

<AgentRegistrationDemo />
<Visibility for="humans">
<AgentRegistrationDemo />
</Visibility>

## What you can ask

Expand Down
4 changes: 3 additions & 1 deletion docs/ai-agents/guides/x402-payments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ keywords: ["x402 payments AI", "x402 Base MCP", "paid API requests AI", "USDC AP

import { X402PaymentsDemo } from "/snippets/X402PaymentsDemo.jsx"

<X402PaymentsDemo />
<Visibility for="humans">
<X402PaymentsDemo />
</Visibility>

<Tip>
The x402 experience in Base MCP is currently better suited for larger purchases because each paid request still requires approval and a wallet signature. For additional x402 solutions, including guidance on building an x402 endpoint, see the [CDP x402 docs](https://docs.cdp.coinbase.com/x402/welcome).
Expand Down
4 changes: 3 additions & 1 deletion docs/ai-agents/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Base MCP gives your AI assistant direct access to your [Base Account](/base-acco

## Demo

<WalletSetupDemo />
<Visibility for="humans">
<WalletSetupDemo />
</Visibility>

## How it works

Expand Down
11 changes: 7 additions & 4 deletions docs/ai-agents/plugins/custom-plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,13 @@ Use Base MCP's chain names (`base`, `base-sepolia`, `ethereum`, `optimism`, `pol

| Pattern | When to use | Example |
|---------|-------------|---------|
| Single-call envelope | One action, one tx | [Avantis](https://github.com/base/skills/blob/main/skills/base-mcp/plugins/avantis.md) |
| Ordered batch | Approval + action must be atomic | [Moonwell](https://github.com/base/skills/blob/main/skills/base-mcp/plugins/moonwell.md) |
| CLI or MCP prepared batch | Prefer a protocol CLI when shell access exists; fall back to an MCP server on chat-only surfaces | [Morpho](https://github.com/base/skills/blob/main/skills/base-mcp/plugins/morpho.md) |
| Multi-endpoint flow | Quote, approve, swap as separate calls | [Uniswap](https://github.com/base/skills/blob/main/skills/base-mcp/plugins/uniswap.md) |
| Single-call envelope | One action, one tx | [Avantis](https://github.com/base/skills/blob/master/skills/base-mcp/plugins/avantis.md) |
| Ordered batch | Approval + action must be atomic | [Moonwell](https://github.com/base/skills/blob/master/skills/base-mcp/plugins/moonwell.md) |
| CLI-only prepared batch | Protocol CLI produces calldata; no MCP fallback needed | [Aerodrome](https://github.com/base/skills/blob/master/skills/base-mcp/plugins/aerodrome.md) |
| CLI or MCP prepared batch | Prefer a protocol CLI when shell access exists; fall back to an MCP server on chat-only surfaces | [Morpho](https://github.com/base/skills/blob/master/skills/base-mcp/plugins/morpho.md) |
| Multi-endpoint flow | Quote, approve, swap as separate calls | [Uniswap](https://github.com/base/skills/blob/master/skills/base-mcp/plugins/uniswap.md) |
| Discovery API + swap | Read-only feed selects the token; `swap` executes the purchase | [Bankr](https://github.com/base/skills/blob/master/skills/base-mcp/plugins/bankr.md) |
| MCP server + SIWE session auth | Protocol has its own MCP server; Base MCP wallet signs the login challenge | [Virtuals](https://github.com/base/skills/blob/master/skills/base-mcp/plugins/virtuals.md) |
## Related

<CardGroup cols={2}>
Expand Down
8 changes: 6 additions & 2 deletions docs/ai-agents/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import { TruncatedPrompt } from "/snippets/TruncatedPrompt.jsx"

## Demo

<WalletSetupDemo />
<Visibility for="humans">
<WalletSetupDemo />
</Visibility>

## Steps

Expand All @@ -32,7 +34,9 @@ import { TruncatedPrompt } from "/snippets/TruncatedPrompt.jsx"
4. Click **Add**
5. Next hit **Connect**, then approve the connection in Base Account. Click **Allow** once to authorize:

<AuthApprovalDemo />
<Visibility for="humans">
<AuthApprovalDemo />
</Visibility>
</Tab>
<Tab title="ChatGPT">
<a href="https://chatgpt.com/#settings/Connectors" target="_blank" rel="noopener noreferrer">
Expand Down
Loading