wave-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WAVE_EMAIL | No | Wave account email for automatic re-sign-in without an OS credential store. | |
| INFISICAL_URL | No | Infisical HTTPS origin used in hosted mode, for example `https://app.instisical.com`. | |
| WAVE_MCP_BIND | No | HTTP listen address. Default `127.0.0.1`. | 127.0.0.1 |
| WAVE_MCP_PORT | No | HTTP listen port. Default `8765`. | 8765 |
| INFISICAL_TOKEN | No | Infisical machine-identity access token used in hosted mode. | |
| WAVE_AUTH_TOKEN | No | Use this Wave session cookie instead of the stored sign-in. | |
| WAVE_CSRF_TOKEN | No | Use this Wave CSRF token cookie instead of the stored sign-in. | |
| WAVE_MCP_HOSTED | No | Set to `1` to turn on hosted mode. Requires `WAVE_MCP_TRANSPORT=http`. | |
| WAVE_BUSINESS_ID | Yes | Required. The one Wave business UUID this server works on. | |
| WAVE_MCP_LOG_LEVEL | No | Log level: `debug`, `info` (default), `warn` or `error`. Logs go to stderr. | info |
| WAVE_MCP_TRANSPORT | No | Transport to use: `stdio` (default) or `http`. | stdio |
| WAVE_PASSWORD_FILE | No | Path to a file containing the Wave password for automatic re-sign-in without an OS credential store. | |
| WAVE_MCP_CONFIG_DIR | No | Directory where the sign-in and browser profile are kept. Default `~/.config/waveapps-mcp`. | ~/.config/waveapps-mcp |
| WAVE_MCP_HTTP_TOKEN | No | Single-caller HTTP bearer token. | |
| WAVE_MCP_BROWSER_PATH | No | Path to a Chromium-based browser to use instead of Playwright's. | |
| WAVE_TOTP_SECRET_FILE | No | Path to a file containing the Wave TOTP secret for automatic re-sign-in without an OS credential store. | |
| WAVE_MCP_HTTP_CONSUMERS | No | JSON list of `{consumerId, token}` objects for named HTTP callers. Do not combine with the single-token variables. | |
| WAVE_MCP_HTTP_TOKEN_FILE | No | Path to a file containing a single-caller HTTP bearer token. Hosted mode refuses this variable. | |
| WAVE_PUBLIC_ACCESS_TOKEN | No | Wave public-API Full Access Token. In hosted mode it comes from Infisical instead. | |
| WAVE_INFISICAL_LOGIN_PATH | No | Infisical path where the login secrets are stored in hosted mode. | |
| WAVE_INFISICAL_PUBLIC_KEY | No | Infisical secret name for the Wave Full Access Token in hosted mode. | |
| WAVE_MCP_HTTP_CONSUMER_ID | No | Optional consumer ID used with the single-caller HTTP token variables. | |
| WAVE_MCP_TOOL_POLICY_FILE | No | Path to the tool policy JSON. Unset means read tools only. | |
| WAVE_INFISICAL_PUBLIC_PATH | No | Infisical path where the Wave Full Access Token is stored in hosted mode. | |
| WAVE_INFISICAL_LOGIN_PROJECT_ID | No | Infisical project ID where `LOGIN_IDENTIFIER`, `LOGIN_PASSWORD` and `LOGIN_TOTP_SECRET` are stored in hosted mode. | |
| WAVE_INFISICAL_LOGIN_ENVIRONMENT | No | Infisical environment where the login secrets are stored in hosted mode. | |
| WAVE_INFISICAL_PUBLIC_PROJECT_ID | No | Infisical project ID where the Wave Full Access Token is stored in hosted mode. | |
| WAVE_INFISICAL_PUBLIC_ENVIRONMENT | No | Infisical environment where the Wave Full Access Token is stored in hosted mode. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wave_get_businessB | Returns the configured business only; caller overrides cannot switch businesses. |
| wave_list_businessesC | Returns only the configured business. Never enumerates all businesses accessible to the token. |
| wave_list_accountsC | Walks all delivered offset pages. Active by default; explicitly request archived-only or all. Balances/rate history retained; no stable snapshot promised. |
| wave_list_sales_taxesB | Walks all delivered offset pages. Active by default; explicitly request archived-only or all. Balances/rate history retained; no stable snapshot promised. |
| wave_list_customersB | Lists full public customer records across offset pages. Email is exact, case-insensitive; name is a case-insensitive substring. Incomplete walks include continuation, not a complete-roster claim. No snapshot guarantee. |
| wave_get_customerB | Returns the complete public customer record only after trusted business ownership verification; no internal-only additional contacts are implied. |
| wave_list_invoicesA | Complete public summary pagination with schema-supported filters and exact decimal totals. InvoiceNumber filter is provider substring matching, not exact identity. Invoice and nested customer owners are verified from each returned summary. Use get for line taxes/payments/current confirmation detail. No snapshot guarantee. |
| wave_get_invoiceC | Reads actual full invoice state, line products/taxes/discounts/payments with precise decimal strings and all nested ownership validation. Nullable arrays/entries preserved, no manual-payment classification or mutation/confirmation execution implied. |
| wave_list_productsB | Lists complete public product records with precise price strings, sold/bought flags, default taxes and account data. Active by default; explicit true archives-only/null all. No snapshot guarantee. |
| wave_get_productC | Gets a product only after trusted root, product and nested account/tax ownership validation; does not use the internal API. |
| wave_create_customerC | Creates a customer only when server policy allows writes; awaits audit completion. |
| wave_update_customerB | Reads and verifies ownership, merges omitted address/shipping fields, preserves explicit null clears, then writes once and awaits audit. |
| wave_delete_customerB | Destructive deletion is denied by default; requires explicit server policy, trusted ownership and awaited audit. No retry. |
| wave_create_productB | Creates a product with exact decimal string price. Sold/bought intent uses income/expense account IDs, never invented boolean mutation fields. Explicit null account clearing is passed as provider input, not a proven live flag guarantee. Denied by default; audit awaited. |
| wave_update_productB | Reads trusted product ownership and all current references. Omitted tax defaults are explicitly preserved. Supplied account/tax references are validated before one public patch. Does not retry ambiguous outcomes. |
| wave_archive_productB | Archives a trusted product via productArchive, never deletes. Requires write policy and consumer identity; awaits audit and verifies returned archive state. |
| wave_create_invoiceA | Creates DRAFT only after customer/product/tax ownership preflight. Every line requires existing productId; omitted taxes use provider product defaults, explicit [] is distinct no-tax intent. Precision strings unchanged. Supported single FIXED/PERCENTAGE discount for next-invoice credit, not negative-price credit or stored balance/money movement. Denied by default and audit awaited; never approves/sends. |
| wave_update_invoiceA | Reads current ownership/state and refuses non-DRAFT before one patch, forces DRAFT and verifies response. Supplied items replace the ENTIRE list: send complete intended items, not a partial edit. Omitted items/taxes stay omitted. No atomic version precondition/provider concurrency guarantee; never auto-approves/sends/retries. |
| wave_clone_invoiceB | Reads a fully owned source, then creates a NEW DRAFT using captured product-backed lines, explicit tax IDs and actual discount subtype mapping. Requires deliberately selected invoiceDate/dueDate; omit invoiceNumber to request provider fresh auto-number, or supply a new value. Never copies IDs/totals/payments/sent metadata, never uses unproven direct invoiceClone status semantics. No atomic/snapshot guarantee. |
| wave_delete_invoiceA | Destructive policy denied by default. Reads actual ownership/current state, refuses every non-DRAFT before one invoiceDelete. No atomic conditional-delete guarantee; ambiguous effects are never retried, audit awaited. |
| wave_approve_invoiceB | Two-step only: preview actual fully owned DRAFT/current state, then return its fingerprint+expiresAt with confirm:true after review. Fresh state/consumer/tool/business/input binding, single use before mutation, audit awaited. No provider atomic conditional guarantee. |
| wave_send_invoiceB | Requires separate explicit approval first and emailSendEnabled. Every recipient is explicit in to (no maximum inferred); ccMyself is pinned FALSE so preview never hides an unknown provider-self recipient. Include your own actual email in to if wanted. Never edits customer/auto-approves. Preview then confirm its original fingerprint+expiresAt; changed recipient/input/state invalidates, replay cannot send twice. |
| wave_mark_invoice_sentA | Requires separately approved invoice. Captures exact sendMethod/sentAt and full current owned state; preview/explicit single-use confirm required. Does not send email or auto-approve, no ambiguous retry, audit awaited. |
| wave_record_paymentB | Explicit invoicePaymentCreateManual ONLY: never charges/refunds/reverses processor funds. Requires owned approved invoice and owned active account, exact amount/currencies/exchange-rate snapshot, preview then single-use explicit confirmation. No inferred origin classifier. UPDATE/DELETE remain deferred/unaccepted for full FR6 under A79; no automatic mutation retry. |
| wave_update_paymentC | A79 FAIL-CLOSED DEFERRED in Phase1; typed error and ZERO provider calls. Unaccepted for full FR6 until gated Phase2/3 origin verification. No caller assertion enables it. |
| wave_delete_paymentD | A79 FAIL-CLOSED DEFERRED in Phase1; typed error and ZERO provider calls. Unaccepted for full FR6 until gated Phase2/3 origin verification. No processor probe/provenance ledger. |
| wave_list_customer_contactsC | Requires internal authentication. Standard public lookup proves actual customer ownership only; contacts/full billing-shipping snapshot come exclusively from the captured internal query. No inferred public contact fields. |
| wave_set_customer_contactsA | Replaces WHOLE list: every existing contact is deleted with {id} ONLY, then new contacts (new IDs) inserted. [] removes all. Preview explicitly exposes all deleted records and exact address/shipping preservation patch; unchanged full snapshot and explicit single-use confirmation required. Public lookup is ownership only. No blind retry or provider CAS guarantee. |
| wave_list_recurring_invoicesB | Read-only pinned-business schedules. Every raw row owned/typed before exposure. Preserves all delivered raw fields plus precise summary; GET each record for products/taxes/schedule/delivery absent from list responses. page/pageSize legacy batch bound200/default25 is provisional, not verified provider maximum. allPages walks until EMPTY with explicit partial continuation; otherwise call nextPage until complete. Legacy meta.page echo and totalPages header-or-derived values NEVER terminate a walk. No deduplication/stable snapshot guarantee; no recurring writes. |
| wave_get_recurring_invoiceB | Read-only exact ID and actual business_id proof; returns complete state/customer/currency/precise total/terms/first-previous-next/count/product/taxes and schedule/delivery/payment settings plus every raw field. Required fields may be null but never silently fabricated from missing data. Auth and scope failures explicit; no writes or live proof implied. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 30 tools
Most tools map to a distinct resource/action pair, and descriptions clarify subtle boundaries like send vs. mark-sent. However, get_business and list_businesses effectively return the same configured business, and update_payment/delete_payment are present but fail-closed, creating misleading choices.
All tools use a consistent wave_ prefix followed by snake_case verb_noun naming, such as wave_create_invoice, wave_list_customers, and wave_delete_customer. Conventions remain stable across the entire 30-tool set.
The server exposes 30 tools, which is heavy for the apparent scope, especially since two payment tools are deferred and nonfunctional. The accounting domain is broad, but several read-only resources and lifecycle variants inflate the surface beyond a well-scoped set.
Core customer, product, invoice, and payment-recording workflows are covered, but recurring invoices are read-only with no create/update/delete, payment update/delete are explicitly deferred, and account/tax surfaces are read-only. These are notable gaps for a full accounting lifecycle.