> ## Documentation Index
> Fetch the complete documentation index at: https://developers.onio.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Onio with AI assistants

> Connect Claude and other AI assistants to your wishlists with the Onio MCP server.

The Onio MCP server lets AI assistants read and change your wishlists. Ask, for example, “What is on my birthday list?” or “Add these headphones to my wishlist.”

The server is a small program that runs on your computer. It speaks the [Model Context Protocol](https://modelcontextprotocol.io) with your assistant and calls this API with your token. The package is [`@oniohq/mcp-server`](https://www.npmjs.com/package/@oniohq/mcp-server).

## Privacy

> [!WARNING]
>
> When an assistant reads your wishes, the provider of your assistant receives them. This includes private wishes and notes. This is your data and your decision. Check the privacy terms of your assistant before you connect it.

* Nothing is sent until you connect the server with your token.
* The server talks only to the Onio API. It has no analytics, sends no usage data and stores none of your data.
* The API never says who is getting a wish. The server cannot see it either.

## Set up

Claude Code and other clients need Node.js 22 or later. Claude Desktop brings its own.

**1. Create a token**

Create a token as described in [Authentication](https://developers.onio.app/authentication.md#create-a-token). Give only the permissions you need. Always include **Read wishlists and wishes**. The assistant needs it to find your wishlists, also when it changes them.

| Permission in the profile | Lets the assistant |
| - | - |
| Read wishlists and wishes | Read your wishlists and wishes |
| Create and edit wishlists | Create wishlists and change them |
| Add and edit wishes | Add wishes and change them |

For questions only, **Read wishlists and wishes** is enough. The server cannot delete wishes or wishlists, or share a wishlist. So it needs no other permission.

**2. Connect your assistant**

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add onio --env ONIO_TOKEN=onio_pat_your_token -- npx -y @oniohq/mcp-server
> ```

> [tab] Claude Desktop
>
> 1. Download [`onio.mcpb`](https://github.com/oniohq/mcp-server/releases/latest/download/onio.mcpb) from the latest release.
> 2. Double-click the file. Or open **Settings → Extensions → Advanced settings → Install Extension** and select it.
> 3. Click **Install** and enter your token.
> 4. In **Settings → Plugins**, check that Onio is on. If it shows under **Not active**, turn it on.
>
> Claude Desktop keeps the token in the keychain of your operating system. To update, install the file of the new release.
>
> Did you add the server to `claude_desktop_config.json` before? Then open **Settings → Developer → Edit Config**, remove the `"onio"` entry and restart Claude Desktop.

> [tab] Other clients
>
> Most clients that support local (stdio) MCP servers take the same three values:
>
> * Command: `npx`
> * Arguments: `-y @oniohq/mcp-server`
> * Environment variable: `ONIO_TOKEN` with your token

> [!NOTE]
>
> Claude Code and other clients store the token in their config file in plain text. Do not share this file or put it in a repository.

**3. Ask about your wishlists**

Ask your assistant, for example, “Which wishes on my birthday list have a high priority?”

## Tools

| Tool | Does | Scope |
| - | - | - |
| `list_wishlists` | Lists your wishlists, including private and archived ones | `wishlists:read` |
| `get_wishlist` | Gets one wishlist with all its wishes | `wishlists:read` |
| `search_wishes` | Finds wishes by title, description or link | `wishlists:read` |
| `create_wishlist` | Creates a wishlist. It starts as Private | `wishlists:write` |
| `update_wishlist` | Changes the title, occasion or notes of a wishlist | `wishlists:write` |
| `add_wish` | Adds a wish to a wishlist. It is visible, not Private | `wishes:write` |
| `update_wish` | Changes a wish | `wishes:write` |

The tools see only the wishlists you own, like the API. The write tools are marked as tools that change data, so most clients ask you before they run one.

## Stay safe

* **Check each change.** Titles, notes and links are text. A wish can contain text that tries to give the assistant instructions. The server tells the assistant to treat this text as data. Still read what the assistant wants to change before you confirm.
* **Check what others can see.** New wishes are visible unless the assistant sets them to Private. The assistant can also make a Private wish visible. On a published wishlist, everyone with the link then sees the wish.
* **Use the smallest scope.** A read-only token cannot change anything, whatever the assistant tries.
* **Revoke the token** in **API Access** in your profile to stop access. The server loses access at once. To connect again, create a new token and enter it in your client. In Claude Desktop, open **Settings → Plugins** and open the Onio extension.

## Limits

The server uses your token’s [rate limits](https://developers.onio.app/rate-limits.md). `search_wishes` reads each of your wishlists, so a search over many lists uses many requests. When the limit is reached, the tool tells the assistant how long to wait.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.