← Back to directory
K

Kingdee K3Cloud ERP MCP Server

Community
Query and operate Kingdee K3Cloud ERP with natural language.
Category
Other #438 of 678
Stars
★ 157 Very popular
Transport
stdio (local process) · SSE · Streamable HTTP
Runtime
Python
Credentials
API key / credential required
License
MIT
Last commit
Tools
68
48FMRS · D

A third-party open-source MCP server for Kingdee K3Cloud ERP with 101 tools for queries, bill writes, metadata, attachments, and optional SQL Server inspection. It suits teams connecting to a Kingdee instance with real-user permissions; account access should be limited and credentials protected.

Strongest · Documentation 13/20 Weakest · Security and permissions 7/20

Reliability
8/20
Security and permissions
7/20
Maintenance
8/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 8/20
The materials describe a FastMCP stdio server with 101 tools, automatic retries, and re-login after session expiry. They provide no verifiable CI, committed tests, or execution evidence for the MCP initialization and tool-list handshake. The README also reports that uvx can sometimes omit the mcp dependency, reducing confidence in clean startup.
Security and permissions 7/20
The README recommends a dedicated account with only needed permissions, marks the password variable secret, and discloses password-based login and optional direct SQL Server access. The tools include create, audit, unaudit, and delete operations, but the materials do not establish confirmation safeguards for dangerous actions, access boundaries, or data-flow controls, so permission and side-effect protections are insufficiently evidenced.
Maintenance 8/20
The repository is not archived, uses an MIT license, provides a PyPI package and version, and invites contributions. The supplied material gives no commit or release history, issue-response evidence, dependency-update policy, or security reporting channel. Stars do not increase this score.
Documentation 13/20
The README covers installation, client configuration, authentication migration, tool categories, business examples, optional database configuration, and some troubleshooting. It discloses the third-party status and attachment limits, but most tools lack complete parameter, permission-boundary, cost, or risk details, and the README itself reports a uvx dependency issue.
Setup experience 12/20
The materials provide pip and uvx installation steps, a client configuration example for Claude Desktop and others, four required variables, and Docker and remote-transport instructions. The main path is clear, but users must prepare and authorize a Kingdee account, uvx may encounter a dependency issue, and SQL Server discovery requires extra configuration and a driver. With no file-level execution evidence, the static calibration caps this score below 16.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkChanges third-party account dataConnects to a database

Best for

  • Organizations that need to query or operate Kingdee K3Cloud ERP through an MCP-compatible AI assistant.
  • Implementation, development, and business teams with access to a K3Cloud instance and an authorized integration account.

Not for

  • Users without a Kingdee K3Cloud instance or valid account.
  • Deployments requiring official Kingdee support, maintenance, or endorsement.
  • Read-only environments where write operations cannot be restricted or reviewed.

Required permissions

  • Requires a Kingdee server URL, account-set ID, username, and password; the server logs in through ValidateUser as that user.
  • Grant the account only the required module permissions; tool calls can perform reads and writes permitted to that account.
  • Optional SQL Server inspection tools require additional MCP_SQLSERVER_* connection settings.

Risks and side effects

  • This is a third-party open-source project, not an official Kingdee product or authorized service.
  • Tools include writes such as creating, modifying, submitting, auditing, unauditing, and deleting bills; the configured account's business permissions determine the possible changes.
  • Kingdee login credentials must be configured for the MCP server; protect the password and limit the account's permissions.
  • The SQL Server inspection connection can access database structure; the source recommends using a read-only database account.
  • Attachment tools transfer Base64 content; a successful upload does not automatically submit or audit the bill.

Setup

Before you start

Runtime:Python

KINGDEE_SERVER_URL required Kingdee Cloud base URL, which must end in /k3cloud/; obtain it from your Kingdee deployment.
KINGDEE_ACCT_ID required Kingdee account set (data center) ID; obtain it from your Kingdee administrator.
KINGDEE_USERNAME required Kingdee username for ValidateUser login; obtain it from your Kingdee administrator.
KINGDEE_PASSWORD requiredsecret Kingdee password for ValidateUser login; obtain it from the account holder or administrator.
MCP_SQLSERVER_PASSWORD optionalsecret Optional SQL Server password; obtain it from your database administrator.
Other optional settings (8)
KINGDEE_ATTACHMENT_TIMEOUT optional Optional attachment transfer read/write timeout in seconds; defaults to 120.
MCP_SQLSERVER_HOST optional Optional SQL Server host; obtain it from your database administrator.
MCP_SQLSERVER_PORT optional Optional SQL Server port, default 1433; obtain it from your database administrator.
MCP_SQLSERVER_DATABASE optional Optional SQL Server database name; obtain it from your database administrator.
MCP_SQLSERVER_USER optional Optional SQL Server username; a read-only account is recommended and can be obtained from your database administrator.
KINGDEE_MCP_TRANSPORT optional Optional transport mode: stdio, sse, or streamable-http.
KINGDEE_MCP_HOST optional Optional host address for the HTTP server to listen on.
KINGDEE_MCP_PORT optional Optional port for the HTTP server to listen on.

Install with pip install kingdee-mcp, or launch with uvx kingdee-mcp. In the MCP client configuration, set KINGDEE_SERVER_URL (ending in /k3cloud/), KINGDEE_ACCT_ID, KINGDEE_USERNAME, and KINGDEE_PASSWORD, then restart the client. The default transport is stdio. For remote deployment, configure SSE or Streamable HTTP; Kingdee credentials are still required.

claude_desktop_config.json
{
  "mcpServers": {
    "kingdee": {
      "command": "uvx",
      "args": ["kingdee-mcp"],
      "env": {
        "KINGDEE_SERVER_URL": "http://your-server/k3cloud/",
        "KINGDEE_ACCT_ID": "your-account-set-id",
        "KINGDEE_USERNAME": "your-username",
        "KINGDEE_PASSWORD": "your-password"
      }
    }
  }
}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "kingdee": {
      "command": "uvx",
      "args": [
        "kingdee-mcp"
      ],
      "env": {
        "KINGDEE_SERVER_URL": "http://your-server/k3cloud/",
        "KINGDEE_ACCT_ID": "your-account-set-id",
        "KINGDEE_USERNAME": "your-username",
        "KINGDEE_PASSWORD": "your-password"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.kingdee]
command = "uvx"
args = ["kingdee-mcp"]

[mcp_servers.kingdee.env]
KINGDEE_SERVER_URL = "http://your-server/k3cloud/"
KINGDEE_ACCT_ID = "your-account-set-id"
KINGDEE_USERNAME = "your-username"
KINGDEE_PASSWORD = "your-password"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add kingdee -e KINGDEE_SERVER_URL=http://your-server/k3cloud/ -e KINGDEE_ACCT_ID=your-account-set-id -e KINGDEE_USERNAME=your-username -e KINGDEE_PASSWORD=your-password -- uvx kingdee-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After installation and configuration, confirm the Kingdee MCP tools appear in your client's tool list. Query the 20 most recent approved purchase orders and check that Kingdee data is returned.

Troubleshooting

  1. For authentication failures, check the username, password, and the account's permissions for the relevant modules.
  2. For connection timeouts, check that KINGDEE_SERVER_URL is reachable and includes the /k3cloud/ suffix.
  3. If uvx reports that mcp.server.fastmcp is missing, follow the project guidance to clear the uv cache and retry, or install with pip and launch as a Python module.
  4. Before using SQL Server inspection tools, check the MCP_SQLSERVER_* settings and install the required Microsoft ODBC driver.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show the 20 most recent approved purchase orders.
  • Check current inventory for material MAT001.
  • Create a purchase order for supplier S001 with 100 units of MAT001 at 10.5 each.
  • Approve purchase receipt 12345.

Tools 68

kingdee_save_bill writes
Create or modify a bill.
kingdee_submit_bills writes
Submit bills.
kingdee_audit_bills writes
Audit bills.
kingdee_unaudit_bills writes
Unaudit bills.
kingdee_delete_bills destructive
Delete bills.
kingdee_validate_bill read-only
Validate a bill.
kingdee_push_bill writes
Push a bill to a downstream document.
kingdee_close_bill writes
Close a bill.
Show 60 more tools
kingdee_query_production_orders read-only
Query production orders.
kingdee_save_production_order writes
Create or modify a production order.
kingdee_query_mrp_result read-only
Query MRP results.
kingdee_push_production_pick writes
Push a production picking document.
kingdee_query_material_cost read-only
Query material costs.
kingdee_query_cost_calculation read-only
Query cost calculation results.
kingdee_save_cost_adjustment writes
Create or modify a cost adjustment.
kingdee_query_finished_product_cost read-only
Query finished-product costs.
kingdee_query_fixed_asset read-only
Query fixed assets.
kingdee_save_asset writes
Create or modify an asset.
kingdee_query_asset_depreciation read-only
Query asset depreciation.
kingdee_query_inventory read-only
Query current inventory.
kingdee_query_stock_bills read-only
Query stock-in and stock-out bills.
kingdee_push_stock_transfer writes
Push a stock transfer.
kingdee_query_transfer_direct read-only
Query direct transfer bills.
kingdee_query_outsource_orders read-only
Query outsourced processing orders, including work in progress, overdue analysis, and expected return dates.
kingdee_query_operation_logs read-only
Query operation logs.
kingdee_query_audit_log read-only
Query audit logs.
kingdee_query_change_log read-only
Query change logs.
kingdee_query_permission_changes read-only
Query permission changes.
kingdee_create_and_audit writes
Create and audit a bill.
kingdee_push_and_audit writes
Push and audit a bill.
kingdee_query_purchase_orders read-only
Query purchase orders.
kingdee_query_purchase_requisitions read-only
Query purchase requisitions.
kingdee_query_purchase_inquiry read-only
Query purchase inquiries.
kingdee_query_purchase_order_progress read-only
Query purchase order progress.
kingdee_query_supplier_quotes read-only
Query supplier quotations.
kingdee_query_sale_orders read-only
Query sales orders.
kingdee_query_sale_quotations read-only
Query sales quotations.
kingdee_query_sales_outstock read-only
Query sales outbound bills.
kingdee_query_delivery_notice read-only
Query delivery notices.
kingdee_query_pending_approvals read-only
Query pending approvals.
kingdee_workflow_approve writes
Perform a workflow approval.
kingdee_query_approval_flow read-only
Query approval flows.
kingdee_query_materials read-only
Query material records.
kingdee_query_partners read-only
Query customer or supplier records.
kingdee_query_user read-only
Query user information.
kingdee_query_role read-only
Query role information.
kingdee_query_permission read-only
Query permission information.
kingdee_get_fields read-only
Get a form's field list.
kingdee_list_forms read-only
Search available forms.
kingdee_get_bill_template read-only
Get a bill template.
kingdee_discover_tables read-only
Search SQL Server table names by keyword.
kingdee_discover_columns read-only
Search SQL Server field names and their tables by keyword.
kingdee_describe_table read-only
View a SQL Server table's structure.
kingdee_discover_metadata_candidates read-only
Find candidate database tables for a form_id.
kingdee_query_system_config read-only
Query system configuration.
kingdee_query_quality_inspections read-only
Query quality inspection information.
kingdee_query_expense_reimburse read-only
Query expense reimbursement information.
kingdee_query_number_rule read-only
Query bill numbering rules.
kingdee_query_loan_balance read-only
Query loan balances.
kingdee_query_data_backup read-only
Query data backup information.
kingdee_usage_stats read-only
View tool usage statistics.
kingdee_usage_report read-only
View a tool usage report.
kingdee_query_report read-only
Query financial reports, such as account balance and aging analysis reports.
kingdee_upload_attachment writes
Upload Base64 attachment content and bind it to an existing bill header or entry.
kingdee_download_attachment read-only
Download an attachment in chunks by FileId and return Base64 content.
kingdee_query_receipts read-only
Query receipts, including received amounts, settlement methods, and write-off amounts.
kingdee_query_bills read-only
Query bills by form_id.
kingdee_view_bill read-only
View a bill's full details.

Use cases

Use natural language to query audited purchase orders, sales orders, and current inventory.
Create, submit, audit, unaudit, or push ERP bills.
Query financial reports, receipts, assets, production, and cost data.
Inspect form fields and bill templates, or explore SQL Server table structures after configuring a connection.
Upload or download bill attachments.

Supported clients

Claude Desktop
Cursor
Windsurf
Cline
Continue
Claude Code
OpenClaw

Listed from the project's documentation, not tested by this site.

Overview

Kingdee K3Cloud ERP MCP Server is a third-party open-source server that lets MCP-compatible AI assistants call the Kingdee Cloud Star WebAPI using natural language. It covers 17 business domains, including procurement, sales, inventory, finance, production, and attachments, with 101 tools. It provides read queries as well as write operations such as creating, submitting, auditing, unauditing, deleting, and pushing bills. It is not an official Kingdee product.

Similar servers

Source revision ff66f02cd879 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/kingdeemcp.svg)](https://followmcp.com/en/servers/kingdeemcp)