KingdeeMCP logo

KingdeeMCP

Connects AI assistants to Kingdee Cloud Star ERP for natural-language queries, record operations, workflow actions, metadata discovery, and reporting.

Install KingdeeMCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kingdeemcp": {
      "command": "uvx",
      "args": [
        "kingdee-mcp"
      ],
      "env": {
        "KINGDEE_SERVER_URL": "YOUR_VALUE_HERE",
        "KINGDEE_ACCT_ID": "YOUR_VALUE_HERE",
        "KINGDEE_USERNAME": "YOUR_VALUE_HERE",
        "KINGDEE_PASSWORD": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 101 tools correctly (10d ago).

Overview

KingdeeMCP connects AI assistants to Kingdee Cloud Star ERP through its WebAPI and exposes 101 tools for querying and changing ERP data. It supports stdio for local clients plus SSE and Streamable HTTP for remote deployments, with account-password authentication through Kingdee's ValidateUser flow. Reach for it when developers or ERP users need to inspect, create, submit, approve, transfer, or report on business records without manually navigating the ERP interface. The project is third-party software and is not affiliated with or authorized by Kingdee.

Use cases

  • Query approved purchase orders and inventory levels
  • Create, submit, approve, or push ERP bills
  • Inspect Kingdee forms, fields, and metadata
  • Review workflows, audit logs, and permission changes
  • Retrieve financial reports and receipt information

Key features

  • 101 tools across 17 Kingdee ERP business areas
  • Kingdee WebAPI authentication with ValidateUser
  • stdio, SSE, and Streamable HTTP transports
  • Dynamic metadata lookup with local caching
  • SQL Server schema and metadata exploration
  • Async requests with session re-login and retries

Tools101

What KingdeeMCP lets your agent do. Expand a tool for its parameters.

Verified live~31.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

6/6 checks healthy over the last 11d

What it can do

From the 101 tools this server returned when we ran it; 101 declare their own safety hints.

Can delete or modify data · 3Makes network requests · 8Read-only tools · 98
Network at startup2 connections
Files written at startup10

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · kingdee-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars137Stargazers on the source repository.
Last commit13d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed101Callable tools this server registers over MCP.

How KingdeeMCP works

What KingdeeMCP does

KingdeeMCP exposes Kingdee Cloud Star ERP operations through the Model Context Protocol. AI assistants can use natural-language requests to query or mutate ERP records while the server translates tool calls into Kingdee WebAPI requests.

The tool set covers 17 business areas and 101 tools. Supported areas include purchasing, sales, inventory, production, cost accounting, fixed assets, outsourcing, finance, receipts, approvals, audit logs, permissions, reports, attachments, and general bill processing. Developers can also inspect forms and fields, retrieve bill templates, validate bills, refresh cached metadata, and explore selected SQL Server structures.

Typical requests include finding approved purchase orders, creating a sales order, checking inventory, submitting or auditing bills, reviewing pending approvals, and retrieving financial reports. Nine example business scenarios are included for common query, creation, approval, and bill-push workflows.

How it works

The default transport is stdio, where a local MCP client starts the package as a subprocess. Remote deployments can use SSE at /sse or Streamable HTTP at /mcp; the process can listen on a specified host and port. Docker deployments default to Streamable HTTP on port 8000, while a container can also be run in stdio mode.

Authentication uses Kingdee's account-password ValidateUser login rather than an application ID and secret. The logged-in account's ERP permissions and WebAPI data permissions therefore govern operations. The server uses asynchronous requests, retries failed connections, and can log in again when a session expires. Pydantic validation supplies structured tool parameters.

Setup and configuration

Install the package with pip install kingdee-mcp, or run it directly with uvx kingdee-mcp. Configure the required KINGDEE_SERVER_URL, KINGDEE_ACCT_ID, KINGDEE_USERNAME, and KINGDEE_PASSWORD variables. The server URL must include /k3cloud/.

A local client configuration launches uvx with kingdee-mcp as its argument and passes these variables in the process environment. Command-line options or KINGDEE_MCP_TRANSPORT, KINGDEE_MCP_HOST, and KINGDEE_MCP_PORT select the transport and listener settings.

Docker images are available from ghcr.io/wahailong/kingdeemcp. A .env file can provide credentials, and the --check option performs a one-time Kingdee login without starting the service. SQL Server exploration requires additional database settings and the Microsoft ODBC driver; the container includes only the base Unix ODBC library.

Tools and capabilities

Representative tools include:

  • Query purchase orders, sales orders, inventory, production orders, materials, partners, users, roles, receipts, and financial reports.
  • Save, submit, audit, unaudit, delete, close, validate, and push bills.
  • Approve workflow items and inspect approval flows, operation logs, audit logs, change logs, and permission changes.
  • Discover forms, fields, bill templates, metadata candidates, SQL Server tables, columns, and table structures.
  • Upload and download header or line-item attachments using chunked transfer.
  • Query system configuration, quality inspections, expense reimbursements, number rules, loan balances, and backups.

Limitations and notes

KingdeeMCP is a third-party open-source project rather than an official Kingdee product. A Kingdee account must have the permissions required by the requested modules and operations; the server does not replace ERP authorization. Remote HTTP transport also does not replace Kingdee login.

The SQL Server inspection tools need separate database connectivity and ODBC setup. Keep credentials in environment variables rather than embedding them in client prompts or tool arguments. Existing configurations based on the older application-ID and application-secret login must be migrated to the account-password variables.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about KingdeeMCP

KingdeeMCP is an MCP server that connects AI assistants to Kingdee Cloud Star ERP through the official WebAPI. Its 101 tools cover querying and mutating bills, production, purchasing, sales, inventory, finance, approvals, metadata discovery, attachments, and SQL Server exploration, using natural-language requests translated into API calls.

Install it with `pip install kingdee-mcp` or run it with `uvx kingdee-mcp`. Configure the Kingdee server URL, account ID, username, and password as environment variables, then add the command to your MCP client's server configuration.

KingdeeMCP supports Claude Desktop, Cursor, Windsurf, Cline, Continue, and Claude Code through native MCP support. It can also be used by other MCP-compatible clients, with stdio for local use and SSE or Streamable HTTP for remote connections.

Yes. Run it with SSE or Streamable HTTP and configure the host and port. SSE uses `/sse`, while Streamable HTTP uses `/mcp`. Remote clients still need the Kingdee account credentials because HTTP changes the MCP transport, not ERP authentication.

KingdeeMCP authenticates with a Kingdee username and password through the `ValidateUser` flow. It does not require an AppID or AppSecret, and operations use the permissions and WebAPI data access assigned to that ERP account.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKingdeeMCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kingdeemcp?style=directory)](https://allmcps.com/mcp/kingdeemcp)
HTML Embed
<a href="https://allmcps.com/mcp/kingdeemcp"><img src="https://allmcps.com/api/badge/kingdeemcp?style=directory" alt="KingdeeMCP on AllMCPs" /></a>