KikoBooks MCP Server

KikoBooks MCP Server

A Model Context Protocol server for KikoBooks enterprise bookkeeping software that enables AI assistants to perform accounting operations on accounts, customers, invoices, bills, and more through natural language.

Category
访问服务器

README

KikoBooks MCP Server

A Model Context Protocol (MCP) server for KikoBooks — enterprise AI-agentic bookkeeping software. This server enables AI assistants like Claude, GitHub Copilot, and OpenAI-powered agents to interact with your KikoBooks accounting data through natural language.

Features

  • Chart of Accounts — Search, get, create, and update GL accounts
  • Customers — Full CRUD with soft delete for customer management
  • Invoices — Search, create, and manage AR invoices
  • Items — Manage products and services
  • Vendors — Full CRUD with soft delete for vendor management
  • Bills — Full CRUD with void for AP bills
  • Journal Entries — Search, create, post, and reverse GL journal entries
  • Bill Payments — Search, create, and void AP payments
  • Purchases / Expenses — Full CRUD with delete for expense transactions
  • Customer Payments — Search, create, and manage AR payments
  • Credit Memos — Search, create, and manage AR credit memos
  • Sales Receipts — Search, create, and manage sales receipts

Prerequisites

  • Node.js 18 or higher
  • A KikoBooks account with API access
  • An API key from your KikoBooks organization settings

Setup

  1. Install dependencies:
npm install
  1. Create a .env file (copy from .env.example):
KIKOBOOKS_BASE_URL=https://mcp.kikobooks.com
KIKOBOOKS_API_KEY=your_api_key_here
  1. Build:
npm run build

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "kikobooks": {
      "command": "npx",
      "args": ["-y", "@kikobooks/kikobooks-mcp-server@latest"],
      "env": {
        "KIKOBOOKS_BASE_URL": "https://mcp.kikobooks.com",
        "KIKOBOOKS_API_KEY": "your_api_key_here"
      }
    }
  }
}

VS Code (GitHub Copilot)

Add to .vscode/mcp.json in your project:

{
  "servers": {
    "kikobooks": {
      "command": "npx",
      "args": ["-y", "@kikobooks/kikobooks-mcp-server@latest"],
      "env": {
        "KIKOBOOKS_BASE_URL": "https://mcp.kikobooks.com",
        "KIKOBOOKS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Local Development

For local development, point to the built output:

{
  "servers": {
    "kikobooks": {
      "command": "node",
      "args": ["C:/Apps/kikobooks-mcp-server/dist/index.js"],
      "env": {
        "KIKOBOOKS_BASE_URL": "https://mcp.kikobooks.com",
        "KIKOBOOKS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tools (50 total)

Chart of Accounts

Tool Description
search_accounts Search accounts with filtering by category, type, and text
get_account Get full account details by ID
create_account Create a new GL account
update_account Update an existing account

Customers

Tool Description
search_customers Search customers with text search and pagination
get_customer Get full customer details by ID
create_customer Create a new customer
update_customer Update an existing customer
delete_customer Soft delete (deactivate) a customer

Invoices

Tool Description
search_invoices Search invoices with status, customer, date, and overdue filters
get_invoice Get full invoice details including line items and payments
create_invoice Create a new invoice with line items
update_invoice Update an existing invoice

Items (Products/Services)

Tool Description
search_items Search products and services
get_item Get item details including pricing
create_item Create a new product or service
update_item Update an existing item

Vendors

Tool Description
search_vendors Search vendors with text search
get_vendor Get full vendor details
create_vendor Create a new vendor
update_vendor Update an existing vendor
delete_vendor Soft delete (deactivate) a vendor

Bills (Accounts Payable)

Tool Description
search_bills Search bills with status, vendor, date, and overdue filters
get_bill Get full bill details including line items
create_bill Create a new bill
update_bill Update an existing bill
void_bill Void a posted bill (reverses accounting impact)

Journal Entries

Tool Description
search_journal_entries Search entries with date, source, and posted filters
get_journal_entry Get full entry with debit/credit lines
create_journal_entry Create a manual journal entry (debits must equal credits)
post_journal_entry Post a draft journal entry to the ledger
reverse_journal_entry Reverse a posted journal entry

Bill Payments (Accounts Payable)

Tool Description
search_bill_payments Search bill payments with vendor.and date filters
get_bill_payment Get full bill payment details
create_bill_payment Create a new bill payment
void_bill_payment Void a bill payment (reverses accounting impact)

Purchases / Expenses

Tool Description
search_purchases Search expense transactions with filters
get_purchase Get full expense/purchase details
create_purchase Create a new expense/purchase
update_purchase Update an existing expense/purchase
delete_purchase Delete an expense/purchase

Customer Payments (AR)

Tool Description
search_payments Search AR payments with customer and date filters
get_payment Get full payment details
create_payment Record a customer payment

Credit Memos (AR)

Tool Description
search_credit_memos Search credit memos with filters
get_credit_memo Get full credit memo details
create_credit_memo Create a new credit memo

Sales Receipts

Tool Description
search_sales_receipts Search sales receipts with filters
get_sales_receipt Get full sales receipt details
create_sales_receipt Create a new sales receipt

Authentication

The server supports two authentication methods:

API Key (Recommended)

Set KIKOBOOKS_API_KEY — the server automatically exchanges it for JWT tokens and handles refresh.

Direct Token

Set KIKOBOOKS_ACCESS_TOKEN (and optionally KIKOBOOKS_REFRESH_TOKEN) if you manage tokens externally.

Environment Variables

Variable Required Description
KIKOBOOKS_BASE_URL Yes KikoBooks API base URL
KIKOBOOKS_API_KEY Yes* API key for authentication
KIKOBOOKS_ACCESS_TOKEN Alt* Direct JWT access token
KIKOBOOKS_REFRESH_TOKEN No JWT refresh token
KIKOBOOKS_ENVIRONMENT No sandbox or production

* Either KIKOBOOKS_API_KEY or KIKOBOOKS_ACCESS_TOKEN is required.

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run watch

# Lint
npm run lint

Architecture

src/
├── index.ts                 # Entry point — registers all 50 tools
├── clients/
│   └── kikobooks-client.ts  # HTTP client with JWT auth (get/post/put/delete)
├── server/
│   └── kikobooks-mcp-server.ts  # MCP server singleton
├── tools/                   # Tool definitions (schema + handler glue)
│   ├── search-accounts.tool.ts
│   ├── create-invoice.tool.ts
│   ├── delete-customer.tool.ts
│   └── ... (50 files)
├── handlers/                # Business logic (calls API client)
│   ├── search-kikobooks-accounts.handler.ts
│   ├── create-kikobooks-invoice.handler.ts
│   ├── delete-kikobooks-customer.handler.ts
│   └── ... (50 files)
├── helpers/                 # Utilities
│   ├── register-tool.ts
│   └── format-error.ts
└── types/                   # TypeScript types
    ├── tool-definition.ts
    └── tool-response.ts

Roadmap

See ROADMAP.md for the full implementation plan:

  • Phase 1 ✅ Core Bookkeeping (50 tools across 12 entities)
  • Phase 2 Banking & Reconciliation
  • Phase 3 Reports & Analytics
  • Phase 4 Advanced Features

License

MIT — see LICENSE

Links

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选