← Back to directory
K

Kingdee K3Cloud MCP Server

Community
Query and operate Kingdee K3Cloud ERP through MCP using natural language.
Category
Other #246 of 678
Stars
★ 113 Very popular
Transport
stdio (local process) · SSE · Streamable HTTP
Runtime
Python 3.10+
Credentials
API key / credential required
License
Apache-2.0
Last commit
Tools
15
54FMRS · D

A general-purpose MCP integration for Kingdee K3Cloud with querying, metadata discovery, large-data exports, and bill write operations. It supports multiple transports and read-only mode; actual data access and operations depend on the configured integration user's Kingdee permissions.

Strongest · Documentation 14/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
10/20
Maintenance
9/20
Documentation
14/20
Setup experience
13/20
Why each score
Reliability 8/20
The README describes 15 tools, startup credential checks, typed validation, multiple transports, and some export limits and permission-error behavior. It provides no reviewable CI workflow or test contents, so the initialization handshake, tool list, and actual behavior cannot be verified statically; edge-case and dependency-control evidence is also missing, so the static-calibration cap applies.
Security and permissions 10/20
The documentation says credentials are supplied through environment variables, recommends a dedicated least-privilege integration user, and describes read-only mode and an optional bearer token for remote transports. It also says data access depends on the Kingdee-side account and read-only mode still permits export-file creation. Write tools include audit and delete, with no documented secondary confirmation for dangerous actions; permission and side-effect controls are therefore incomplete, though no stated red line is evidenced.
Maintenance 9/20
The repository information identifies an Apache-2.0 license, a PyPI installation path, an unarchived status, and two open issues. There is no evidence about commit or release history, dependency updates, issue response, or a security contact, so maintenance continuity is uncertain.
Documentation 14/20
The README provides Chinese and English entry points, installation and client configuration examples, environment variables, a tool overview, export constraints, permission explanations, and some troubleshooting guidance. Tool parameters, pagination and safety-limit details, cost and performance boundaries, and version or dependency maintenance guidance are limited; implementation source files for verification are not provided.
Setup experience 13/20
The documentation gives pip and uvx installation options, five required configuration values, and client examples for Claude, Cursor, and others. The steps are fairly clear, but obtaining and configuring Kingdee credentials is a prerequisite, and there is no reviewable cross-platform compatibility or actual CI/test execution evidence.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessWrites / deletes local filesUses the networkChanges third-party account data

Best for

  • Teams connecting Kingdee K3Cloud ERP to MCP-capable AI assistants.
  • Workloads requiring large queries, pagination, date-range searches, or file exports.
  • Kingdee deployments using custom fields or form metadata.
  • Deployments that want to disable write operations with read-only mode.

Not for

  • Use cases that do not involve Kingdee K3Cloud ERP.
  • Use cases requiring different ERP identities for different callers; the server uses one configured integration user.
  • Environments without Kingdee third-party system authorization or the required form permissions.

Required permissions

  • Requires the Kingdee server URL, account ID, integration username, application ID, and application secret.
  • The integration user's Kingdee feature, data, and field permissions determine accessible data and available operations.
  • File exports require a writable export directory on the host running the server; an isolated system temporary directory is used if no fixed directory is configured.
  • Bearer Token authentication can be enabled with MCP_API_KEY for SSE or streamable HTTP; this connection authentication does not apply to stdio.

Risks and side effects

  • Read-write mode includes bill creation, submission, auditing, unauditing, deletion, and custom operations; grant only the needed integration-user permissions or use read-only mode to disable write tools.
  • Insufficient data permissions may cause errors or silently filter results, producing fewer rows or an empty result.
  • Exports write files on the server host. Export files are not removed when the service exits, and temporary directories may be cleaned by the system.
  • All tool calls share the configured integration-user identity; callers cannot switch users.

Setup

Before you start

Runtime:Python 3.10+

KD_SERVER_URL required Kingdee K3Cloud server URL, usually ending in /k3cloud/; get it from your ERP administrator or deployment configuration.
KD_ACCT_ID required Account set ID; available in the information shown for a generated Kingdee test link.
KD_USERNAME required Integration user account; create it in Kingdee and grant the needed permissions.
KD_APP_ID required Third-party login authorization app ID; request and configure it in the Kingdee admin console.
KD_APP_SEC requiredsecret Third-party login authorization app secret; view or reset it in the Kingdee app details.
MCP_API_KEY optionalsecret Optional Bearer Token authentication key for SSE or streamable-http; set your own value.
Other optional settings (8)
KD_LCID optional Language code; defaults to 2052 for Chinese.
KD_ORG_NUM optional Optional organization code; obtain it from your Kingdee organization configuration as needed.
KD_EXPORT_DIR optional Optional export directory; the deployer must create it as a writable absolute path.
KD_STARTUP_CHECK optional Whether to validate credentials at startup; enabled by default, set to 0 to disable.
KD_STARTUP_CHECK_TIMEOUT optional Credential startup check timeout in seconds; defaults to 5.
FASTMCP_HOST optional SSE service bind address configuration; the example uses 0.0.0.0.
FASTMCP_PORT optional SSE service port configuration; the example uses 8080.
MCP_MODE optional Run mode configuration; set to readonly to disable ERP write tools.

Install Python 3.10+ and use pip install kingdee-k3cloud-mcp or run it with uvx kingdee-k3cloud-mcp. Obtain third-party system login authorization from Kingdee K3Cloud, then set KD_SERVER_URL, KD_ACCT_ID, KD_USERNAME, KD_APP_ID, and KD_APP_SEC in the MCP client configuration; KD_LCID is optional. Save the configuration and restart the client. Add --mode readonly to disable write tools.

claude_desktop_config.json
{"mcpServers":{"kingdee-k3cloud":{"command":"uvx","args":["kingdee-k3cloud-mcp"],"env":{"KD_SERVER_URL":"https://your-server/k3cloud/","KD_ACCT_ID":"your_acct_id","KD_USERNAME":"your_username","KD_APP_ID":"your_app_id","KD_APP_SEC":"your_app_secret","KD_LCID":"2052"}}}}

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-k3cloud": {
      "command": "uvx",
      "args": [
        "kingdee-k3cloud-mcp"
      ],
      "env": {
        "KD_SERVER_URL": "https://your-server/k3cloud/",
        "KD_ACCT_ID": "your_acct_id",
        "KD_USERNAME": "your_username",
        "KD_APP_ID": "your_app_id",
        "KD_APP_SEC": "your_app_secret",
        "KD_LCID": "2052"
      }
    }
  }
}

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

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

[mcp_servers.kingdee-k3cloud.env]
KD_SERVER_URL = "https://your-server/k3cloud/"
KD_ACCT_ID = "your_acct_id"
KD_USERNAME = "your_username"
KD_APP_ID = "your_app_id"
KD_APP_SEC = "your_app_secret"
KD_LCID = "2052"

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

Terminal
claude mcp add kingdee-k3cloud -e KD_SERVER_URL=https://your-server/k3cloud/ -e KD_ACCT_ID=your_acct_id -e KD_USERNAME=your_username -e KD_APP_ID=your_app_id -e KD_APP_SEC=your_app_secret -e KD_LCID=2052 -- uvx kingdee-k3cloud-mcp

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

Check that it works

Confirm the Kingdee K3Cloud tools appear in your MCP client's tool list. Call query_metadata for a form's field structure or ask a natural-language bill query to verify the connection.

Troubleshooting

  1. Check that all five required settings are present, KD_SERVER_URL ends in /k3cloud/, and the application authorization and integration user are configured.
  2. The server checks credentials at startup; for authentication errors, verify the Kingdee third-party system authorization, application ID and secret, account ID, and username.
  3. For HTTP 500 errors, check the integration user's feature permissions for the relevant form and operation.
  4. If a query succeeds but returns unexpectedly few or no rows, run the same conditions in the Kingdee web interface as the same integration user and check for data-rule filtering.
  5. The export directory must exist, be an absolute path, and be writable. Export arguments accept only a filename; choose a different filename if one already exists.

Things to try

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

  • Show last week's approved sales orders, sorted by amount.
  • How much inventory of this material is available in each warehouse?
  • Export all sales outbound bills from March to CSV.

Tools 15

query_bill read-only
Query bill data and return it as a two-dimensional array.
query_bill_json read-only
Query bill data and return JSON with field names as keys.
count_bill read-only
Estimate the number of rows matching a query.
query_bill_all read-only
Automatically paginate and combine results until complete or a safety limit is reached.
query_bill_to_file writes
Automatically paginate and stream query results to a local NDJSON or CSV file.
query_bill_range writes
Query a date range in month, week, or day segments, with pagination and optional file output.
view_bill read-only
View the full details of a single record.
query_metadata read-only
Retrieve form field structure and metadata.
Show 7 more tools
save_bill writes
Save or create a bill.
submit_bill writes
Submit a bill.
audit_bill writes
Audit a bill.
unaudit_bill writes
Unaudit a bill.
delete_bill destructive
Delete a bill.
execute_operation writes
Run a custom operation, such as disabling or enabling a record.
push_bill writes
Push a bill into another bill type, such as a sales order into a delivery notice.

Use cases

Query materials, customers, inventory, and bills using natural language.
Automatically paginate or segment large ERP queries by date and export results as NDJSON or CSV.
Discover custom form field metadata before querying bills.
Create, submit, audit, unaudit, delete, or push bills when the configured account has the required permissions.
Deploy a remotely shared service over SSE or streamable HTTP.

Supported clients

Claude Desktop
Claude Code
Cursor
Windsurf
Cline
Continue
Cherry Studio
OpenClawPartial support

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

Overview

Kingdee K3Cloud MCP Server wraps the Kingdee K3Cloud Web API as MCP tools for ERP queries and operations from MCP-capable AI assistants. It provides generic form queries, metadata discovery, pagination and date-range querying, as well as bill creation, submission, auditing, unauditing, deletion, custom operations, and push-down. It supports stdio, SSE, and streamable HTTP transports.

Similar servers

Source revision 74c3001dbf94 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/kingdee-k3cloud-mcp.svg)](https://followmcp.com/en/servers/kingdee-k3cloud-mcp)