loading…
Search for a command to run...
loading…
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 managem
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.
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.
npm install
npm run build
| 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) |
# Stdio mode (default - cho Claude Code)
npm start
# HTTP mode (cho web deployments)
npm run http
{
"mcpServers": {
"bos": {
"command": "node",
"args": ["/path/to/bos-mcp/dist/index.js"],
"env": {
"BOS_API_URL": "https://bos.ai.vn/api"
}
}
}
}
FROM node:18-alpine
WORKDIR /app
COPY package.json dist/
RUN npm install
CMD ["node", "dist/http.js"]
boscli_health_* - System health checksboscli_module_* - Module CRUDboscli_route_* - Route listingboscli_cache_* - Cache managementboscli_system_* - System info, logs, git, deploybos_product_list, bos_product_show, bos_product_searchbos_product_create, bos_product_update, bos_product_deletebos_order_list, bos_order_show, bos_order_createbos_order_update_status, bos_order_cancel, bos_order_count_by_statusbos_cart_get, bos_cart_add_item, bos_cart_update_itembos_cart_remove_item, bos_cart_clearbos_cart_apply_voucher, bos_cart_remove_voucherbos_customer_list, bos_customer_show, bos_customer_createbos_customer_update, bos_customer_ordersbos_inventory_list, bos_inventory_check, bos_inventory_updatebos_inventory_low_stockbos_voucher_list, bos_voucher_validate, bos_voucher_createbos_customer_vouchersbos_loyalty_points_balance, bos_loyalty_points_historybos_loyalty_earn, bos_loyalty_redeem, bos_loyalty_tiersbos_store_list, bos_store_show, bos_store_nearbybos_checkout_calculate, bos_checkout_createbos_payment_methods, bos_payment_verifybos_promotion_list, bos_promotion_show, bos_promotion_applybos_home, bos_bannersbos_notifications, bos_notification_mark_readMIT
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"bos-mcp-server": {
"command": "npx",
"args": []
}
}
}