kingdee-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kingdee-mcp Show me all sales orders created this month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kingdee-mcp
一个用于查询 Kingdee-ierp(金蝶云苍穹) 的 MCP 服务,基于 uvx 打包。
功能
查询销售订单
查询生产工单
查询 SO-MO 关联关系
查询交付风险
查询物料短缺
导出 SO-MO Excel 报表
Related MCP server: sap-mcp
环境变量
在启动服务之前,请先设置以下环境变量:
$env:KINGDEE_BASE_URL = "https://your-host/ierp/kapi"
$env:KINGDEE_CLIENT_ID = "your-client-id"
$env:KINGDEE_CLIENT_SECRET = "your-client-secret"
$env:KINGDEE_USERNAME = "your-username"
$env:KINGDEE_ACCOUNT_ID = "your-account-id"
$env:KINGDEE_LANGUAGE = "zh_CN"必填变量:
KINGDEE_BASE_URLKINGDEE_CLIENT_IDKINGDEE_CLIENT_SECRETKINGDEE_USERNAMEKINGDEE_ACCOUNT_ID
第一步
1.第三方应用——新增 2.获取CLIENT_ID,CLIENT_SECRET,ACCOUNT_ID
第二步
pip install kingdee-mcp-ierp第三步
设置配置
Trae MCP 配置
你也可以直接复制 .mcp.json.example,然后填入你自己的配置值。
{
"mcpServers": {
"kingdee": {
"command": "uvx",
"args": ["kingdee-mcp-ierp"],
"env": {
"KINGDEE_BASE_URL": "https://your-host/ierp/kapi",
"KINGDEE_CLIENT_ID": "your-client-id",
"KINGDEE_CLIENT_SECRET": "your-client-secret",
"KINGDEE_USERNAME": "your-username",
"KINGDEE_ACCOUNT_ID": "your-account-id",
"KINGDEE_LANGUAGE": "zh_CN"
}
}
}
}Available Tools
6 toolsexport_so_mo_reportC
导出完整的 SO-MO 关联报告为 Excel 文件。
Inputs: end_date (required), start_date (required). Returns: result
query_delivery_riskC
查询存在交货风险的工单。
Inputs: end_date (required), start_date (required). Returns: result
query_material_shortageC
查询欠料/瓶颈物料汇总。
Inputs: end_date (required), start_date (required), top_n. Returns: result
query_mft_ordersC
查询金蝶云苍穹生产工单列表。
Inputs: end_date (required), start_date (required). Returns: result
query_sale_ordersC
查询金蝶云苍穹销售订单列表。
Inputs: end_date (required), start_date (required). Returns: result
query_so_mo_relationB
查询销售订单与生产工单的关联关系,包含完工状态、交货风险和领料情况。
Inputs: end_date (required), start_date (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct aspect: sales orders, production orders, their relation, material shortages, delivery risks, and a report export. No overlapping purposes.
Five tools use the consistent 'query_' prefix with noun phrases, but 'export_so_mo_report' deviates with 'export_' instead of 'query_', introducing minor inconsistency.
Six tools is well-scoped for a domain focused on querying and reporting in a manufacturing/sales context. Each tool serves a clear purpose without excess.
The set covers key query and reporting needs: orders, relations, risks, shortages, and an export. Missing CRUD operations, but for a read-only/reporting server, this is appropriate.
Maintenance
Related MCP Connectors
MCP server for Flex on the Job: inventory, jobs, customers, invoices, purchasing, sales orders.
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
MCP server for real-time China A-share stock quotes, indices and market data.
MCP server for MarketTime — wholesale orders, customers, catalog and shipment tracking.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for Kingdee K3Cloud ERP that enables AI assistants to query and operate ERP data via natural language through the Model Context Protocol.15409 PyPI104Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP server for SAP S/4HANA via the ADT API, enabling querying and reading SAP systems with production write protection.14 npmMIT
- FlicenseNot gradedqualityBmaintenanceMCP server that enables AI platforms to search products, customers, and warehouses, and prepare and submit sales orders to a fixed ERP endpoint with per-session bearer authentication.-
- AlicenseBqualityDmaintenanceMCP server for Kingdee Cloud (K3Cloud) ERP that enables AI assistants to query and operate ERP data through natural language, supporting bills, metadata, and read/write operations.82Apache 2.0