ezbookkeeping-mcp-server

ezbookkeeping-mcp-server

MCP server for the ezBookkeeping HTTP API, enabling read and write access to transactions, accounts, categories, tags, templates, analytics, and exchange rates via natural language.

Category
Visit Server

README

ezBookkeeping MCP Server

An independent Model Context Protocol (MCP) server for the ezBookkeeping HTTP API. It supports stdio and Streamable HTTP transports.

MCP tools

Domain Tools Minimum profile
System get_server_info read
Transactions search_transactions, get_transaction read
Transactions create_transaction, patch_transaction standard
Batch preview_transaction_batch, apply_transaction_batch standard
Delete delete_transaction standard
Accounts list_accounts read
Accounts manage_account extended (admin for deletion)
Categories list_categories read
Categories manage_category extended
Tags list_tag_groups, list_tags read
Tags manage_tag_group, manage_tag extended
Templates list_templates read
Templates manage_template extended
Analytics get_financial_summary, get_financial_trends, get_reconciliation_statement read
Exchange rates get_exchange_rates read
Exchange rates manage_custom_exchange_rate extended

File import/export, picture upload, user authentication management, and clear-all operations are intentionally excluded.

Requirements

  • Node.js 20 or later
  • An ezBookkeeping instance with API tokens enabled
  • An ezBookkeeping API token

Read, write, batch, and delete flows have been verified against the official ezBookkeeping v1.6.1 Docker image.

Setup

cp .env.example .env
npm ci
npm run build
EZBK_BASE_URL=http://127.0.0.1:8080
EZBK_API_TOKEN=replace-with-api-token
EZBK_TIMEZONE=Asia/Tokyo

MCP_TRANSPORT=stdio
MCP_WRITE_PROFILE=read
MCP_CONFIRMATION_SECRET=

Profiles above read require an MCP_CONFIRMATION_SECRET of at least 32 characters.

Write profiles

Profile Permissions
read Read and analytics only
standard Create, update, delete, and batch-update transactions
extended standard plus master data, templates, and custom exchange rates
admin extended plus account deletion

Start with read and enable only the permissions you need.

Running

stdio

set -a
. ./.env
set +a
npm start

Example MCP client configuration:

{
  "mcpServers": {
    "ezbookkeeping": {
      "command": "node",
      "args": ["/absolute/path/to/ezbookkeeping-mcp/dist/index.js"],
      "env": {
        "EZBK_BASE_URL": "http://127.0.0.1:8080",
        "EZBK_API_TOKEN": "...",
        "EZBK_TIMEZONE": "Asia/Tokyo",
        "MCP_WRITE_PROFILE": "read"
      }
    }
  }
}

Streamable HTTP

MCP_TRANSPORT=http \
MCP_HTTP_HOST=0.0.0.0 \
MCP_HTTP_ALLOWED_HOSTS=finance.example.com \
MCP_HTTP_BEARER_TOKEN="$(openssl rand -hex 32)" \
MCP_HTTP_PORT=3000 npm start
  • MCP endpoint: http://HOST:3000/mcp
  • Health check: http://HOST:3000/healthz

Non-loopback bindings require a bearer token, or an authenticated reverse proxy with MCP_HTTP_ALLOW_UNAUTHENTICATED=true. Do not expose the endpoint directly to the internet.

Docker Compose

cp .env.example .env
docker compose up --build -d
curl http://127.0.0.1:3000/healthz

Verification

npm run ci

Read-only smoke test against a real ezBookkeeping instance:

EZBK_BASE_URL=https://example.invalid \
EZBK_API_TOKEN=... \
npm run test:real

Safety

patch_transaction requires an expected_revision from a recent read. Batch updates and deletions revalidate the confirmation_token issued during Preview before Apply.

The ezBookkeeping API does not provide conditional writes, so revision validation and the upstream write are not fully atomic. Avoid updating the same transaction concurrently from the Web UI or another client. See SECURITY.md for HTTP exposure, secrets, and audit-log guidance.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured