mcp-bigcapital

mcp-bigcapital

Enables interaction with Bigcapital accounting through MCP, providing tools for customers, vendors, invoices, payments, reports, and more via an unofficial API wrapper.

Category
访问服务器

README

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

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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选