Skip to main content
Glama
mcp-bigcapital

mcp-bigcapital

by Reomar

mcp-bigcapital

Unofficial API wrapper. This is an independent MCP integration and is not affiliated with, endorsed by, or supported by Bigcapital.

Testing disclaimer. This package needs broader testing before it should be relied on for production accounting workflows. It was developed and tested against Bigcapital v0.25.20.

Standalone stdio MCP server for Bigcapital. Its internal SDK and official OpenAPI spec are included under packages/sdk-ts so a fresh clone can install and build without the Bigcapital monorepo.

Environment

Required:

  • BIGCAPITAL_BASE_URL

  • BIGCAPITAL_API_KEY

Optional:

  • BIGCAPITAL_ORGANIZATION_ID

  • BIGCAPITAL_TOOL_PROFILE (agency by default, or full)

BIGCAPITAL_BASE_URL should be the Bigcapital app origin, for example http://localhost:3000. Do not append /api.

The server sends:

  • Authorization: Bearer <BIGCAPITAL_API_KEY>

  • organization-id: <BIGCAPITAL_ORGANIZATION_ID> when configured

Related MCP server: bokio-mcp

Tool Profiles

The default agency profile exposes a focused set of day-to-day tools for customers, vendors, service items, invoices, payments, sale receipts, bills, expenses, manual journals, core financial reports, and attachments. This keeps the MCP tool catalog smaller for AI clients.

Set BIGCAPITAL_TOOL_PROFILE=full to expose every implemented tool, including administration, inventory, banking, configuration, destructive actions, and specialized workflows.

Build And Run

From the repository root:

nvm use 18.16.1
pnpm install
pnpm typecheck
pnpm build

Run locally:

BIGCAPITAL_BASE_URL=http://localhost:3000 \
BIGCAPITAL_API_KEY=bc_your_api_key_here \
node dist/index.js

Install From npm

npm install -g @reomar/mcp-bigcapital

AI Agent Installation Prompt

Copy this prompt into an AI coding agent that can manage MCP servers:

Install and configure the Bigcapital MCP server from npm for this workspace.

1. Install the package globally: npm install -g @reomar/mcp-bigcapital
2. Add an MCP server named "bigcapital" that runs the command: mcp-bigcapital
3. Configure these environment variables without printing their values:
   - BIGCAPITAL_BASE_URL: the Bigcapital application origin, without /api
   - BIGCAPITAL_API_KEY: my Bigcapital API key
   - BIGCAPITAL_ORGANIZATION_ID: my organization ID, if required
   - BIGCAPITAL_TOOL_PROFILE: agency
4. Verify that the server starts and can list its tools.
5. Do not expose, commit, or log API keys.

Use the agency profile unless I explicitly ask for the full Bigcapital API toolset.

Tool Coverage

Current tool categories:

  • Organization and configuration: organization, branches, currencies, tax rates, PDF templates, payment services, settings, views, date formats, dashboard boot metadata

  • Core records: customers, vendors, items, accounts, invoices, bills, expenses

  • Accounting workflows: sale estimates, sale receipts, payments received, bill payments, credit notes, vendor credits, manual journals

  • Inventory: warehouses, warehouse transfers, inventory adjustments, inventory cost, item categories

  • Reports: profit/loss, balance sheet, trial balance, cashflow, general ledger, journal, item sales/purchases, customer/vendor balance summaries, aging, inventory, sales tax, transaction reports

  • Banking and attachments: banking read/categorization tools, attachment upload/delete/presigned URL

  • Admin reads: users, roles, API keys, subscriptions, exchange rates

Detailed coverage inventory is generated in docs/api-coverage.md.

Safety

Destructive tools require confirm: true. This includes delete and bulk-delete operations, plus other irreversible mutations such as deleting attachments or payment methods.

MCP Configuration

Hermes/Codex-style YAML:

mcp_servers:
  bigcapital:
    command: "node"
    args: ["/absolute/path/to/mcp-bigcapital/dist/index.js"]
    env:
      BIGCAPITAL_BASE_URL: "https://your-bigcapital.example.com"
      BIGCAPITAL_API_KEY: "bc_..."
      BIGCAPITAL_ORGANIZATION_ID: "..."

JSON-style config:

{
  "mcpServers": {
    "bigcapital": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-bigcapital/dist/index.js"],
      "env": {
        "BIGCAPITAL_BASE_URL": "https://your-bigcapital.example.com",
        "BIGCAPITAL_API_KEY": "bc_...",
        "BIGCAPITAL_ORGANIZATION_ID": "..."
      }
    }
  }
}

Notes

  • The MCP package prefers existing helpers from @bigcapital/sdk-ts; raw HTTP is only used for a few gaps where the OpenAPI path exists but the SDK helper was not yet present.

  • Create/update bodies are intentionally permissive on many tools and pass through to the SDK to stay aligned with the evolving OpenAPI schema.

  • The server exits early with a clear configuration error when required env vars are missing. That no-env failure mode is intentional for smoke testing.

Available Tools

57 tools
close_sale_receiptC

Close a sale receipt.

Inputs: id (required).

create_billC

Create a vendor bill in Bigcapital.

Inputs: entries (required), billDate (required), vendorId (required), note, +13 more.

create_bill_paymentC

Create a bill payment.

Inputs: body (required).

create_customerC

Create a customer.

Inputs: body (required).

create_expenseC

Create an expense in Bigcapital. Assumption: categories follows the generated SDK string[] type.

Inputs: payeeId (required), branchId (required), categories (required), description (required), +7 more.

create_invoiceC

Create a sale invoice in Bigcapital.

Inputs: dueDate (required), entries (required), customerId (required), invoiceDate (required), +17 more.

create_itemC

Create an item.

Inputs: body (required).

create_manual_journalD

Create a manual journal.

Inputs: body (required).

create_payment_receivedC

Create a payment received record.

Inputs: body (required).

create_sale_receiptC

Create a sale receipt.

Inputs: body (required).

create_vendorC

Create a vendor.

Inputs: body (required).

get_accountB

Get an account by ID.

Inputs: id (required).

get_attachment_presigned_urlA

Get a presigned URL for an attachment by attachment ID.

Inputs: id (required).

get_balance_sheetC

Get the Bigcapital balance sheet report.

Inputs: basis, toDate, fromDate, noneZero, +6 more.

get_billB

Get a bill by ID.

Inputs: id (required).

get_bill_paymentB

Get a bill payment by ID.

Inputs: id (required).

get_cashflow_statementC

Get the cashflow statement report.

Inputs: basis, toDate, fromDate, noneZero, +4 more.

get_customerA

Get a customer by ID.

Inputs: id (required).

get_expenseA

Get an expense by ID.

Inputs: id (required).

get_general_ledgerC

Get the general ledger report.

Inputs: basis, toDate, fromDate, noneZero, +4 more.

get_invoiceA

Get a sale invoice by ID.

Inputs: id (required).

get_itemB

Get an item by ID.

Inputs: id (required).

get_manual_journalA

Get a manual journal by ID.

Inputs: id (required).

get_payable_aging_summaryC

Get the payable aging summary report.

Inputs: basis, toDate, fromDate, noneZero, +4 more.

get_payment_receivedA

Get a payment received by ID.

Inputs: id (required).

get_profit_lossC

Get the Bigcapital profit and loss report.

Inputs: basis, toDate, fromDate, noneZero, +6 more.

get_receivable_aging_summaryC

Get the receivable aging summary report.

Inputs: basis, toDate, fromDate, noneZero, +4 more.

get_sale_receiptB

Get a sale receipt by ID.

Inputs: id (required).

get_transactions_by_customersC

Get the transactions by customers report.

Inputs: basis, toDate, fromDate, noneZero, +4 more.

get_trial_balanceC

Get the Bigcapital trial balance report.

Inputs: basis, toDate, fromDate, noneZero, +5 more.

get_vendorA

Get a vendor by ID.

Inputs: id (required).

list_accountsC

List chart-of-account records using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_bill_paymentsB

List bill payments.

Inputs: no named parameters.

list_billsC

List vendor bills using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_customersC

List customers using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_due_billsC

List due bills.

Inputs: no named parameters.

list_expensesC

List expenses using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_invoicesC

List sale invoices using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_itemsC

List items using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_manual_journalsC

List manual journals using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_payments_receivedA

List payments received.

Inputs: no named parameters.

list_sale_receiptsC

List sale receipts using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

list_vendorsC

List vendors using Bigcapital list filters.

Inputs: sortBy, viewSlug, sortOrder, searchTerm, +2 more.

open_billD

Open a bill.

Inputs: id (required).

publish_expenseD

Publish an expense.

Inputs: id (required).

publish_manual_journalC

Publish a manual journal.

Inputs: id (required).

update_billC

Update a bill.

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

update_bill_paymentD

Update a bill payment.

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

update_customerD

Update a customer.

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

update_expenseC

Update an expense.

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

update_invoiceC

Update a sale invoice.

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

update_itemD

Update an item.

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

update_manual_journalD

Update a manual journal.

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

update_payment_receivedC

Update a payment received record.

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

update_sale_receiptC

Update a sale receipt.

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

update_vendorC

Update a vendor.

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

upload_attachmentC

Upload an attachment from a local file path.

Inputs: filePath (required), fileName, mimeType.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.6/5.0

    Scored across 57 tools

    Disambiguation4/5

    Tools are generally named around distinct Bigcapital resources (vendor, customer, bill, invoice, expense, journal, receipt, payment, report), so an agent can usually tell them apart. The main ambiguities are between payments received and bill payments, and among status-changing actions like open_bill, publish_expense, and close_sale_receipt, but the descriptions are clear enough to resolve those.

    Naming Consistency5/5

    Tool names consistently follow a lower_snake verb_noun pattern: list_*, get_*, create_*, update_* across resources, with a few expected domain verbs like open, publish, and close. Even compound resources like get_attachment_presigned_url still follow a predictable action-first structure.

    Tool Count1/5

    With 57 tools, this is an extreme tool surface that will be costly for an agent to navigate and likely to cause misselection. Although the accounting domain is broad, this many operations should be split into focused server modules rather than exposed as one flat set.

    Completeness3/5

    The toolset covers a wide range of accounting lifecycles: customers, vendors, items, invoices, bills, expenses, receipts, payments, journals, attachments, and key financial reports. However, delete operations are almost entirely absent, and accounts are read-only (list/get but no create/update), leaving some workflows without full lifecycle support.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Bridges to a simple_invoicing FastAPI backend, exposing invoice, product, ledger, inventory, buyer, and payment management as MCP tools for use with MCP-compatible clients.
      15
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables MCP clients to read and write Bokio accounting data for one company through 85 tools covering invoices, customers, suppliers, journal entries, chart of accounts, fiscal years, items, tags, uploads, SIE export, and bank payments.
      40
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables managing invoices, estimates, customers, and dashboard/account data in a self-hosted invoicing system through 23 MCP tools, while automatically handling undocumented required API fields on writes.
      23
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP-capable clients to read and write directly in epago accounting, including chart of accounts, transactions, invoices, payments, receipts, and tax reports.
      MIT