# AI apps (/docs/guide/ai-apps)

Ask Claude, ChatGPT, Codex or any MCP app for a Nigerian bill. Chat apps show a Todoku card with a QR and Open to pay that turns Delivered; terminal apps get the pay link as text. The AI can never move your money.

Todoku is an MCP server. Add it to your AI app once, then ask in plain words: "Top up my mum's MTN 0803 123 4567 with ₦500". The AI prices the bill, checks the number with the provider and hands you the bill to pay. You pay in your own wallet, and the order moves to Delivered in front of you.

<Crop src="card/mcp-card-waiting" width={1000} height={770} alt="The Todoku card in an AI chat: MTN airtime to •••• 1111, ₦500, note Airtime for Mum, Waiting for payment, Open for 72 h, Edit and Cancel, a QR with Open to pay and Copy link" caption="The card a chat app shows: the bill, a QR to scan with your phone, Edit and Cancel." />

## Works with [#works-with]

<AiAppGrid />

Chat apps that support MCP Apps draw the Todoku card. Every other app gets the same answers as text, with the pay link to open.

## Add Todoku to your app [#add-todoku-to-your-app]

The address is the same everywhere, and your **Account** page has it with a copy button under **AI apps**:

```text
https://mcp.todokupay.xyz/mcp
```

<Tabs items={["Claude","ChatGPT","Claude Code","Codex","Cursor","VS Code"]}>
<Tab value="Claude">
<Steps>
<Step>
In Claude on the web or desktop, open **Settings → Connectors** and choose **Add custom connector**.
</Step>

<Step>
Name it **Todoku** and paste the address as the server URL. Choose **Add**.
</Step>

<Step>
In a chat, turn Todoku on from the tools menu and ask for a bill. The card shows on the web, on desktop and in the mobile app.
</Step>
</Steps>
</Tab>

<Tab value="ChatGPT">
<Steps>
<Step>
Open **Settings → Connectors**, turn on **developer mode**, and choose **Create**.
</Step>

<Step>
Name it **Todoku**, paste the address as the MCP server URL, and pick **OAuth** for authentication so your orders and saved numbers work.
</Step>

<Step>
Start a chat, add Todoku from the tools menu, and ask for a bill.
</Step>
</Steps>
</Tab>

<Tab value="Claude Code">
```bash
claude mcp add --transport http todoku https://mcp.todokupay.xyz/mcp
```
Then type `/mcp`, pick **todoku** and **Authenticate** to connect your wallet. Claude Code answers in text, with the pay link to open in your browser.
</Tab>

<Tab value="Codex">
```bash
codex mcp add todoku --url https://mcp.todokupay.xyz/mcp
```
Codex opens the wallet sign-in right away; `codex mcp login todoku` signs in again later. Codex answers in text, with the pay link.
</Tab>

<Tab value="Cursor">
Add Todoku to `~/.cursor/mcp.json` (or **Settings → MCP → Add new**):
```json
{ "mcpServers": { "todoku": { "url": "https://mcp.todokupay.xyz/mcp" } } }
```
</Tab>

<Tab value="VS Code">
Add Todoku to `.vscode/mcp.json`, then press **Start** above the entry and use it from Copilot's agent mode:
```json
{ "servers": { "todoku": { "type": "http", "url": "https://mcp.todokupay.xyz/mcp" } } }
```
</Tab>
</Tabs>

## What you can ask [#what-you-can-ask]

| Tool | What it does | Needs sign-in |
| --- | --- | --- |
| `list_services` | Every biller and its plans: airtime, data, power, TV, exam PINs | No |
| `verify_recipient` | Checks a meter, smartcard or JAMB profile with the provider: the name, the minimum, what is owed | No |
| `quote` | Prices the bill and makes a pay link (the card in chat apps) | No |
| `order_status` | Follows an order to Delivered or refunded; the card updates itself | No |
| `cancel_bill` | Calls off a pay link nobody has paid | No |
| `my_orders` | Your recent orders and where each stands | Yes |
| `my_recipients` | Your saved numbers, by label ("Mum", "Shop meter") | Yes |

On the card itself: **Open to pay**, **Copy link**, **Edit** (amount, number, plan or note, before anyone pays) and **Cancel**.

<Crop src="card/mcp-card-delivered" width={1000} height={563} alt="The same card after payment: MTN airtime to •••• 1111, ₦500, Delivered, Paid by jun.qie, View receipt" caption="Paid in the wallet, the card turns Delivered." />

## Connecting your wallet [#connecting-your-wallet]

Personal questions ("my orders", "top up Mum") ask you to connect once. The AI app opens Todoku's own page, where your wallet signs one message that names the app. It costs nothing and moves nothing.

<Phones>
<Phone src="consent" alt="Connect Claude Code to Todoku: what it can do, It can't move money, and Allow with wallet" caption="Todoku's own sign-in page" />
</Phones>

What the app gets: your orders and where each stands, your saved numbers (the full number stays with Todoku), and pay links in your name. What it never gets: **it can't move money**. Every payment still needs your signature in your wallet. Disconnect any app in **Account → AI apps**.

## Agents with their own wallet [#agents-with-their-own-wallet]

An agent that controls its own wallet can pass `payer` to `quote` and get the unsigned transaction to sign within the price's 60 seconds, instead of a link. The escrow, the caps and the refund rules are the same as for a person. Details in [MCP endpoint](/docs/developers/mcp) and [AI app sign-in](/docs/developers/oauth).