Skip to main content
Glama
wave-mcp-server
by yoyodyne7

wave-mcp-server

An MCP server that lets Claude (or any MCP client) work with Wave invoicing for one business: look up customers and invoices, create customers and draft invoices, and approve, send and record payments behind a preview-then-confirm step.

Unofficial. This project is not affiliated with, endorsed by or supported by Wave Financial. It uses Wave's public GraphQL API with a token you create yourself.

Requirements

  • Node.js 22 or later

  • A Wave account and a Full Access Token from the Wave developer portal

Related MCP server: Wave MCP Server

Setup

  1. Create a test business in Wave (Wave recommends this as a sandbox) and add a customer, a product and a sales tax to it. Point the server at it until you trust the setup.

  2. Create an application and token: in the Wave developer portal go to Manage Applications, create an application, then Create token. The token can see every business in your Wave account; treat it like a password.

  3. Find your business id:

    WAVE_ACCESS_TOKEN=your-token npx -y @sdnly/wave-mcp-server --list-businesses
  4. Register with Claude Code:

    claude mcp add wave \
      -e WAVE_ACCESS_TOKEN=your-token \
      -e WAVE_BUSINESS_ID=your-business-id \
      -- npx -y @sdnly/wave-mcp-server

    For Claude Desktop or another client, add the same command and environment variables to its MCP config:

    {
      "mcpServers": {
        "wave": {
          "command": "npx",
          "args": ["-y", "@sdnly/wave-mcp-server"],
          "env": { "WAVE_ACCESS_TOKEN": "your-token", "WAVE_BUSINESS_ID": "your-business-id" }
        }
      }
    }
  5. Ask Claude to run wave_get_business to confirm the connection.

To switch from the test business to the real one, change WAVE_BUSINESS_ID and restart your client.

Running from a clone

If you would rather not use npx, or want to keep the token out of your client's config:

git clone https://github.com/yoyodyne7/wave-mcp-server.git && cd wave-mcp-server
npm install && npm run build
cp .env.example .env && chmod 600 .env    # paste the token and business id into .env
node dist/index.js --list-businesses
claude mcp add wave -- node "$(pwd)/dist/index.js"

The server reads .env from the folder above dist/. If a value is set both there and in the environment with different contents, it refuses to start rather than guess which one you meant.

Tools

Kind

Tools

Read

wave_get_business, wave_list_customers, wave_get_customer, wave_list_invoices, wave_get_invoice, wave_list_products, wave_list_sales_taxes, wave_list_accounts

Write

wave_create_customer, wave_update_customer, wave_create_product, wave_create_invoice (drafts only), wave_update_invoice (drafts only)

Gated

wave_approve_invoice, wave_send_invoice, wave_mark_invoice_sent, wave_record_payment

Gated tools return a preview and a fingerprint on the first call and do nothing. They act only when called again with confirm: true and that fingerprint, and refuse if the invoice changed in between.

There are no delete tools. Deletions, payment edits, estimates and expenses stay in Wave.

Security and privacy

Read this before pointing the server at real books.

  • The token is a master key. A Wave Full Access Token can read and change every business in your Wave account, not just the one in WAVE_BUSINESS_ID, and it lasts for years. The one-business limit is enforced by this server, not by Wave; anything else that gets hold of the token has no such limit. Where the token lives:

    • With claude mcp add -e or a Desktop config, it is stored in plain text in that client's config file (for Claude Code, ~/.claude.json).

    • With a clone, it is in .env. Keep that file chmod 600 and out of git.

    Either way, any program running as your user can read it. If your computer is lost or compromised, revoke the token in the Wave developer portal (Manage Applications) first.

  • Your Wave data goes to your AI provider. Everything a tool returns (customer names, emails, addresses, invoice amounts) becomes part of the conversation and is sent to whichever model your client uses. Check that this fits your privacy obligations to your own customers.

  • Your approval is the safety net. Text the assistant reads elsewhere in a session (an email, a web page, a document) can try to instruct it to create, approve or send invoices. Keep every write and gated tool on "ask every time", and read the preview before approving a gated call. The preview step proves a preview was requested, not that you read it. If you allow-list tools to cut down prompts, allow-list only the eight read tools, never mcp__wave__* as a whole.

  • Pin the version. npx -y @sdnly/wave-mcp-server runs the newest published release. For books you care about, pin one you have reviewed, e.g. npx -y @sdnly/wave-mcp-server@0.1.1, or run from a clone.

  • The server talks only to Wave's API (https://gql.waveapps.com/graphql/public) over HTTPS. It sends no telemetry and writes nothing to disk, and it strips the token from error messages.

Usage notes

  • The server acts only on WAVE_BUSINESS_ID. No tool accepts a business id.

  • Writes are never retried. If a write times out, check the invoice in Wave before retrying.

  • Tax on invoice lines: omit sales_tax_ids to use the product's default taxes; pass [] for no tax (zero-rated or export clients).

  • On "Wave rejected the access token", create a new token and update your configuration.

Status

Tested against a Wave test business. wave_send_invoice (Wave emails the invoice to the customer) has not yet been verified against a live send; treat it as experimental and try it on a test business first.

Development

npm test        # unit and contract tests (no network)
npm run build   # compile to dist/

Wave's schema is unversioned. If a tool starts returning "Wave rejected the request shape", compare the query in src/queries/ with the API Reference in the developer portal.

License

MIT. See LICENSE. Provided as is, without warranty: you are responsible for what it does in your Wave account.

Available Tools

17 tools
wave_approve_invoiceApprove Wave invoiceA
Destructive

Approve a DRAFT invoice, which posts it to the books and makes it sendable. It does not email anyone. This is a two-step tool: the first call (confirm omitted) returns a preview and a fingerprint and changes nothing. Show the preview to the user. Only after they agree, call again with confirm: true and the fingerprint.

Inputs: invoice_id (required), confirm, fingerprint. Returns: status, invoice, message, preview, +1 more

wave_create_customerCreate Wave customerA

Create a customer in the pinned Wave business. Check wave_list_customers first to avoid duplicates. Set currency for clients billed in a currency other than the business default (e.g. USD for US clients).

Inputs: name (required), email, phone, address, +4 more. Returns: id, name, email, phone, +7 more

wave_create_invoiceCreate draft Wave invoiceA

Create a DRAFT invoice. Nothing is sent and nothing is posted to the books until wave_approve_invoice and wave_send_invoice. Needs a customer id (wave_list_customers) and at least one line item with a product id (wave_list_products). Tax per line: omit sales_tax_ids to use the product's defaults, or pass [] for no tax (zero-rated US/export clients).

Inputs: items (required), customer_id (required), memo, title, +7 more. Returns: id, memo, items, title, +19 more

wave_create_productCreate Wave product or serviceA

Create a product/service that can be used on invoice line items. Check wave_list_products first. income_account_id must be an account of subtype INCOME, DISCOUNTS or OTHER_INCOME.

Inputs: name (required), unit_price (required), description, income_account_id, +1 more. Returns: id, name, unit_price, description, +3 more

wave_get_businessGet Wave businessA
Read-onlyIdempotent

Show the Wave business this server is pinned to: name, default currency, timezone and whether Wave email sending is enabled. Use it to check the connection before other tools. All wave_* tools act on this one business only.

Inputs: no named parameters. Returns: id, name, currency, timezone, +2 more

wave_get_customerGet Wave customerA
Read-onlyIdempotent

Get one customer by id, including address, default currency and outstanding/overdue amounts.

Inputs: customer_id (required). Returns: id, name, email, phone, +7 more

wave_get_invoiceGet Wave invoiceA
Read-onlyIdempotent

Get one invoice with line items, taxes, payments, totals, amount due and the PDF and customer-view URLs.

Inputs: invoice_id (required). Returns: id, memo, items, title, +19 more

wave_list_accountsList Wave accountsA
Read-onlyIdempotent

List chart-of-accounts entries (unarchived). Filter by types and/or subtypes. For the deposit account in wave_record_payment use subtypes ["CASH_AND_BANK"]. For a product's income account use subtypes ["INCOME"].

Inputs: page, types, subtypes, page_size. Returns: page, items, has_more, page_size, +2 more

wave_list_customersList Wave customersA
Read-onlyIdempotent

List customers of the pinned Wave business, sorted by name. Filter by exact email, or by name (case-insensitive contains; searches up to 500 customers and sets scan_truncated if there are more). Returns id, contact details, default currency and outstanding/overdue amounts. Use the id with wave_create_invoice or wave_list_invoices.

Inputs: name, page, email, page_size. Returns: page, items, has_more, page_size, +3 more

wave_list_invoicesList Wave invoicesA
Read-onlyIdempotent

List invoices of the pinned Wave business, newest invoice date first. Filter by status, customer, currency, invoice date range or invoice number (contains match). Returns summaries; use wave_get_invoice for line items and payments. For accounts receivable, list status OVERDUE or UNPAID.

Inputs: page, status, currency, page_size, +4 more. Returns: page, items, has_more, page_size, +2 more

wave_list_productsList Wave products and servicesA
Read-onlyIdempotent

List the products/services the business sells (unarchived), sorted by name. Each invoice line item needs a product id from here. Shows unit price, income account and default sales taxes.

Inputs: page, page_size. Returns: page, items, has_more, page_size, +2 more

wave_list_sales_taxesList Wave sales taxesA
Read-onlyIdempotent

List the business's sales taxes (e.g. HST) with ids and current rates. Use the ids in wave_create_invoice line items (sales_tax_ids).

Inputs: page, page_size. Returns: page, items, has_more, page_size, +2 more

wave_mark_invoice_sentMark Wave invoice as sentA
Destructive

Record that an approved invoice was sent outside Wave (e.g. from your own email). Wave emails no one. This is a two-step tool: the first call (confirm omitted) returns a preview and a fingerprint and changes nothing. Show the preview to the user. Only after they agree, call again with confirm: true and the fingerprint.

Inputs: invoice_id (required), confirm, fingerprint, send_method. Returns: status, invoice, message, preview, +1 more

wave_record_paymentRecord payment on Wave invoiceA
Destructive

Record a payment the business has ALREADY received against an approved invoice. This changes the books; it does not move money. amount is in the invoice's currency and may not exceed the amount due. payment_account_id is the account the money landed in: wave_list_accounts with subtypes ["CASH_AND_BANK"]. This is a two-step tool: the first call (confirm omitted) returns a preview and a fingerprint and changes nothing. Show the preview to the user. Only after they agree, call again with confirm: true and the fingerprint.

Inputs: amount (required), invoice_id (required), payment_date (required), payment_method (required), +5 more. Returns: status, invoice, message, preview, +1 more

wave_send_invoiceEmail Wave invoice to clientA
Destructive

Have Wave EMAIL an approved invoice to the given addresses. This reaches a real client and cannot be unsent. The preview shows recipients, subject, totals and tax, and whether a recipient matches the customer's email on file. This is a two-step tool: the first call (confirm omitted) returns a preview and a fingerprint and changes nothing. Show the preview to the user. Only after they agree, call again with confirm: true and the fingerprint.

Inputs: to (required), invoice_id (required), confirm, message, +4 more. Returns: status, invoice, message, preview, +1 more

wave_update_customerUpdate Wave customerB

Change fields on an existing customer. Only the fields you pass are changed.

Inputs: customer_id (required), name, email, phone, +5 more. Returns: id, name, email, phone, +7 more

wave_update_invoiceUpdate draft Wave invoiceA

Change a DRAFT invoice. Only the fields you pass are changed, except items, which replaces ALL line items. Refuses invoices that are no longer drafts.

Inputs: invoice_id (required), memo, items, title, +7 more. Returns: id, memo, items, title, +19 more

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 17 tools

    Disambiguation5/5

    Each tool targets a distinct resource+action, and the descriptions carefully delineate the tricky invoice lifecycle tools (create vs approve vs send vs mark_sent) with explicit sequencing notes. An agent can reliably select the right tool for each step.

    Naming Consistency5/5

    Every tool follows a strict wave_verb_noun snake_case pattern (wave_list_customers, wave_create_invoice, wave_record_payment), with no deviations in casing or verb style across the set.

    Tool Count4/5

    17 tools is on the higher side but each covers a genuine entity/action across the customers, products, invoices, taxes, accounts and payments domain. It is well-scoped for a full invoicing lifecycle with only minor redundancy.

    Completeness4/5

    The invoice lifecycle is fully covered (create, update, approve, send, record payment), plus customers, products, taxes and accounts. Minor gaps exist: no customer delete/archive and no product update/get, but core workflows have no dead ends.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • 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
      -
    • A
      license
      B
      quality
      D
      maintenance
      A complete MCP server for Wave Accounting, providing comprehensive access to invoicing, customers, products, transactions, bills, estimates, taxes, and financial reporting.
      54
      MIT
    • A
      license
      A
      quality
      F
      maintenance
      Provides complete MCP access to Wave Accounting, enabling AI assistants to manage invoices, payments, customers, and bookkeeping via natural language.
      30
      73 npm
      MIT