MetorialDocs

Set up YNAB in Metorial for Claude, ChatGPT and Cursor

Share YNAB with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 21 tools (11 read-only).

To give your team YNAB in Claude, ChatGPT, Cursor and other AI clients, an admin shares the YNAB integration in a Metorial portal, and each person signs in to YNAB with their own account. Agents can read YNAB budgets, accounts, transactions, categories, payees, and monthly summaries. The integration has 21 tools, 11 read-only, 8 write and 2 destructive, plus 3 triggers.

What you'll learn

  • How an admin shares YNAB in a portal and how each person connects
  • The 1 OAuth scope YNAB can request, and what each one allows
  • How to keep the 11 read-only tools and reject the other 10

Before you start

Sign-in methods

MethodTypeWhat a person provides
Personal Access TokenAPI tokentoken
OAuth (default)OAuthSigns in to YNAB

Also available: OAuth (Read Only).

The portal and metorial setup use OAuth unless someone picks another method.

Personal Access Token

To connect, a person enters:

  • token: Personal Access Token generated from YNAB Account Settings > Developer Settings

OAuth

People sign in to YNAB and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
full_accessFull AccessFull read and write access to all YNAB data

Setup settings

Whichever method you pick, setup also asks for:

  • budgetId (optional): Budget ID to use. Defaults to "last-used". Can also use "default" or a specific budget UUID.

Use your own YNAB OAuth app

With your own OAuth app, people see your company's name on the YNAB consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose YNAB and copy the Redirect URI.

Register the app with YNAB

Create an OAuth app or client in YNAB and add the redirect URI from Metorial as its redirect or callback URL.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the YNAB integration.

Admin: share YNAB in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose YNAB. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to YNAB as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from YNAB.

Choose who gets it

Add the access groups that should see YNAB. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user YNAB integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search ynab

Employee: connect YNAB

In the portal

Open YNAB in the catalog

Sign in to your portal and open YNAB. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A YNAB sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search ynab
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with Personal Access Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your YNAB connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list ynab
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as get_month and get_budget, and lose the 8 write tools, such as create_payee or update_payee, and the 2 destructive tools, such as delete_transaction or manage_scheduled_transaction.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list ynab
metorial tools <integration-id>
metorial call <integration-id> list_months -d '{}'

metorial tools lists the 21 tools, minus any you rejected. list_months takes no input. It retrieves all budget months with summary data including income, assigned, activity, "Ready to Assign", and Age of Money.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (11)

  • get_budget: Retrieve detailed information about a specific budget, including date/currency format, summary, and provider budget records for delta merging.
  • list_budgets: Retrieve all budgets belonging to the authenticated YNAB user.
  • list_scheduled_transactions: Retrieve all scheduled (recurring) transactions in a budget.
  • list_transactions: Retrieve transactions from a budget with flexible filtering.
  • list_payees: Retrieve all payees for a budget.
  • list_months: Retrieve all budget months with summary data including income, assigned, activity, "Ready to Assign", and Age of Money.
  • list_categories: Retrieve all category groups and their categories for a budget.
  • get_month: Retrieve detailed budget data for a specific month, including income, total assigned, total activity, "Ready to Assign" amount, and per-category breakdowns. Needs month.
  • get_transaction: Retrieve detailed information about a single transaction, including subtransactions (splits), transfer details, and import metadata. Needs transactionId.
  • list_accounts: List all financial accounts in a budget, including balances and account type.
  • get_current_user: Get the YNAB user ID associated with this connection.

Write tools (8)

  • update_payee: Rename an existing payee. Needs payeeId and name.
  • create_account: Create a new financial account in a budget. Needs name, type and balance.
  • create_transaction: Create one or more transactions, including splits. Needs transactions.
  • import_transactions: Trigger an import of transactions from all linked bank accounts in a budget.
  • update_transaction: Update supplied transaction fields, or convert a non-split transaction into a split. Needs transactionId.
  • manage_category_group: Create or rename a category group. Needs action and name.
  • manage_category: Create or update a category, or set its assigned amount for a month. Needs action.
  • create_payee: Create a payee in a budget.

Destructive tools (2)

  • manage_scheduled_transaction: Create, read, update, or delete a scheduled transaction. Needs action.
  • delete_transaction: Delete a transaction by its ID. Needs transactionId.

Triggers

YNAB has 3 triggers, which fire on events in YNAB:

  • inbound_webhook
  • account_changes: Polls for new, updated, or deleted accounts in a budget using delta requests.
  • transaction_changes: Polls for new, updated, or deleted transactions in a budget using delta requests.

Next steps