Siigo MCP Server

Siigo MCP Server

Enables integration with Colombian accounting software Siigo through its API. Supports managing products, customers, invoices, purchases, credit notes, vouchers, payment receipts, journals, and generating financial reports.

Category
访问服务器

README

Siigo MCP Server

A Model Context Protocol (MCP) server that provides integration with the Siigo API, enabling access to Colombian accounting software features including products, customers, invoices, purchases, credit notes, vouchers, payment receipts, and journals.

Features

This MCP server provides access to all major Siigo API endpoints:

Core Resources

  • Products: Create, read, update, and delete products/services
  • Customers: Manage customer/supplier information
  • Invoices: Handle sales invoices with electronic invoicing support
  • Purchases: Manage purchase invoices and expenses
  • Credit Notes: Create and manage credit notes
  • Vouchers: Handle cash receipts (recibos de caja)
  • Payment Receipts: Manage payment receipts/disbursements
  • Journals: Handle accounting journal entries

Catalogs

  • Document types, taxes, payment types
  • Cost centers, users, warehouses
  • Price lists, account groups, cities
  • ID types, fiscal responsibilities

Reports

  • Trial balance reports
  • Trial balance by third party
  • Accounts payable reports

Installation

  1. Clone this repository:
git clone <repository-url>
cd siigo-mcp
  1. Install dependencies:
npm install
  1. Build the TypeScript code:
npm run build
  1. Set up environment variables by copying the example file:
cp .env.example .env
  1. Edit .env with your Siigo credentials:
SIIGO_USERNAME=your_siigo_username
SIIGO_ACCESS_KEY=your_siigo_access_key
SIIGO_BASE_URL=https://api.siigo.com
SIIGO_PARTNER_ID=your_app_name

Configuration

Required Environment Variables

  • SIIGO_USERNAME: Your Siigo API username
  • SIIGO_ACCESS_KEY: Your Siigo API access key

Optional Environment Variables

  • SIIGO_BASE_URL: API base URL (defaults to https://api.siigo.com)
  • SIIGO_PARTNER_ID: Partner ID for API identification (defaults to siigo-mcp-server)

Getting Siigo API Credentials

  1. Sign up for a Siigo account at siigo.com
  2. Access the API section in your Siigo dashboard
  3. Generate your API credentials (username and access key)
  4. For testing, you can use the sandbox environment

Usage

Running the Server

Start the MCP server:

npm start

For development with auto-reload:

npm run dev

Available Tools

The server provides 40+ tools for interacting with the Siigo API. Here are some examples:

Products

  • siigo_get_products - List all products
  • siigo_get_product - Get a specific product by ID
  • siigo_create_product - Create a new product
  • siigo_update_product - Update an existing product
  • siigo_delete_product - Delete a product

Customers

  • siigo_get_customers - List all customers
  • siigo_get_customer - Get a specific customer by ID
  • siigo_create_customer - Create a new customer
  • siigo_update_customer - Update an existing customer

Invoices

  • siigo_get_invoices - List all invoices
  • siigo_get_invoice - Get a specific invoice by ID
  • siigo_create_invoice - Create a new invoice
  • siigo_update_invoice - Update an existing invoice
  • siigo_delete_invoice - Delete an invoice
  • siigo_get_invoice_pdf - Get invoice PDF
  • siigo_send_invoice_email - Send invoice by email

Catalogs

  • siigo_get_document_types - Get document types
  • siigo_get_taxes - Get tax information
  • siigo_get_payment_types - Get payment methods
  • siigo_get_cost_centers - Get cost centers
  • siigo_get_users - Get system users

Reports

  • siigo_get_trial_balance - Generate trial balance report
  • siigo_get_accounts_payable - Get accounts payable report

Example Usage

Creating a Product

{
  "name": "siigo_create_product",
  "arguments": {
    "product": {
      "code": "PROD001",
      "name": "Test Product",
      "account_group": 1253,
      "type": "Product",
      "active": true,
      "description": "A test product"
    }
  }
}

Creating a Customer

{
  "name": "siigo_create_customer",
  "arguments": {
    "customer": {
      "person_type": "Person",
      "id_type": "13",
      "identification": "12345678",
      "name": ["John", "Doe"],
      "address": {
        "address": "123 Main St",
        "city": {
          "country_code": "Co",
          "state_code": "11",
          "city_code": "11001"
        }
      },
      "phones": [{"number": "1234567890"}],
      "contacts": [{
        "first_name": "John",
        "last_name": "Doe",
        "email": "john@example.com"
      }]
    }
  }
}

API Rate Limits

Siigo API has the following rate limits:

  • Production: 100 requests per minute per company
  • Sandbox: 10 requests per minute

Error Handling

The server handles various Siigo API errors and returns structured error responses. Common error scenarios include:

  • Authentication failures
  • Invalid parameters
  • Rate limit exceeded
  • Resource not found
  • Validation errors

Development

Project Structure

siigo-mcp/
├── src/
│   ├── index.ts          # Main MCP server implementation
│   ├── siigo-client.ts   # Siigo API client
│   └── types.ts          # TypeScript type definitions
├── package.json
├── tsconfig.json
├── .env.example
└── README.md

Building

npm run build

Testing

npm test

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License

Support

For issues related to:

  • Siigo API: Contact Siigo support at soporteapi@siigo.com
  • This MCP server: Create an issue in this repository

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

官方
精选