Server For Wave
БесплатноНе проверенProvides complete MCP access to Wave Accounting, enabling AI assistants to manage invoices, payments, customers, and bookkeeping via natural language.
Описание
Provides complete MCP access to Wave Accounting, enabling AI assistants to manage invoices, payments, customers, and bookkeeping via natural language.
README
MCP Server for Wave
Review Wave accounting and manage invoices through your MCP client
74 tools •
30 read-only tools by default •
44 optional write tools •
8 resources
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.
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 [email protected].
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
DEPOSITorWITHDRAWAL. - 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
transactionsconnection onBusiness. Review them in the web app. - Vendors are read-only. The schema has no
vendorCreate,vendorPatch, orvendorDelete. - Money transactions cannot reference a vendor.
wave_create_expense_from_receiptrecords the name in the description. wave_patch_estimatedemands 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_accountneeds the account's currentsequenceas an optimistic-concurrency check.- Line items must reference a product. No free-text lines.
wave_create_deposit_transactionreturns 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.
Built by Oliver Ames in Vermont • GitHub • LinkedIn • Bluesky
Установка Server For Wave
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/oliverames/wave-mcp-serverFAQ
Server For Wave MCP бесплатный?
Да, Server For Wave MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Server For Wave?
Нет, Server For Wave работает без API-ключей и переменных окружения.
Server For Wave — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Server For Wave в Claude Desktop, Claude Code или Cursor?
Открой Server For Wave на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
автор: mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
автор: agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiCompare Server For Wave with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
