Connect Pockety to your AI assistant
Pockety has an MCP server: your assistant can read and record expenses in your groups, with the same permissions you have in the app. You sign in once and choose what it may do.
https://api.getpockety.com/mcp
What you can ask
- "Add this electricity bill (PDF) to Casa, split equally."
- "Log the grocery receipt: the wine is just for Bob and me, the rest for everyone."
- "How much do I owe in total, and to whom?"
- "Are there duplicate expenses in Lisbon Trip?"
- "What did I pay in October?"
- "Record that Ana paid me back €25."
Before creating an expense, the assistant checks for duplicates and shows you the proposal (group, amount, date, who paid and how it is split) so you can confirm it.
Your data and your permissions
- Pockety does not analyse your files with AI through this connection. Your assistant reads the PDF or photo and sends Pockety the structured data. Pockety only stores the original file with the expense.
- You choose the permissions when you connect: read, read and write and, separately, delete. Delete is never selected by default, and before each deletion Pockety requires a confirmation that the assistant has to ask you for.
- The assistant acts as you: it sees the same groups and can do what you can do in the app, nothing more.
- You can review and revoke every connection at any time at getpockety.com/agent-access.
How to connect
Claude (web, desktop and mobile)
- On claude.ai or in the desktop app, open Customize > Connectors.
- Click + Add, then Add custom connector.
- Name:
Pockety. URL:https://api.getpockety.com/mcp. Click Continue, then Add. - Pockety opens: sign in, choose the permissions and click Allow.
- In a chat, turn Pockety on from the + button > Connectors.
Claude Code
claude mcp add --transport http pockety https://api.getpockety.com/mcp
Then, inside Claude Code, run /mcp, pick pockety and sign in in the browser. From the shell, claude mcp login pockety does the same.
Codex (CLI, IDE extension and ChatGPT desktop app)
codex mcp add pockety --url https://api.getpockety.com/mcp
codex mcp login pockety
In the IDE extension: gear menu > MCP servers > Add server > Streamable HTTP, paste the URL, save and click Restart extension. The CLI, the extension and the desktop app share the same configuration (~/.codex/config.toml).
ChatGPT (web)
- Open chatgpt.com/plugins, click +, then Add custom MCP server.
- Name:
Pockety. Under Connection, pastehttps://api.getpockety.com/mcp. - For authentication choose OAuth. Tick I understand and want to continue and click Create as a plugin.
- Sign in to Pockety, choose the permissions and click Allow.
- Install the plugin and, in a new chat, type
@and pick Pockety.
Other clients and scripts: personal token
If your client does not support OAuth sign-in, create a token at getpockety.com/agent-access (Create a token). Choose its permissions and expiry (365 days at most). It is shown only once: keep it like a password.
Authorization: Bearer pkty_pat_...
With Claude Code: claude mcp add --transport http pockety https://api.getpockety.com/mcp --header "Authorization: Bearer pkty_pat_...". With Codex, in config.toml:
[mcp_servers.pockety]
url = "https://api.getpockety.com/mcp"
bearer_token_env_var = "POCKETY_TOKEN"
The same token works with the REST API at https://api.getpockety.com/v1 (contract in openapi.json).
Revoke access
- Open getpockety.com/agent-access and sign in.
- Under Connected applications or Personal tokens, click Revoke next to the one to remove. To cut everything at once, use Revoke all access.
Changing your password does not revoke connections or tokens. Removing the connector in your assistant hides it there, but the connection only ends completely when you revoke it in Pockety.
If something does not work
- The assistant does not see Pockety. Turn it on in the chat (Claude: + > Connectors; ChatGPT:
@Pockety). In the Codex IDE extension, restart the extension. - The browser does not open (Claude Code, Codex). Copy the URL shown in the terminal and open it yourself. On a remote machine, use
claude mcp login pocketyorcodex mcp login pockety --no-browserand paste the URL back. - "This request has expired". Sign-in lasts 10 minutes. Connect again from your assistant.
- It cannot delete. Delete is a separate permission. Approve it when the assistant asks or, with a token, create it with Also allow deleting.
- ChatGPT can only read. That is a limit of your ChatGPT plan, not of Pockety.
- The original file is not attached. The expense is still created. Some assistants cannot send the file; attach it later from Claude Code or a script.
- "Too many requests". The limit is 120 reads and 30 writes per minute. Wait a minute.
- Anything else. Write to support@getpockety.com.