BOS MCP Server
MCP server enables AI assistants to interact with BOS ERP System via REST API, providing 69 tools for business operations such as health checks, product management, orders, customers, inventory, and more.
README
BOS MCP Server
MCP (Model Context Protocol) server cho phép AI assistants (Claude, Cursor, Trae) tương tác trực tiếp với BOS ERP System qua REST API.
Tính năng
- 69 tools cho business operations
- TypeScript + Node.js 18+
- Token bucket rate limiting (60 RPM)
- Exponential backoff retry
- Stdio & HTTP transport
- JSON-RPC 2.0
Cài đặt
npm install
npm run build
Environment Variables
| Variable | Default | Mô tả |
|---|---|---|
BOS_API_URL |
https://bos.ai.vn |
BOS domain root (NO /api suffix) |
BOS_API_TOKEN |
`` | Bearer token cho auth (optional) |
MCP_API_KEY |
`` | API key cho MCP M2M auth (required) |
BOS_API_TIMEOUT |
30000 |
Request timeout (ms) |
Chạy
# Stdio mode (default - cho Claude Code)
npm start
# HTTP mode (cho web deployments)
npm run http
Claude Code Integration
{
"mcpServers": {
"bos": {
"command": "node",
"args": ["/path/to/bos-mcp/dist/index.js"],
"env": {
"BOS_API_URL": "https://bos.ai.vn/api"
}
}
}
}
Docker
FROM node:18-alpine
WORKDIR /app
COPY package.json dist/
RUN npm install
CMD ["node", "dist/http.js"]
Tools Categories (69 total)
Health & Management (18 tools)
boscli_health_*- System health checksboscli_module_*- Module CRUDboscli_route_*- Route listingboscli_cache_*- Cache managementboscli_system_*- System info, logs, git, deploy
Products (6 tools)
bos_product_list,bos_product_show,bos_product_searchbos_product_create,bos_product_update,bos_product_delete
Orders (6 tools)
bos_order_list,bos_order_show,bos_order_createbos_order_update_status,bos_order_cancel,bos_order_count_by_status
Cart (7 tools)
bos_cart_get,bos_cart_add_item,bos_cart_update_itembos_cart_remove_item,bos_cart_clearbos_cart_apply_voucher,bos_cart_remove_voucher
Customers (5 tools)
bos_customer_list,bos_customer_show,bos_customer_createbos_customer_update,bos_customer_orders
Inventory (4 tools)
bos_inventory_list,bos_inventory_check,bos_inventory_updatebos_inventory_low_stock
Vouchers (4 tools)
bos_voucher_list,bos_voucher_validate,bos_voucher_createbos_customer_vouchers
Loyalty (5 tools)
bos_loyalty_points_balance,bos_loyalty_points_historybos_loyalty_earn,bos_loyalty_redeem,bos_loyalty_tiers
Stores (3 tools)
bos_store_list,bos_store_show,bos_store_nearby
Checkout & Payment (4 tools)
bos_checkout_calculate,bos_checkout_createbos_payment_methods,bos_payment_verify
Promotions (3 tools)
bos_promotion_list,bos_promotion_show,bos_promotion_apply
Home & Engagement (4 tools)
bos_home,bos_bannersbos_notifications,bos_notification_mark_read
License
MIT
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.