Skip to main content
Glama
MCP Server for Wave

MCP Server for Wave

by oliverames

This Model Context Protocol (MCP) server connects an AI assistant to Wave's accounting API. It covers invoices and payments, estimates and deposits, customers, vendors, products, sales taxes, accounts, and bookkeeping transactions.

The local server and hosted Worker share the same tool definitions. Tools that change or send data stay hidden until write access is enabled. Node.js 20 or later is required for the local package.

Why This Exists

An accounting assistant needs enough context to connect a receipt, a customer, and the corresponding accounts. This server keeps those operations in one interface and validates amounts before sending a bookkeeping transaction.

The default installation exposes 30 read-only tools. Setting WAVE_ALLOW_WRITES=1 adds 44 tools that can create, change, delete, or send records. Sending invoices and receipts emails real customers, so write access should match the work you've authorized.

Validation errors name missing account information or an unbalanced transaction amount instead of silently choosing an account.

Related MCP server: Wave MCP Server

Quick Start

{
  "mcpServers": {
    "wave-mcp-server": {
      "command": "npx",
      "args": ["-y", "@oliverames/mcp-server-for-wave@latest"],
      "env": {
        "WAVE_OP_PATH": "op://Development/Wave/credential"
      }
    }
  }
}

The example uses the 1Password CLI and a secret reference. Replace the reference with your own item, or supply WAVE_ACCESS_TOKEN through your launcher.

Then ask for your businesses and set one as the default:

List my Wave businesses and set the first one as the default.

Get a token

Create an application and generate an access token in the Wave developer portal. Wave's tokens expire, so expect to refresh it periodically, or use the hosted connector which handles refresh for you.

Install as a plugin

Claude and Codex plugin packages remain in this repository for distribution through a separately managed marketplace. The repository no longer supplies root catalogs that appear automatically when the project opens. For direct use, register the MCP server as shown below.

Install in Codex

codex mcp add wave-mcp-server \
  --env WAVE_ACCESS_TOKEN=your_token_here \
  -- npx -y @oliverames/mcp-server-for-wave@latest

Verify registration with codex mcp list. The server's request timeout and total retry budget are configurable through the environment variables below.

Enable write tools

Merge these environment settings into the configured server entry:

{
  "env": {
    "WAVE_ACCESS_TOKEN": "your_token_here",
    "WAVE_ALLOW_WRITES": "1"
  }
}

This registers the 44 tools that create, change, delete, or email records. Without it they are not advertised at all, so a model cannot call one by guessing its name.

Docker

docker build -t wave-mcp-server .
docker run --rm -i -e WAVE_ACCESS_TOKEN=your_token_here wave-mcp-server

The -i matters: the server speaks JSON-RPC on stdin and stdout.

1Password token lookup

Rather than pasting a token into a config file, point the server at a secret reference and it will shell out to the op CLI on startup:

{
  "env": {
    "WAVE_OP_PATH": "op://Development/Wave/credential"
  }
}

WAVE_ACCESS_TOKEN_FILE works the same way for a file on disk.

What You Can Do

Bill a customer end to end

Create an invoice for Acme Corp with 10 hours of consulting at $150/hour,
due in 30 days. Approve it and email it to billing@acme.com.

Quote, then convert

Create an estimate for the website redesign package with a 25% deposit,
send it, and convert it to an invoice once they accept.

Record a receipt

Log a $45.99 expense from Office Depot on 2026-03-15 for office supplies,
paid from Business Checking.

Split a transaction

Record a $100 withdrawal from checking: $60 to fuel and $40 to meals.

Reconcile a processor payout

A Stripe payout of $97 landed in checking: $100 of consulting income
less a $3 processing fee.

Chase what is owed

Show me every unpaid invoice over $500, sorted by amount due, and which
customers carry the largest overdue balances.

Tools Reference

The source defines 74 tools. Categories below include optional writes:

Category

Count

Representative Tools

Businesses and reference data

14

wave_list_businesses, wave_auth_status

Chart of accounts

5

wave_list_accounts, wave_create_account

Customers, vendors, products, and taxes

17

wave_list_customers, wave_list_vendors

Invoices and payments

14

wave_get_invoice, wave_send_invoice

Estimates and deposits

19

wave_get_estimate, wave_convert_estimate_to_invoice

Bookkeeping

5

wave_create_money_transaction, wave_create_deposit_transaction

Names are prefixed wave_ so they do not collide with other MCP servers. Tools marked W require WAVE_ALLOW_WRITES=1.

Businesses and reference data

Tool

Purpose

wave_list_businesses

List reachable businesses

wave_get_business

Full business detail

wave_set_default_business

Set the session default

wave_get_invoice_estimate_settings

Accent color and logo

wave_auth_status

How credentials resolved, and what is gated. Makes no API call

wave_get_user

Account the token belongs to

wave_get_oauth_application

Application that issued the token

wave_list_currencies / wave_get_currency

Supported currencies

wave_list_countries / wave_get_country

Countries and their provinces

wave_get_province

One province or state

wave_list_account_types

The five top-level account types

wave_list_account_subtypes

Subtypes, which wave_create_account requires

Chart of accounts

Tool

Purpose

wave_list_accounts / wave_get_account

Accounts with balances

wave_create_account W

Add an account

wave_patch_account W

Rename or renumber

wave_archive_account W

Hide from pickers, keep history

Customers, vendors, products, taxes

Tool

Purpose

wave_list_customers / wave_get_customer

Customers with balances

wave_create_customer / wave_patch_customer / wave_delete_customer W

Manage customers

wave_list_vendors / wave_get_vendor

Vendors (read-only in Wave's API)

wave_list_products / wave_get_product

Products and services

wave_create_product / wave_patch_product / wave_archive_product W

Manage products

wave_list_sales_taxes / wave_get_sales_tax

Taxes and rate history

wave_create_sales_tax / wave_patch_sales_tax / wave_archive_sales_tax W

Manage taxes

Invoices and payments

Tool

Purpose

wave_list_invoices / wave_get_invoice

Invoices with items and payments

wave_create_invoice / wave_patch_invoice / wave_clone_invoice W

Build invoices

wave_approve_invoice W

Move a draft into the books

wave_send_invoice W

Emails the customer

wave_mark_invoice_sent W

Record delivery made outside Wave

wave_delete_invoice W

Permanent

wave_get_invoice_payment

One payment

wave_create_invoice_payment / wave_patch_invoice_payment / wave_delete_invoice_payment W

Record payments

wave_send_invoice_payment_receipt W

Emails the customer

Estimates and deposits

Tool

Purpose

wave_list_estimates / wave_get_estimate

Estimates with history and deposits

wave_create_estimate / wave_patch_estimate / wave_clone_estimate W

Build estimates

wave_approve_estimate W

Approve a draft

wave_send_estimate W

Emails the customer

wave_mark_estimate_sent / wave_mark_estimate_accepted W

Record offline delivery and acceptance

wave_reset_estimate_acceptance W

Undo an acceptance

wave_send_estimate_acceptance_email W

Emails the customer

wave_generate_estimate_pdf W

Render a PDF

wave_convert_estimate_to_invoice W

Turn an accepted estimate into an invoice

wave_delete_estimate W

Permanent

wave_get_estimate_payment

One deposit payment

wave_create_estimate_deposit_payment / wave_update_estimate_deposit_payment / wave_delete_estimate_payment W

Record deposits

wave_send_estimate_deposit_receipt W

Emails the customer

Bookkeeping

Tool

Purpose

wave_create_money_transaction W

One expense, income, or transfer

wave_create_money_transactions W

Bulk import, applied atomically

wave_create_deposit_transaction W

A payout whose net differs from gross

wave_create_expense_from_receipt W

Expense, account matched from a category word

wave_create_income_from_payment W

Income, account matched from a category word

Resources

Read-only JSON views for grounding context. Everything here is also reachable through a tool, so hosts that ignore resources lose nothing.

wave://businesses • wave://accounts • wave://customers • wave://vendors • wave://products • wave://sales-taxes • wave://account-taxonomy • wave://health

How Transactions Work

Wave is double-entry, so wave_create_money_transaction has two sides:

  • The anchor is the account money physically moved through, a bank account or credit card, with a direction of DEPOSIT or WITHDRAWAL.

  • The line items are the categories it is attributed to. Their amounts must total the anchor amount.

A $50 office-supplies expense paid from checking is one anchor (checking, WITHDRAWAL, 50.00) and one line item (Office Supplies, 50.00). A split is the same anchor with more line items.

Every transaction carries an external_id. Wave deduplicates on it, so passing a stable value of your own makes retries safe; one is generated when you omit it.

Environment Variables

Variable

Required

Default

Description

WAVE_ACCESS_TOKEN

One credential source

(none)

OAuth2 bearer token from the Wave developer portal

WAVE_BUSINESS_ID

No

(none)

Default business, so tools can omit business_id. The base64 id or the bare business UUID

WAVE_ALLOW_WRITES

No

off

Set to 1 to register the 44 tools that change or send data

WAVE_ACCESS_TOKEN_FILE

No

(none)

Read the token from a file instead

WAVE_OP_PATH

No

(none)

Read the token from 1Password, e.g. op://Vault/Item/credential

WAVE_TIMEOUT_MS

No

20000

Per-request timeout

WAVE_TOTAL_BUDGET_MS

No

50000

Total time for one call including retries

WAVE_MAX_RESPONSE_BYTES

No

8388608

Reject responses above this size

WAVE_HTTP_RETRIES

No

2

Retries on 429 and 5xx

WAVE_DISABLE_AGENT_CONFIG_FALLBACK

No

off

Read only the environment, not agent config files

WAVE_LOG_LEVEL

No

info

debug, info, warn, error, or silent. JSON lines on stderr

WAVE_TRACING_ENABLED

No

off

Send a W3C traceparent header with each Wave request

SENTRY_DSN

No

(none)

Turn on error reporting to that Sentry project. Unset means no reporting and @sentry/node is never loaded. Reports carry the error type, a fixed message, stack frames, the tool name, and a Wave 5xx status only; arguments, messages, Wave responses, and all financial data are dropped first. Needs Node 20.19 or newer. See docs/privacy.md

Credentials resolve in order: environment, then the host agent's own config file, then WAVE_ACCESS_TOKEN_FILE, then 1Password. Reading the agent config matters because MCP clients launch this server as a subprocess, so a value in claude_desktop_config.json or ~/.codex/config.toml reaches it only if the user wired it through by hand.

Amount Handling

Money is sent to Wave as strings, not floats, so 0.1 + 0.2 cannot become 0.30000000000000004 on the way to your ledger. Balance checks compare minor units as integers for the same reason.

One exception, and it is Wave's: moneyDepositTransactionCreate types its amounts as Float rather than Decimal, so wave_create_deposit_transaction sends numbers there because the API accepts nothing else.

Wave API Limitations

The implemented GraphQL contracts have the following limits. See the schema coverage audit for the dated upstream review, and rerun the schema check when updating the integration.

  • Transactions cannot be read back. Wave creates money transactions but exposes no query to list them; there is no transactions connection on Business. Review them in the web app.

  • Vendors are read-only. The schema has no vendorCreate, vendorPatch, or vendorDelete.

  • Money transactions cannot reference a vendor. wave_create_expense_from_receipt records the name in the description.

  • wave_patch_estimate demands fields you are not changing. Wave marks seven of them required on the patch input; read the estimate first and pass its current values back.

  • wave_patch_account needs the account's current sequence as an optimistic-concurrency check.

  • Line items must reference a product. No free-text lines.

  • wave_create_deposit_transaction returns no ID.

  • Bills, receipts, payroll, and reports have no API.

  • No file attachments. Receipt images cannot be uploaded.

  • Rate limits are tight, roughly two concurrent requests.

  • Un-archiving is web-app only.

Hosted Connector

A Cloudflare Worker serves the same tools over OAuth instead of a shared token.

Users authorize against their own Wave account, tokens are encrypted before storage, and write access is chosen at authorization time so a read-only connection cannot be escalated later.

The configured endpoint is https://wave.amesvt.com/mcp. The Worker implements an owner allowlist and rejects unapproved accounts before storing their tokens. This endpoint is not a general public service. Use the Worker deployment guide to configure your own installation.

See worker/README.md for setup and the security model.

Architecture

index.js                     Single-file server: client, 74 tools, 8 resources
  createWaveServer()         Factory over injected credentials, shared by
                             the stdio process and the hosted Worker
scripts/
  smoke-validate-graphql.mjs Schema-check every query against live Wave
  smoke-list-tools.mjs       Start over stdio and enumerate what is advertised
  smoke-packed-install.mjs   Pack, install, and launch the way npx does
  sync-plugin-metadata.mjs   Propagate the version to every host manifest
  check-release-consistency  Fail the build when anything disagrees
  build-mcpb.mjs             Desktop bundle
worker/                      Hosted OAuth connector
test/unit.test.mjs           Offline unit tests

The tool layer lives in one file on purpose. It is imported unchanged by the Worker, so the hosted and local servers cannot drift apart.

Verify API Contracts

npm run smoke:schema sends the server's GraphQL documents to Wave without account credentials. The script distinguishes schema-validation failures from authentication responses. It contacts Wave, so run it separately from offline tests. A passing source review isn't evidence of current API compatibility.

Building

npm ci
npm test                  # offline unit tests
npm run smoke:list-tools  # start over stdio, enumerate tools
npm run smoke:packed      # pack, install, and launch via the bin symlink
npm run smoke:schema      # validate every query against live Wave
npm run release:check     # package and plugin version consistency
npm run build:mcpb        # desktop bundle

Contributions welcome. See CONTRIBUTING.md.

Linear records verified npm and GitHub/MCPB delivery in this repository's Ames Consulting (AME) release pipeline. The hosted OAuth Worker is a separate delivery channel. See release reporting for issue references, credentials and reporting-only recovery.

Not Affiliated With Wave

An independent project, not affiliated with, endorsed by, or sponsored by Wave Financial Inc. Wave Financial Inc. owns the Wave name, logo, and marks; the icon above is theirs and is used only to identify the service this server connects to. Originally forked from vinnividivicci/wave_mcp, then rewritten.


Available Tools

30 tools
wave_auth_statusWave: Auth StatusA
Read-onlyIdempotent

Report how this server resolved its Wave credentials and whether write tools are enabled. Makes no Wave API request, so it works even when the token is missing or expired -- use it first when other tools report authentication problems.

Inputs: no named parameters. Returns: next_step, token_source, lookup_errors, detected_agent, +7 more

wave_get_accountWave: Get AccountA
Read-onlyIdempotent

Get one account by ID, including its current balance.

Inputs: account_id (required), business_id, response_format.

wave_get_businessWave: Get BusinessA
Read-onlyIdempotent

Get full detail for one business: currency, address, type, and settings.

Inputs: business_id, response_format.

wave_get_countryWave: Get CountryA
Read-onlyIdempotent

Get one country and its provinces or states. Use this to find the province codes that address fields expect.

Inputs: code (required), response_format.

wave_get_currencyWave: Get CurrencyA
Read-onlyIdempotent

Get one currency by ISO 4217 code.

Inputs: code (required), response_format.

wave_get_customerWave: Get CustomerA
Read-onlyIdempotent

Get one customer by ID, including address and shipping details.

Inputs: customer_id (required), business_id, response_format.

wave_get_estimateWave: Get EstimateA
Read-onlyIdempotent

Get one estimate in full: line items, deposits, and acceptance history.

Inputs: estimate_id (required), business_id, include_history, response_format, +2 more.

wave_get_estimate_paymentWave: Get Estimate PaymentA
Read-onlyIdempotent

Get one estimate deposit payment by ID. To see every deposit on an estimate, call wave_get_estimate with include_deposit_payments=true.

Inputs: payment_id (required), business_id, response_format.

wave_get_invoiceWave: Get InvoiceA
Read-onlyIdempotent

Get one invoice in full: line items, taxes, discounts, and payments.

Inputs: invoice_id (required), business_id, response_format.

wave_get_invoice_estimate_settingsWave: Get Invoice Estimate SettingsA
Read-onlyIdempotent

Get the branding applied to invoices and estimates: accent color and logo.

Inputs: business_id, response_format.

wave_get_invoice_paymentWave: Get Invoice PaymentA
Read-onlyIdempotent

Get one invoice payment by ID. To see every payment on an invoice, call wave_get_invoice instead: it returns them all.

Inputs: payment_id (required), business_id, response_format.

wave_get_oauth_applicationWave: Get Oauth ApplicationA
Read-onlyIdempotent

Get the OAuth application that issued the current access token.

Inputs: response_format.

wave_get_productWave: Get ProductA
Read-onlyIdempotent

Get one product by ID, including its accounts and default sales taxes.

Inputs: product_id (required), business_id, response_format.

wave_get_provinceWave: Get ProvinceA
Read-onlyIdempotent

Get one province or state by its code.

Inputs: code (required), response_format.

wave_get_sales_taxWave: Get Sales TaxA
Read-onlyIdempotent

Get one sales tax by ID, including its full rate history.

Inputs: sales_tax_id (required), business_id, response_format.

wave_get_userWave: Get UserA
Read-onlyIdempotent

Get the Wave user account that owns the current access token. Useful for confirming which account a token authenticates as.

Inputs: response_format.

wave_get_vendorWave: Get VendorA
Read-onlyIdempotent

Get one vendor by ID, including address and shipping details.

Inputs: vendor_id (required), business_id, response_format.

wave_list_accountsWave: List AccountsA
Read-onlyIdempotent

List the chart of accounts, with balances. Filter by type to find the account a transaction needs: EXPENSE for expense categories, INCOME for revenue, ASSET with subtype CASH_AND_BANK for bank accounts, LIABILITY with subtype CREDIT_CARD for cards.

Inputs: page, types, subtypes, fetch_all, +5 more.

wave_list_account_subtypesWave: List Account SubtypesA
Read-onlyIdempotent

List account subtypes -- the value wave_create_account needs. Every account belongs to a subtype (CASH_AND_BANK, EXPENSE, INCOME, ...), which in turn determines its type. Some subtypes are system-created and cannot be used for new accounts.

Inputs: account_type, creatable_only, response_format.

wave_list_account_typesWave: List Account TypesA
Read-onlyIdempotent

List the five top-level account types in Wave's chart of accounts: ASSET, LIABILITY, EQUITY, INCOME, and EXPENSE, each with its normal balance.

Inputs: response_format.

wave_list_businessesWave: List BusinessesA
Read-onlyIdempotent

List the Wave businesses this access token can reach. Start here: every other tool needs a business ID. Pass one to wave_set_default_business so later calls can omit it.

Inputs: page, fetch_all, page_size, is_archived, +1 more.

wave_list_countriesWave: List CountriesA
Read-onlyIdempotent

List the countries Wave supports, with each one's default currency.

Inputs: search, response_format.

wave_list_currenciesWave: List CurrenciesA
Read-onlyIdempotent

List the currency codes Wave supports. Wave supports about 160 currencies, so pass search to narrow the list.

Inputs: search, response_format.

wave_list_customersWave: List CustomersA
Read-onlyIdempotent

List customers, with each one's outstanding and overdue balance. Wave can filter by exact email only; name_contains is applied by this server after fetching, so combine it with fetch_all=true when searching a large customer list.

Inputs: page, sort, email, fetch_all, +6 more.

wave_list_estimatesWave: List EstimatesB
Read-onlyIdempotent

List estimates (quotes), filtered by status, customer, or date range.

Inputs: page, sort, status, currency, +11 more.

wave_list_invoicesWave: List InvoicesA
Read-onlyIdempotent

List invoices, filtered by status, customer, date range, or amount due. To find unpaid invoices use status "UNPAID"; "OVERDUE" narrows that to ones past their due date.

Inputs: page, sort, status, currency, +12 more.

wave_list_productsWave: List ProductsA
Read-onlyIdempotent

List products and services. Invoice and estimate line items must reference a product, so this is the usual first step when building either one.

Inputs: page, sort, is_sold, fetch_all, +8 more.

wave_list_sales_taxesWave: List Sales TaxesA
Read-onlyIdempotent

List sales taxes, with their current rate and rate history.

Inputs: page, fetch_all, page_size, business_id, +4 more.

wave_list_vendorsWave: List VendorsA
Read-onlyIdempotent

List vendors -- the suppliers a business buys from. Vendors are read-only in Wave's API: they can be listed and read but not created, changed, or deleted. Wave filters by exact email only; name_contains is applied locally, so pair it with fetch_all=true on a long vendor list.

Inputs: page, email, fetch_all, page_size, +5 more.

wave_set_default_businessWave: Set Default BusinessA
Idempotent

Set the business that later tool calls use when none is given. This is connector state, not a change in Wave. The hosted connector keeps it for the authenticated connection (legacy clients: the session); the local server keeps it until it restarts (set WAVE_BUSINESS_ID to make it permanent). Passing business_id explicitly always overrides it.

Inputs: business_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 30 tools

    Disambiguation5/5

    Each tool targets a distinct resource+action, and the list/get pairs (customers, vendors, products, taxes, invoices, estimates, accounts) are clearly separated. Descriptions even preempt overlaps, e.g. wave_get_invoice_payment vs wave_get_invoice, and wave_get_province vs wave_get_country. No two tools appear interchangeable.

    Naming Consistency5/5

    Every tool follows the same wave_verb_noun pattern (wave_list_*, wave_get_*, wave_set_*), all snake_case, with a uniform namespace prefix. There are no stylistic deviations or mixed conventions.

    Tool Count3/5

    30 tools is heavy for a read-only surface, and several low-value pairs inflate it (account_types + account_subtypes, get_country + get_province, currencies list/get). Consistent list+get pairs per entity are defensible, but the set is near the top of the reasonable range and could be consolidated.

    Completeness2/5

    The surface is almost entirely reads: there is no create/update/delete for invoices, estimates, customers, products, or accounts, despite wave_auth_status advertising 'write tools' and wave_list_account_subtypes referencing a wave_create_account that does not exist. Agents following those descriptions hit dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      This MCP server enables AI assistants like Claude to perform Wave Accounting bookkeeping tasks—such as drafting invoices, managing customers, recording payments, and looking up financial data—through natural language commands.
      8
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Comprehensive MCP server for Wave Accounting, providing 45+ tools across invoicing, customers, products, transactions, bills, estimates, taxes, and financial reporting, plus 17 pre-built UI workflows.
      5
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables Wave invoicing operations including listing invoices, retrieving details, and generating branded PDFs directly from AI assistants.
      5
      -
    • F
      license
      A
      quality
      F
      maintenance
      MCP server for Wave accounting that provides tools for managing chart of accounts, invoices, customers, vendors, products, and reports via the Wave GraphQL API.
      6
      -