Guide

MCP server

Connect Claude, or any MCP client, to your business: it reads what you can read, and prepares transfers and invoices that only a person can approve or issue in the app.

Connect a client#

The server speaks MCP over Streamable HTTP at /mcp on the host you sign in to. Add that URL to your client as a remote server, for example in Claude Code:

claude mcp add --transport http manza https://ma.manza.dev/mcp

In claude.ai, add it as a custom connector with the same URL. There is no API key to paste: the client signs you in with OAuth 2.1.

  1. The client calls /mcp, gets 401 and finds the authorization server from /.well-known/oauth-protected-resource/mcp.
  2. It registers itself (dynamic client registration) and opens the consent page.
  3. You sign in, choose the business it may reach, review what it asks for and allow it with your second factor.
  4. The client receives an access token for one hour and a refresh token that keeps it connected for 30 days of use.

A connection belongs to you in one business. It can only ever do what your own role allows there, and it loses a permission the moment your role does. Revoke it at any time in Security settings, under Connected apps.

The business must have finished its verification (KYB), and the MCP server must be switched on for it.

Scopes#

A client asks for scopes; the consent page grants only those your role holds. A client that asks for none asks for all of them.

ScopeWhat it allows
entities:readSee the business's details
accounts:listList your accounts
accounts:readSee account details and balances
movements:listList your transactions, and the spending and cash flow summaries
movements:readSee transaction details
invoices:listList your invoices
invoices:readSee invoice details
customers:listList your customers
customers:readSee customer details
invoice_drafts:createPrepare invoice drafts for you to finish in the app
invoice_drafts:readSee the invoice drafts it prepared
payment_links:listList your payment links
payment_links:readSee payment link details and where one stands
beneficiaries:listList your recipients
beneficiaries:readSee recipient details (no tool needs it yet)
transfer_drafts:createPrepare transfers for you to approve in the app
transfer_drafts:readSee the transfers it prepared
bulk_payments:readList your bulk payments and see where one stands
cards:listList your cards, with their last four digits, holder and status
cards:readList your cards and see where one stands
card_details:readSee a card's details, controls and limits
tasks:readSee what needs your action
api_keys:readSee your API keys, their scopes and IP allowlists
api_requests:listSee your API request log and why a key was refused
checkout_sessions:readSee why a checkout session was not paid

Tools#

tools/list shows only the tools this connection may call: those whose scopes it holds, for the products your business has. Any other tool answers as one that does not exist. Records come back as the REST API describes them (cards, which have no REST endpoint, as get_card lists), with personal data masked (below); amounts are decimal strings, always per currency.

ToolScopeWhat it does
get_entityentities:readThe business: its id and name
list_accountsaccounts:listYour accounts; balances and the last four digits of each number with accounts:read
get_accountaccounts:readOne account with its available and booked balance
list_transactionsmovements:listTransactions, newest first, by account, operation or dates
get_transactionmovements:readOne transaction
spending_analysismovements:listSpending by category, label or merchant
cash_flow_summarymovements:listMoney in and out per month or week
business_overviewmovements:listCash flow, top expenses and revenue; balances with accounts:read, invoices with invoices:list
list_invoicesinvoices:listInvoices, newest first, by status or customer
get_invoiceinvoices:readOne invoice with its items
list_customerscustomers:listCustomers, with a search
get_customercustomers:readOne customer
create_invoice_draftinvoice_drafts:createPrepare an invoice draft for a person to finish in the app
get_invoice_draftinvoice_drafts:readOne invoice draft an MCP connection prepared in this business; its wizard link while it is a draft
list_payment_linkspayment_links:listPayment links, by status or type; the account number's last four digits with accounts:read, for accounts you may read
get_payment_linkpayment_links:readOne payment link; the account number's last four digits with accounts:read, for an account you may read
list_beneficiariesbeneficiaries:listRecipients with the bank accounts a transfer can pay
create_transfer_drafttransfer_drafts:createPrepare a transfer for approval in the app
get_transfer_drafttransfer_drafts:readOne draft an MCP connection prepared in this business; its review link while it awaits approval
list_cardscards:listYour cards: name, last four digits, holder, status, type, network, account and currency
get_cardcard_details:readOne card, with whether ATM, online and contactless payments are on, this month's spend and, where the card has them, its spending limits; never the card number beyond its last four, the expiry or the PIN
get_record_statusany of payment_links:read, bulk_payments:read, cards:readWhere a payment link, bulk payment or card stands
list_record_statusesany of payment_links:list, bulk_payments:read, cards:readYour most recent payment links, bulk payments or cards of one kind, to ask get_record_status about
list_attention_itemstasks:readWhat needs your action, in the order to act, each with the link where you act
list_api_keysapi_keys:readYour API keys: name, prefix, status, scopes, IP allowlist and when each was last used; never the secret
list_api_requestsapi_requests:listYour API requests of the last 30 days, newest first, by key, refusals only or a start time: route, status, why the allowlist refused it, the address it showed and whether it was proven, the host and the user agent
diagnose_api_keyapi_requests:list and api_keys:readWhy a key is refused with 403 ip_not_allowed, and what to change
diagnose_checkout_sessioncheckout_sessions:readWhy a checkout session was not paid: its attempts' decline codes and a verdict
search_docsNone: every connectionSearch this documentation; the best pages with their Markdown and URL

List tools page with limit (up to 200); pass the previous page's next_cursor as cursor.

Once plan entitlements are enforced for your business, a plan without payment links leaves the payment link tools out of the list, and get_record_status then answers a payment link as not found.

get_record_status answers in the words the record's own page shows you: whether it is on track, needs you to act or needs help, since when, and when the next step is expected. It needs the scope of the record's kind, and is available where record status is switched on for your business. list_record_statuses lists the records of one kind, newest first, so you can find the one to ask about; payment links need payment_links:list there, and your role must allow listing that kind. Cards and card requests, for either tool, also need card status switched on for your business; until then they answer Not found.

list_attention_items lists what is waiting on you, as the in-app assistant lists it: approvals waiting for your vote, other open tasks, records that need you to act, transfer drafts you may review, then setup steps. It shows only what your role lets you act on.

search_docs reads these pages, which are public, so every connection may call it.

diagnose_api_key explains a refused key. A 403 ip_not_allowed never says why, so the reasons are kept on our side: ip_unverified means we could not prove your address, most often because the client called a host other than your market's API URL (the guidance names it); ip_not_listed means a proven address outside the key's list. Each reason comes with the addresses, hosts and user agents we saw. An unproven address is never one to add to the list. The API key tools and diagnose_checkout_session are for legal representatives and managers.

diagnose_checkout_session takes a session's id or its cs_ slug and returns the session's status and amount, its newest card attempts with each decline's code and classification, and a verdict. It never returns the payer's name, email, address or card, the session's metadata values, description or URLs, or a provider's request or response body.

Personal data. What a tool returns leaves Manza for your AI client, so it is masked first. A person's email and phone come back masked (j***@gmail.com, +27 ••• ••• •123), and every account number, your own included, shows only its last four digits (••••1234). A business's email and phone come back in full; a customer or recipient not marked as a business counts as a person. Names, references and amounts are not masked, nor is the user agent an API call sent, which list_api_requests and diagnose_api_key return as your client sent it. The full details stay in the app and the REST API. To tell the two apart, an invoice's customer also carries customer_type, which the REST API's invoice does not.

Transfer drafts#

create_transfer_draft moves no money. It saves the same draft the New transfer form saves, from one of your accounts to a recipient's bank account (beneficiary_id and external_account_id from list_beneficiaries) or to another of your accounts (destination_account_id), with the same checks on your role and the accounts it names.

The answer says "draft": "requires in-app approval" and gives review_url, the draft's review page. Nothing happens until a person opens it in the app, checks it and approves it with their second factor, under your plan's limits and your business's approval rules. Until then the draft is listed with your other drafts in Payments.

No tool approves, finalizes, edits or deletes a draft, and none ever will. Every call without a client_reference makes a new draft; send your own client_reference and a retry with the same arguments returns the draft it made instead of a second one.

transfer_method chooses the rail, as on POST /api/payments: standard or instant. Left out, the draft takes standard, the default rail; any other value is refused with the values allowed.

Drafts are limited to 10 a minute per connection.

Invoice drafts#

create_invoice_draft prepares an invoice for one of your existing customers (customer_id from list_customers), with its lines, discounts and dates, under the same checks on your role as the invoice wizard. A line left without tax_rate gets your business's own VAT rate; a rate your business may not charge is refused, with the rates it may.

The draft is never numbered, sent or put up for approval here. The answer says "draft": "requires in-app completion", gives review_url, the draft in the invoice wizard, and lists in still_needed what the wizard will still ask for, such as a bank account. A person finishes and issues it there; until then it is listed with your other drafts in Invoices.

If your invoice settings are not finished, the tool says so and links them. No tool issues, edits or deletes an invoice. A client_reference makes a retry safe, as for transfer drafts.

Invoice drafts are limited to 10 a minute per connection.

Limits and errors#

Each access token may make 120 calls a minute. Past that the server answers 429.

AnswerWhen
401 with WWW-AuthenticateNo usable access token: refresh it if possible; otherwise connect again
403 entity_inactiveThe business has not finished its verification
403 entity_restrictedManza has made the business read-only: every call is refused until it is lifted
429 rate_limitedMore than 120 calls in a minute on one access token
Tool result with isError: trueThe call ran and failed: invalid arguments, Not found, or the reason a draft was not saved

A record outside what you may see answers Not found, exactly like one that does not exist.