Skip to main content
Glama
Red MCP Server

Red MCP Server

by loldwyer

Red MCP Server

Red is an open-source Model Context Protocol (MCP) server that connects AI assistants (such as Cursor or Claude Desktop) to Big Red Cloud accounting data through a set of controlled MCP tools.

Instead of calling the Big Red Cloud REST API directly, users work in plain language. The server translates requests into structured API calls and applies safety checks around anything that changes data.

With Red, a connected user can:

  • Review Big Red Cloud data with read-only lookups (customers, suppliers, products, invoices, quotes, nominal reports, and more).

  • Prepare drafts of new records and see a plain-English preview before anything is sent.

  • Create, update, or delete records only after explicit confirmation.


Why open source?

We believe AI infrastructure should be transparent. Customers should be able to inspect the software that connects their accounting data to AI assistants.

Our competitive advantage is not the connector itself; it is our accounting platform, our expert bookkeeping advice, our customer experience, and the value we build on top of it.

By open-sourcing Red, we hope to encourage trust, community contributions, and wider adoption of open standards.


Related MCP server: HLedger MCP Server

Features

  • Secure company connection flow (session-scoped, no credentials in chat)

  • Read-only Big Red Cloud lookups

  • Customer, supplier, product, sales rep, VAT, and analysis category tools

  • Sales quotes, invoices, credit notes, purchases, payments, and cash tools

  • Draft-before-write confirmation flow for create, update, delete, batch, and email actions

  • VAT and transaction safety checks

  • Sales invoice safeguards, including Gross Price Entry priceBasis handling, Sales VAT category validation, placeholder product ID blocking, and CR analysis category confirmation

  • Session audit log of writes made through the MCP session

  • Local stdio and hosted HTTP transports


Security and safety model

Red is designed so that AI-driven access to accounting data stays controlled and auditable.

  • No credentials in the repository. API keys and secrets are never committed. Configuration is supplied at runtime through environment variables.

  • No credentials in chat. Customer credentials and API keys must not be pasted into chat. Companies are connected through the secure Red connection page instead.

  • Session-scoped connections. A connected company is available only within the current MCP session and is held in session memory, not persisted to disk in normal operation.

  • Explicit confirmation for writes. Create, update, delete, batch, and email actions require an explicit confirmation flag after a draft has been shown.

  • Draft previews before changes. The first call to a write tool returns a draft/preview rather than performing the action.

  • Read and write are separated. Read-only lookups are clearly distinct from actions that change data.

  • Audit log. Writes made through the MCP session are recorded in a session audit log; read-only calls are not logged.

  • Deployment flags. Update, delete, email, batch, and operator/dev tools can each be disabled per deployment, in which case the matching tools return a permission message instead of calling Big Red Cloud.

Sales invoice safety checks

Recent work hardened sales invoice handling:

  • Gross Price Entry requires an explicit priceBasis of gross or net so VAT is never guessed.

  • Sales VAT rates only. Sales invoices must use a Sales VAT category; purchase VAT rates are blocked, even when the percentage matches.

  • Placeholder product IDs (productId 0 and 1) are treated as placeholders and blocked before a draft or post.

  • note defaults to the customer name unless a note is explicitly provided, and is never set to a product name.

  • deliveryTo is included only when a delivery address is explicitly provided.

  • Plain-language results. Technical HTTP status codes are translated into plain-language messages for users.


Architecture

Two entry points share one tool registry:

Entry

File

Transport

Use case

Local stdio

src/index.ts

StdioServerTransport

An MCP client spawns node build/index.js

Hosted HTTP

src/remote.ts

Streamable HTTP on /mcp

npm run start — one MCP server per session

Key shared modules:

  • src/server.ts — MCP server factory and stdio singleton

  • src/register_all_tools.ts — central tool registration; wraps the server so disabled skills register a permission-message blocker instead of the real tool, and so write tools get draft/confirmation handling

  • src/config/server_config.ts — deployment skill gating driven by the BRC_ALLOW_* flags

  • src/config/mcp_config.ts — MCP server instructions and connection-safety rules

  • src/shared.ts — Big Red Cloud HTTP client, session-scoped connections, audit log, and helpers

  • src/guards/ — transaction, reference, VAT category, product line, and write-confirmation safety checks

  • src/auth/ — secure connection flow and connection store

Domain logic lives under src/tools/, with generic create/update/delete/list/batch helpers in src/tools/general/.

Technology

  • TypeScript / Node.js (ES modules)

  • @modelcontextprotocol/sdk

  • Zod for tool input validation

  • Express + Streamable HTTP for hosted mode


Requirements

  • Use a current LTS version of Node.js.

  • npm (bundled with Node.js).


Installation

npm install
npm run build

If a .env.example file is provided, copy it to .env and adjust the values:

cp .env.example .env

Never commit your .env file or any real credentials.


Running

Hosted HTTP server:

npm run start
# Serves the MCP endpoint at http://localhost:3000/mcp

Local stdio server:

npm run start:local

Opening the HTTP endpoint in a browser without an MCP session returns an error — that is expected.

MCP client configuration

Local stdio (the client spawns the process):

{
  "mcpServers": {
    "red-mcp-server": {
      "command": "node",
      "args": ["build/index.js"],
      "env": {
        "BRC_API_BASE_URL": "https://app.bigredcloud.com/api"
      }
    }
  }
}

Hosted HTTP:

{
  "mcpServers": {
    "red-mcp-server": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

Development and regression testing

Script

Command

Purpose

Build

npm run build

Compile TypeScript to build/

Dev HTTP

npm run dev

Run the HTTP server from source with tsx

Dev stdio

npm run dev:local

Run the stdio server from source with tsx

All tests

npm test

Build, then run the full test suite

Unit tests

npm run test:unit

Unit tests only

Security tests

npm run test:security

Security-focused tests

Config tests

npm run test:config

Deployment/config tests

Integration tests

npm run test:integration

Integration tests

Production audit

npm run audit:prod

npm audit for production dependencies

Tests cover the safety guards described above, including the sales invoice checks, transaction date validation, connection flow wording, and response wording.


Environment variables

Configure the server with environment variables (for example via a .env file). The values below are examples only and must never contain real secrets or be committed.

# Big Red Cloud API base URL
BRC_API_BASE_URL=https://app.bigredcloud.com/api

# HTTP port for hosted mode
PORT=3000

# MCP session lifetime (minutes)
BRC_MCP_SESSION_TTL_MINUTES=60

# Connection lifetime within an MCP session (minutes)
BRC_API_KEY_TTL_MINUTES=60

# Rate limiting (requests per minute per IP)
BRC_RATE_LIMIT_REQUESTS_PER_MINUTE=300

# SHA-256 hashes of blocked API keys, comma separated (hashes only, never raw keys)
BRC_API_KEY_BLACKLIST_SHA256=

Deployment skill flags control which categories of tools are active. When a flag is off, the matching tools return a permission message instead of calling Big Red Cloud:

BRC_ALLOW_READ_SKILLS=true
BRC_ALLOW_UPDATE_SKILLS=true
BRC_ALLOW_DELETE_SKILLS=true
BRC_ALLOW_EMAIL_SKILLS=true
BRC_ALLOW_BATCH_SKILLS=true
# Operator-only diagnostics; keep off for normal deployments
BRC_ALLOW_DEV_MODE=false

You can review the active policy at runtime with the brc_get_deployment_policy tool.


Connecting a company

Customers should connect companies through the secure Red connection page. Credentials and API keys should not be sent through chat.

The flow is:

  1. Ask the assistant to start a company connection. It returns a secure connection page link.

  2. On that page, enter a single company (or upload a CSV for several companies). Credentials are entered on the secure page, not in chat.

  3. Return to the chat and provide the confirmation code shown on the success page.

Connection links are one-time use, and a connection is scoped to the MCP session. To connect more companies later, start a new connection.

Helper tools:

  • List connected companies in the session

  • Clear one company connection

  • Clear all company connections


Tool coverage

Red exposes a focused set of MCP tools, grouped by domain. Exact tool names and their endpoint mappings live in the source code under src/tools/.

For a detailed developer guide to the source layout and MCP tool coverage, see docs/TOOLS.md.

  • Company setup and readiness — company setup configuration, financial year, options, readiness checks, transaction date validation, and getting-started guidance.

  • Customers and suppliers — list/get/create/update/delete plus opening balances and account transactions.

  • Products and sales reps — list/get/create/update/delete and product types.

  • Sales documents — quotes, sales invoices, sales credit notes, and sales entries, including generated-reference variants and generating an invoice from a quote.

  • Purchases and payments — purchases, payments, cash payments, and cash receipts.

  • VAT and analysis lookups — VAT rates, VAT categories, VAT types, analysis categories, accounts, and related reference data.

  • Nominal reports — nominal account listings and grouped/multi-company nominal reporting.

  • Audit and session — session connection management and the session audit log.

  • Under development or deployment-gated — bank account writes and email sending are available only where enabled by tenant configuration and deployment flags; read-only bank lookups are available for payments workflows.

Batch variants exist for the main create workflows and apply the same safety checks as the single-record tools.


Known limitations

  • Some features depend on how the company is configured in Big Red Cloud.

  • Email sending and bank write operations may require additional tenant configuration and may be disabled by deployment flags.

  • Generated-reference behaviour can depend on Big Red Cloud tenant settings, and some generated-document endpoints may apply the tenant's current transaction date.

  • Tool availability may vary by deployment policy.


Maintainers

This project is maintained by the Big Red Cloud software development team.


Status

Red is an open-source MCP integration for Big Red Cloud and is under active development. Tool availability and behaviour may change between releases, and some capabilities are gated by deployment policy.


License

This project is licensed under the Apache License 2.0.


Contributing

Contributions are welcome. Please:

  • Open an issue to discuss significant changes before submitting a pull request.

  • Keep changes focused and include tests where practical (npm test).

  • Avoid introducing credentials, secrets, customer data, or personal data into the repository, tests, or fixtures.


Support and responsible disclosure

If you believe you have found a security issue, please report it to Big Red Cloud's support team.

Available Tools

154 tools
brc_batch_cash_paymentsA

Processes a batch of BRC cash payments. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_cash_receiptsA

Processes a batch of BRC cash receipts. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_customersA

Processes a batch of customers. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +1 more.

brc_batch_paymentsA

Processes a batch of BRC payments. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_productsA

Processes a batch of products. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +1 more.

brc_batch_purchasesA

Processes a batch of purchases. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_quotesA

Processes a batch of quotes. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_sales_credit_notesA

Processes a batch of sales credit notes. Do not invent productId values and do not use productId 0 or 1 as placeholders. productId 0 and 1 are treated as placeholders and are blocked at runtime before the draft preview and before posting. If a product line is needed, first call brc_list_products and use a real product from the connected company. If no suitable product exists, ask the user whether to create/select a product, or use a service/non-product line only if the endpoint supports it. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_sales_entriesA

Processes a batch of sales entries. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_sales_invoicesA

Processes a batch of sales invoices. Batch sales invoices apply the same safety checks as single sales invoices: productId 0/1 placeholder blocking before draft and posting; Sales VAT category validation before draft and posting; Gross Price Entry priceBasis handling; CR analysis category confirmation; and counterparty confirmation covering all listed customers. If the batch includes multiple customers, confirming means confirming all listed customers, not just one. Set confirmCrAnalysisCategory=true at batch level only after the user confirms CR sales analysis account codes are intentional. Per item, the BRC "Note" field (JSON note) defaults to the customer name when omitted (never the product name), and the BRC "Delivery To" address (JSON deliveryTo) is only included when explicitly provided. Do not invent productId values and do not use productId 0 or 1 as placeholders. productId 0 and 1 are treated as placeholders and are blocked at runtime before the draft preview and before posting. If a product line is needed, first call brc_list_products and use a real product from the connected company. If no suitable product exists, ask the user whether to create/select a product, or use a service/non-product line only if the endpoint supports it. Sales invoices must use Sales VAT rates. Purchase/non-Sales VAT rates are blocked before draft and before posting, even if the VAT percentage matches. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_batch_sales_repsA

Processes a batch of sales reps. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +1 more.

brc_batch_suppliersA

Processes a batch of suppliers. Maximum 5 items per batch request. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: items (required), companyName (required), priceBasis, confirmWrite, +1 more.

brc_check_transaction_settingsA

Checks BRC company processing settings before a VAT-sensitive or payment-terms-sensitive transaction workflow. Returns warnings that should be shown before creating or changing records.

Inputs: workflow (required), companyName (required).

brc_clear_all_company_api_keysA

Clears all connection credentials for all company contexts from MCP server memory.

Inputs: no named parameters.

brc_clear_audit_logA

Clear the Red audit log for this MCP server session. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: confirmClear, confirmWrite.

brc_clear_company_api_keyA

Clears the API key for a named company context from MCP server memory.

Inputs: companyName (required).

brc_close_quoteA

Closes a BRC quote. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite.

brc_company_readiness_checkA

Checks whether a connected Big Red Cloud company appears ready for read-only and transaction workflows. Highlights financial-year, VAT and reference-data considerations.

Inputs: companyName (required).

brc_confirm_company_connectionA

Claims a completed secure Red connection code for the current MCP session. Use after the user has submitted the secure connection page and returns to this chat with the confirmation code shown on the success page (for example when the MCP session changed after opening the browser). Never exposes connection credentials.

Inputs: code (required).

brc_create_accrualA

Creates a new parent Accrual. The API accepts only the parent transaction shape and relies on shared logic to generate the reversing child transaction. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed creation.

Inputs: total (required), acCode (required), procDate (required), entryDate (required), +5 more.

brc_create_bank_accountA

Creates a BRC bank account. Do not call this tool with confirmCreate=true until the user has reviewed a plain-English summary and explicitly confirmed creation. Required fields: acCode, details, lastChq, and nominalAcCode. categoryId is optional; BRC may create the Bank Payments category automatically when categoryId is omitted. nominalAcCode must reference an existing balance-sheet bank nominal account created in BRC setup.

Inputs: companyName (required), acCode, address, balance, +14 more.

brc_create_cash_paymentA

Creates a BRC cash payment. Use supplierId + ledger for supplier payments, bankAccountId + lodgement for bank lodgements, or analysisCategoryId + accountCode for analysed expenses. Analysis categories must be from the Cash Payments book (CP01-CP03) and accountCode must match the category. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: note (required), total (required), companyName (required), acCode, +14 more.

brc_create_cash_receiptA

Creates a BRC cash receipt. Accepts either a raw payload object or common flat fields. entryDate/procDate default to today. VAT rate fields are only sent when the company's VAT on Cash Receipt setting is enabled. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: companyName (required), note, total, acCode, +26 more.

brc_create_customerA

Creates a BRC customer using a raw BRC payload. Does not create or update opening balance transactions. If the user provides an opening balance, warn them that it must be entered directly in Big Red Cloud. Before creating, check whether the customer email appears to match the customer name; if it may be a mismatch, warn the user and ask for confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: payload (required), companyName (required), confirmWrite.

brc_create_nominal_journal_batchA

Creates a new Nominal Journal Batch. The journal should contain balanced debit and credit lines. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed creation.

Inputs: total (required), procDate (required), entryDate (required), companyName (required), +3 more.

brc_create_paymentA

Creates a BRC payment from the Payments book. Use supplierId for supplier payments, or analysisCategoryId + accountCode for analysed bank payments. Analysis categories must be from the bank's Payments book (BP01-BP06) and accountCode must match the category. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: note (required), total (required), companyName (required), bankAccountId (required), +13 more.

brc_create_prepaymentA

Creates a new parent Prepayment. The API accepts only the parent transaction shape and relies on shared logic to generate the reversing child transaction. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed creation.

Inputs: total (required), acCode (required), procDate (required), entryDate (required), +5 more.

brc_create_productA

Creates a BRC product using a raw BRC payload. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: payload (required), companyName (required), confirmWrite.

brc_create_purchaseA

Creates a BRC purchase using structured MCP fields. Requires a reference when the company is configured for manual purchase references; otherwise prefer brc_create_purchase_gen_ref. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: note (required), acCode (required), procDate (required), entryDate (required), +12 more.

brc_create_purchase_gen_refA

Creates a Purchases Book purchase with a generated reference using structured fields. Use when the company is configured for auto-generated purchase references. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: note (required), acCode (required), procDate (required), entryDate (required), +11 more.

brc_create_quoteA

Creates a BRC quote using structured MCP fields. Requires a quote reference when quote references are manual or unknown. Do not use when Quotes reference setting is Unknown unless the user has provided a quote reference. Draft previews include a Missing or not provided section for blank customer phone or email only — warnings only, do not invent values. Requires saleRepId and saleRepCode. Do not use default or demo sales rep values. If missing, list sales reps or ask the user to choose one before creating. Requires analysisCategoryId and accountCode from a Sales Analysis category on each product line. Do not default to CR01/Customer or the first listed category. Set confirmCrAnalysisCategory=true only after the user confirms a CR account code is intentional. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: acCode (required), comments (required), procDate (required), quantity (required), +24 more.

brc_create_quote_gen_refA

Creates a BRC quote with a generated reference using structured MCP fields. Use only when quote references are auto-generated in Big Red Cloud, or when the user has confirmed auto-generate after Quotes reference setting was Unknown. Draft previews include a Missing or not provided section for blank customer phone or email only — warnings only, do not invent values. Requires saleRepId and saleRepCode. Do not use default or demo sales rep values. If missing, list sales reps or ask the user to choose one before creating. Requires analysisCategoryId and accountCode from a Sales Analysis category on each product line. Do not default to CR01/Customer or the first listed category. Set confirmCrAnalysisCategory=true only after the user confirms a CR account code is intentional. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: acCode (required), comments (required), procDate (required), quantity (required), +24 more.

brc_create_sales_credit_noteA

Creates a BRC sales credit note using structured MCP fields. Requires a reference when the company is configured for manual sales references; otherwise prefer brc_create_sales_credit_note_gen_ref. Requires saleRepId and saleRepCode. Do not use default or demo sales rep values. If missing, list sales reps or ask the user to choose one before creating. Requires analysisCategoryId and accountCode from a Sales Analysis category on each product line. Do not default to CR01/Customer or the first listed category. Set confirmCrAnalysisCategory=true only after the user confirms a CR account code is intentional. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: note (required), acCode (required), procDate (required), quantity (required), +19 more.

brc_create_sales_credit_note_gen_refA

Creates a BRC sales credit note with an auto-generated reference using a raw BRC payload. Use when the company is configured for auto-generated sales references. Requires saleRepId and saleRepCode. Do not use default or demo sales rep values. If missing, list sales reps or ask the user to choose one before creating. Requires analysisCategoryId and accountCode from a Sales Analysis category on each product line. Do not default to CR01/Customer or the first listed category. Set confirmCrAnalysisCategory=true only after the user confirms a CR account code is intentional. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: payload (required), companyName (required), confirmWrite, confirmCrAnalysisCategory, +1 more.

brc_create_sales_entryA

Creates a BRC sales entry using structured MCP fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: note (required), acCode (required), procDate (required), entryDate (required), +11 more.

brc_create_sales_invoiceA

Creates a BRC sales invoice using structured MCP fields. Requires a reference when the company is configured for manual sales references; otherwise prefer brc_create_sales_invoice_gen_ref. Draft previews include a Missing or not provided section for blank customer phone or email only — warnings only, do not invent values. Optional. BRC "Note" field on the sales document (JSON field note). Leave blank to default it to the customer name (BRC customer "Name" / JSON name). Do not use the product name as the note. Only set this when the user explicitly provides a note. Optional. BRC "Delivery To" address (JSON field deliveryTo). Leave blank unless the user explicitly provides a delivery address. Do not invent or default a delivery address (for example "MCP Test"). Requires saleRepId and saleRepCode. Do not use default or demo sales rep values. If missing, list sales reps or ask the user to choose one before creating. Requires analysisCategoryId and accountCode from a Sales Analysis category on each product line. Do not default to CR01/Customer or the first listed category. Set confirmCrAnalysisCategory=true only after the user confirms a CR account code is intentional. When Gross Price Entry is enabled for sales invoicing, this tool requires priceBasis. Use priceBasis "gross" when unit prices are VAT-inclusive/gross, or priceBasis "net" when unit prices are VAT-exclusive/net. Do not tell the user to disable Gross Price Entry if they have provided priceBasis. Do not invent productId values and do not use productId 0 or 1 as placeholders. productId 0 and 1 are treated as placeholders and are blocked at runtime before the draft preview and before posting. If a product line is needed, first call brc_list_products and use a real product from the connected company. If no suitable product exists, ask the user whether to create/select a product, or use a service/non-product line only if the endpoint supports it. Sales invoices must use Sales VAT rates. Purchase/non-Sales VAT rates are blocked before draft and before posting, even if the VAT percentage matches. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: acCode (required), procDate (required), quantity (required), entryDate (required), +22 more.

brc_create_sales_invoice_gen_refA

Creates a BRC sales invoice with an auto-generated reference using a raw BRC payload. Use when the company is configured for auto-generated sales references. Draft previews include a Missing or not provided section for blank customer phone or email only — warnings only, do not invent values. In the raw payload, the BRC "Note" field (JSON note) defaults to the customer name (BRC customer "Name" / JSON name) when omitted and must never be set to the product name; the BRC "Delivery To" address (JSON deliveryTo) is only included when explicitly provided. Optional. BRC "Note" field on the sales document (JSON field note). Leave blank to default it to the customer name (BRC customer "Name" / JSON name). Do not use the product name as the note. Only set this when the user explicitly provides a note. Optional. BRC "Delivery To" address (JSON field deliveryTo). Leave blank unless the user explicitly provides a delivery address. Do not invent or default a delivery address (for example "MCP Test"). Requires saleRepId and saleRepCode. Do not use default or demo sales rep values. If missing, list sales reps or ask the user to choose one before creating. Requires analysisCategoryId and accountCode from a Sales Analysis category on each product line. Do not default to CR01/Customer or the first listed category. Set confirmCrAnalysisCategory=true only after the user confirms a CR account code is intentional. When Gross Price Entry is enabled for sales invoicing, this tool requires priceBasis. Use priceBasis "gross" when unit prices are VAT-inclusive/gross, or priceBasis "net" when unit prices are VAT-exclusive/net. Do not tell the user to disable Gross Price Entry if they have provided priceBasis. Do not invent productId values and do not use productId 0 or 1 as placeholders. productId 0 and 1 are treated as placeholders and are blocked at runtime before the draft preview and before posting. If a product line is needed, first call brc_list_products and use a real product from the connected company. If no suitable product exists, ask the user whether to create/select a product, or use a service/non-product line only if the endpoint supports it. Sales invoices must use Sales VAT rates. Purchase/non-Sales VAT rates are blocked before draft and before posting, even if the VAT percentage matches. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation. Also requires confirmCounterpartyExplicit: true once the user has explicitly named or confirmed the customer/supplier in the current conversation. Do not reuse a counterparty from an earlier draft without that confirmation.

Inputs: payload (required), companyName (required), priceBasis, confirmWrite, +2 more.

brc_create_sales_repA

Creates a BRC sales rep using structured MCP fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: code (required), name (required), companyName (required), confirmWrite.

brc_create_supplierA

Creates a BRC supplier using a raw BRC payload. Does not create or update opening balance transactions. If the user provides an opening balance, warn them that it must be entered directly in Big Red Cloud. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: payload (required), companyName (required), confirmWrite.

brc_delete_accrualA

Removes an existing parent Accrual by id. Requires the accrual timestamp in Base64 string format. Use brc_get_accrual first to retrieve the current timestamp. Do not call with confirmWrite=true until the user explicitly confirms deletion.

Inputs: id (required), timestamp (required), companyName (required), confirmWrite.

brc_delete_allocation_resolverA

Reverses/deletes a single allocation by allocation resolver id. Use brc_list_allocated_transactions first to find the allocation id. Do not call with confirmWrite=true until the user explicitly confirms the reversal/deletion.

Inputs: id (required), companyName (required), confirmWrite.

brc_delete_bank_accountA

Deletes a BRC bank account by id. Only call this after the user has explicitly confirmed deletion. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_cash_paymentA

Deletes a BRC cash payment by id. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_cash_receiptA

Deletes a BRC cash receipt by id. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_customerA

Deletes a BRC customer by id. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_nominal_journal_batchA

Removes an existing Nominal Journal Batch by id. Requires the batch timestamp in Base64 string format. Use brc_get_nominal_journal_batch first to retrieve the current timestamp. Do not call with confirmWrite=true until the user explicitly confirms deletion.

Inputs: id (required), timestamp (required), companyName (required), confirmWrite.

brc_delete_paymentA

Deletes a BRC payment by id. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_prepaymentA

Removes an existing parent Prepayment by id. Requires the prepayment timestamp in Base64 string format. Use brc_get_prepayment first to retrieve the current timestamp. Do not call with confirmWrite=true until the user explicitly confirms deletion.

Inputs: id (required), timestamp (required), companyName (required), confirmWrite.

brc_delete_productA

Deletes a BRC product by id. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_purchaseA

Deletes a BRC purchase by id using timestamp confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_quoteA

Deletes a BRC quote by id using timestamp confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_sales_credit_noteA

Deletes a BRC sales credit note by id using timestamp confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_sales_entryA

Deletes a BRC sales entry by id using timestamp confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_sales_invoiceA

Deletes a BRC sales invoice by id using timestamp confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_sales_repA

Deletes a BRC sales rep by id using timestamp confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_delete_supplierA

Deletes a BRC supplier by id. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite, confirmDelete.

brc_generate_sales_invoice_from_quoteA

Generates a sales invoice from a BRC quote. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: quoteId (required), companyName (required), procDate, entryDate, +1 more.

brc_get_accrualA

Returns information about a single parent Accrual by id. Child accruals are not exposed by the public API.

Inputs: id (required), companyName (required).

brc_get_bank_accountA

Gets one BRC bank account by id.

Inputs: id (required), companyName (required).

brc_get_cash_paymentB

Gets one BRC cash payment by id.

Inputs: id (required), companyName (required).

brc_get_cash_receiptB

Gets one BRC cash receipt by id.

Inputs: id (required), companyName (required).

brc_get_company_api_key_statusA

Use when the user asks for an API key, secret, or what key was used. Returns connection status only — never the key. The assistant must not repeat keys from chat history.

Inputs: companyName.

brc_get_company_optionsA

Gets raw BRC company processing/options settings, including nominal ledger, VAT on cash receipts, gross price entry, margin VAT, reverse charge VAT, VAT discrepancy tolerance, and ageing options. Read-only in Red; changes must be made in Big Red Cloud.

Inputs: companyName (required).

brc_get_company_processing_settingsA

Reads BRC company processing/options settings that affect VAT, cash receipts, payment terms, debtor statements, gross price entry, and transaction creation behaviour. Use this before VAT-sensitive write workflows where possible. These settings are read-only in Red; changes must be made in Big Red Cloud.

Inputs: companyName (required), includeRaw.

brc_get_company_reference_settingsA

Reads BRC reference auto-generation settings for sales, purchases, quotes, debtors journal, and creditors journal. Use this before preparing or creating quotes, invoices, purchases, or other reference-sensitive records. If Quotes is Unknown, do not assume auto-generate; ask for a quote reference or user confirmation first. These settings are read-only in Red; changes must be made in Big Red Cloud.

Inputs: companyName (required), includeRaw.

brc_get_company_setup_configA

Gets full BRC company setup configuration, including general details, financial year, reference settings, and processing options.

Inputs: companyName (required).

brc_get_customerB

Gets one BRC customer by id.

Inputs: id (required), companyName (required).

brc_get_customer_opening_balanceB

Gets a customer's opening balance.

Inputs: itemId (required), companyName (required).

brc_get_deployment_policyA

Authoritative customer-facing permission and output policy summary for this Red session. Use when the user asks what they can do, what tools they have, what permissions are enabled, or whether technical details/code should be shown. Summarise only whether reading company data, creating/changing records, deleting records, and customer-facing technical output are available. Do not list MCP tool names, endpoint names, tool counts, JSON, schemas, local file paths, terminal commands, environment variables, or a full capability catalogue. Customer-facing answers must be plain-English business responses with evidence, assumptions, uncertainty, and limitations. Internal analysis is allowed, but code/scripts/commands/intermediate files must not be exposed to customer users unless dev mode is enabled.

Inputs: no named parameters.

brc_get_financial_yearC

Gets BRC company financial year.

Inputs: companyName (required).

brc_get_nom_ac_ledger_by_idsA

Gets nominal accounts for specific ids by calling GET /v1/nominalAccounts/{id} for each id.

Inputs: ids (required), companyName (required).

brc_get_nominal_account_ledger_by_idB

Gets one BRC nominal account by id.

Inputs: id (required), companyName (required).

brc_get_nominal_journal_batchA

Returns information about a single Nominal Journal Batch by id.

Inputs: id (required), companyName (required).

brc_get_paymentB

Gets one BRC payment by id.

Inputs: id (required), companyName (required).

brc_get_prepaymentA

Returns information about a single parent Prepayment by id. Child prepayments are not exposed by the public API.

Inputs: id (required), companyName (required).

brc_get_productB

Gets one BRC product by id.

Inputs: id (required), companyName (required).

brc_get_purchaseB

Gets one BRC purchase by id.

Inputs: id (required), companyName (required).

brc_get_quoteB

Gets one BRC quote by id.

Inputs: id (required), companyName (required).

brc_get_sales_credit_noteC

Gets one BRC sales credit note by id.

Inputs: id (required), companyName (required).

brc_get_sales_entryC

Gets one BRC sales entry by id.

Inputs: id (required), companyName (required).

brc_get_sales_invoiceB

Gets one BRC sales invoice by id.

Inputs: id (required), companyName (required).

brc_get_sales_repB

Gets one BRC sales rep by id.

Inputs: id (required), companyName (required).

brc_get_supplierA

Gets one BRC supplier by id.

Inputs: id (required), companyName (required).

brc_get_supplier_opening_balanceC

Gets a supplier's opening balance.

Inputs: itemId (required), companyName (required).

brc_getting_startedA

Use this whenever the user asks how to start, says start, says getting started, or asks for help using Big Red Cloud. Return simple customer-friendly setup steps and example prompts. If the user asks what they can do or what permissions they have, call brc_get_deployment_policy instead and state only current permissions — do not list tool names or counts.

Inputs: no named parameters.

brc_grouped_nominal_accounts_reportB

Creates a grouped nominal accounts report from GET /v1/nominalAccounts, grouping by account group/type fields when available.

Inputs: companyName (required).

brc_list_accountsC

Lists BRC accounts.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_accrualsA

Returns a list of the company's Accruals. Supports optional OData filtering by entryDate. Supports optional ordering by id.

Inputs: companyName (required), top, skip, filter, +1 more.

brc_list_allocated_transactionsA

Returns transactions already allocated from the specified sender book transaction. Use this to review existing allocations before reversing/deleting one. Requires bookTranId.

Inputs: bookTranId (required), companyName (required).

brc_list_allocation_resolversA

Returns transactions eligible for allocation from the specified sender book transaction. Use this before updating allocations so the user can see which receiver transactions are available. Requires bookTranId.

Inputs: bookTranId (required), companyName (required).

brc_list_analysis_categoriesA

Lists BRC analysis categories. For sales invoice and sales credit note product lines, choose a Sales analysis category that matches the income type. Do not default to a CR/customer category such as CR01 Customer — CR categories are customer control categories, not sales categories. If no clearly correct Sales category stands out, ask the user instead of picking the first plausible-looking one.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_audit_logA

Show a record of data changes (create, update, delete, batch, quote close/reopen, emails, etc.) made through this Red MCP server session. Read-only API calls are not logged. Use this as the source of truth for "what did I do today in Red?" style questions. When the user asks what they did "in Red" (or in Big Red Cloud), answer only from Red/BRC activity: the Red/BRC audit log, BRC session actions, and connector-visible BRC activity. Do not include unrelated Claude chat history such as MCP debugging, Mistral debugging, coding work, or other non-BRC conversations unless the user explicitly asks for broader chat history.

Inputs: includeTechnicalDetails.

brc_list_bank_accountsC

Lists BRC bank accounts.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_book_tran_typesC

Lists BRC book transaction types.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_cash_paymentsC

Lists BRC cash payments.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_cash_receiptsC

Lists BRC cash receipts.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_category_typesC

Lists BRC category types.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_company_contextsA

Lists company contexts currently connected in this MCP server session. Present the result to the user with the customerMessage text and the plain company names. Do not show technical fields such as credentialType or expiresAt to normal users unless they specifically ask. Connection credentials are never returned.

Inputs: no named parameters.

brc_list_company_settingsC

Lists BRC company settings.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_customer_account_transC

Gets a customer's account transactions.

Inputs: itemId (required), companyName (required).

brc_list_customer_op_bal_transC

Gets a customer's opening balance transaction list.

Inputs: itemId (required), companyName (required).

brc_list_customer_quotesC

Gets quotes for a specific customer.

Inputs: itemId (required), companyName (required).

brc_list_customersC

Lists BRC customers.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_customers_without_dormantC

Lists BRC customers without dormant records.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_nominal_accountsC

Lists BRC nominal accounts.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_nominal_journal_batchesA

Returns a list of the company's Nominal Journal Batches. Supports optional OData filtering by entryDate and ordering by id. Use this before updating or deleting a nominal journal batch so the user can identify the correct id and timestamp.

Inputs: companyName (required), top, skip, filter, +1 more.

brc_list_owner_type_groupsC

Lists BRC owner type groups.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_owner_typesC

Lists BRC owner types.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_paymentsD

Lists BRC payments.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_prepaymentsA

Returns a list of the company's Prepayments. Supports optional OData filtering by entryDate. Supports optional ordering by id.

Inputs: companyName (required), top, skip, filter, +1 more.

brc_list_productsC

Lists BRC products.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_products_without_dormantB

Lists BRC products without dormant records.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_product_typesD

Lists BRC product types.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_purchasesC

Lists BRC purchases.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_quotesD

Lists BRC quotes.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_salesB

Lists combined BRC sales entries, sales invoices and sales credit notes.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_sales_credit_notesC

Lists BRC sales credit notes.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_sales_entriesC

Lists BRC sales entries.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_sales_invoicesC

Lists BRC sales invoices.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_sales_repsD

Lists BRC sales reps.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_supplier_account_transC

Gets a supplier's account transactions.

Inputs: itemId (required), companyName (required).

brc_list_supplier_op_bal_transB

Gets a supplier's opening balance transaction list.

Inputs: itemId (required), companyName (required).

brc_list_suppliersC

Lists BRC suppliers.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_user_defined_fieldsC

Lists BRC user defined fields.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_vat_analysis_typesC

Lists BRC VAT analysis types.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_vat_categoriesA

Lists BRC VAT categories (for example Sales, Purchases for Resale, Purchases not for Resale). Use this to tell which VAT category a VAT rate belongs to. Sales invoices and sales credit notes must use VAT rates from a Sales VAT category, not a purchase category.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_vat_ratesA

Lists BRC VAT rates. Each rate belongs to a VAT category via vatCategoryId (for example Sales, Purchases for Resale, Purchases not for Resale). For a sales invoice or sales credit note line, use a VAT rate whose vatCategoryId is a Sales VAT category, even if a purchase rate has the same percentage. Cross-reference brc_list_vat_categories to group rates by Sales vs Purchase category before choosing.

Inputs: companyName (required), top, page, skip, +3 more.

brc_list_vat_typesC

Lists BRC VAT types.

Inputs: companyName (required), top, page, skip, +3 more.

brc_multi_company_nom_ac_reportB

Creates a grouped nominal accounts report for multiple companies using GET /v1/nominalAccounts for each company.

Inputs: companyNames (required).

brc_process_vat_category_ratesA

Processes VAT rates for VAT categories via POST /v1/vatCategories/vatRates. Requires a full vatCategoryRates array and confirmProcess=true. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: companyName (required), payload, confirmWrite, effectiveDate, +2 more.

brc_reopen_quoteA

Reopens a BRC quote. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), confirmWrite.

brc_send_email_statementA

Sends a customer statement email. Supported document type only. Red email sending is available for sales invoices, quotes, and customer statements — not for cash receipts, purchases, payments, bank accounts, customers, suppliers, products, reports, or other document types. If the user asks to email an unsupported document type, say Red cannot email it through the current MCP tools, list the supported types, and stop without preparing a draft or attempting a workaround. Do not call this tool with confirmSend=true until the user has reviewed a plain-English email draft and explicitly confirmed they want to send it. The email draft must show the recipient email address clearly before asking for send confirmation. If there is no customer email on file and no recipient override, stop and ask for a recipient email address — do not send. Create/post confirmation and email send confirmation are separate steps. If the user provides multiple recipient addresses, ask whether to send one email using BCC or separate individual emails. Only use sendMode='separate' when the user explicitly chooses separate emails. Do not ask about BCC unless the user provides multiple recipients or asks to copy another address.

Inputs: customerId (required), companyName (required), sendMode, toPeriod, +8 more.

brc_send_quote_emailA

Sends a quote email. Supported document type only. Red email sending is available for sales invoices, quotes, and customer statements — not for cash receipts, purchases, payments, bank accounts, customers, suppliers, products, reports, or other document types. If the user asks to email an unsupported document type, say Red cannot email it through the current MCP tools, list the supported types, and stop without preparing a draft or attempting a workaround. Do not call this tool with confirmSend=true until the user has reviewed a plain-English email draft and explicitly confirmed they want to send it. The email draft must show the recipient email address clearly before asking for send confirmation. If there is no customer email on file and no recipient override, stop and ask for a recipient email address — do not send. Create/post confirmation and email send confirmation are separate steps. If the user provides multiple recipient addresses, ask whether to send one email using BCC or separate individual emails. Only use sendMode='separate' when the user explicitly chooses separate emails. Do not ask about BCC unless the user provides multiple recipients or asks to copy another address.

Inputs: quoteId (required), companyName (required), sendMode, toAddress, +5 more.

brc_send_sales_invoice_emailA

Sends a sales invoice email. Supported document type only. Red email sending is available for sales invoices, quotes, and customer statements — not for cash receipts, purchases, payments, bank accounts, customers, suppliers, products, reports, or other document types. If the user asks to email an unsupported document type, say Red cannot email it through the current MCP tools, list the supported types, and stop without preparing a draft or attempting a workaround. Do not call this tool with confirmSend=true until the user has reviewed a plain-English email draft and explicitly confirmed they want to send it. The email draft must show the recipient email address clearly before asking for send confirmation. If there is no customer email on file and no recipient override, stop and ask for a recipient email address — do not send. Create/post confirmation and email send confirmation are separate steps. If the user provides multiple recipient addresses, ask whether to send one email using BCC or separate individual emails. Only use sendMode='separate' when the user explicitly chooses separate emails. Do not ask about BCC unless the user provides multiple recipients or asks to copy another address.

Inputs: companyName (required), salesInvoiceId (required), sendMode, toAddress, +5 more.

brc_start_company_connectionA

Starts the secure Red company connection flow. Use whenever the user wants to connect one or more companies. Returns a one-time connection page URL (no time expiry, but each link works only once). On that page the user can enter a single company or upload a CSV for multiple companies — never in chat. After completing the secure page, the user should return to this chat and provide (copy/paste) the confirmation code shown on the success page. To connect more companies later, start a new connection. Do not ask the user to type credentials into chat.

Inputs: no named parameters.

brc_update_accrualA

Updates an existing parent Accrual by id. Use brc_get_accrual first to retrieve the current accrual and timestamp. Child accruals are not exposed by the public API. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed the update.

Inputs: id (required), total (required), acCode (required), procDate (required), +7 more.

brc_update_allocationsA

Creates or updates allocations for a sender book transaction. Use brc_list_allocation_resolvers first to identify eligible receiver transactions. Do not call with confirmWrite=true until the user has reviewed the allocation draft and explicitly confirmed posting. Required fields: bookTranId and allocationResolvers with allocated amounts and receiver book transaction ids.

Inputs: bookTranId (required), companyName (required), allocationResolvers (required), confirmWrite.

brc_update_bank_accountA

Updates a BRC bank account using merged fields. Before calling this tool, show the user a plain-English summary of the changes and ask for explicit confirmation. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), payload, updates, +1 more.

brc_update_cash_paymentA

Updates a BRC cash payment using merged fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), payload, updates, +1 more.

brc_update_cash_receiptA

Updates a BRC cash receipt using merged fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), payload, updates, +1 more.

brc_update_customerA

Updates a BRC customer using merged fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), payload, updates, +1 more.

brc_update_nominal_journal_batchA

Updates an existing Nominal Journal Batch by id. Use brc_get_nominal_journal_batch first to retrieve the current batch, including timestamp and account transaction line timestamps. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed the update.

Inputs: id (required), total (required), procDate (required), entryDate (required), +5 more.

brc_update_paymentA

Updates a BRC payment using merged fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), payload, updates, +1 more.

brc_update_prepaymentA

Updates an existing parent Prepayment by id. Use brc_get_prepayment first to retrieve the current prepayment and timestamp. Child prepayments are not exposed by the public API. Do not call with confirmWrite=true until the user has reviewed the draft and explicitly confirmed the update.

Inputs: id (required), total (required), acCode (required), procDate (required), +7 more.

brc_update_productA

Updates a BRC product using merged fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), payload, updates, +1 more.

brc_update_purchaseB

Updates a BRC purchase using structured MCP fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), note, acCode, +11 more.

brc_update_quoteA

Updates a BRC quote using structured safe text/reference fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), note, reference, +1 more.

brc_update_sales_credit_noteA

Updates a BRC sales credit note using structured safe text/reference fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), note, reference, +1 more.

brc_update_sales_entryA

Updates a BRC sales entry using structured safe text/reference fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), note, reference, +1 more.

brc_update_sales_invoiceA

Updates a BRC sales invoice using structured safe text/reference fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), note, reference, +1 more.

brc_update_sales_repA

Updates a BRC sales rep using structured MCP fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), code, name, +1 more.

brc_update_supplierA

Updates a BRC supplier using merged fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.

Inputs: id (required), companyName (required), payload, updates, +1 more.

brc_validate_transaction_dateA

Checks whether a proposed transaction date is inside the connected BRC company's current financial year.

Inputs: companyName (required), transactionDate (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 154 tools

    Disambiguation4/5

    Most tools target distinct entity-action pairs, but a few pairs (e.g., brc_create_sales_invoice vs brc_create_sales_invoice_gen_ref) could cause confusion without careful reading. Overall well differentiated.

    Naming Consistency5/5

    All tools follow a strict brc_action_entity pattern in snake_case, with consistent singular/plural for create vs list. Very predictable.

    Tool Count2/5

    154 tools is far beyond typical tool counts, making it difficult for agents to navigate and select the right tool efficiently. Despite covering many operations, the sheer number suggests scope creep.

    Completeness4/5

    The tool set covers a wide range of accounting entities and operations including CRUD, batch, email, and settings. Minor omissions like report generation or user management exist but do not severely hamper core workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to query and manage QuickBooks Online data through natural language, including customers, invoices, bills, vendors, accounts, and financial reports.
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI assistants with direct access to HLedger accounting data and functionality, enabling natural language queries for balances, reports, journal entries, and financial analysis.
      43 npm
      65
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to read and write Cynco accounting data, including querying books, creating invoices, reconciling transactions, and generating financial reports.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI assistants to QuickBooks Online, enabling management of invoices, customers, expenses, and reports through natural language.
      MIT