Kingdee K3Cloud (Cloud Galaxy) ERP

v0.2.4
io.github.WaHaiLong/kingdee-mcp Checked 6 hours ago Published 1 month ago

Third-party open-source MCP server for Kingdee K3Cloud ERP - 101 tools, 17 domains.

Values you need

VariableWhat it is
KINGDEE_SERVER_URLrequired Kingdee K3Cloud server base URL, must end with /k3cloud/ (e.g. http://your-server/k3cloud/)
KINGDEE_ACCT_IDrequired Kingdee account set (data center) ID
KINGDEE_USERNAMErequired Kingdee login user name (ValidateUser login)
KINGDEE_PASSWORDrequired secret Kingdee login password (ValidateUser login)

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add kingdee-mcp -e 'KINGDEE_ACCT_ID=<KINGDEE_ACCT_ID>' -e 'KINGDEE_PASSWORD=<KINGDEE_PASSWORD>' -e 'KINGDEE_SERVER_URL=<KINGDEE_SERVER_URL>' -e 'KINGDEE_USERNAME=<KINGDEE_USERNAME>' -- uvx kingdee-mcp==0.2.4
Add to claude_desktop_config.json
{
  "mcpServers": {
    "kingdee-mcp": {
      "args": [
        "kingdee-mcp==0.2.4"
      ],
      "command": "uvx",
      "env": {
        "KINGDEE_ACCT_ID": "<KINGDEE_ACCT_ID>",
        "KINGDEE_PASSWORD": "<KINGDEE_PASSWORD>",
        "KINGDEE_SERVER_URL": "<KINGDEE_SERVER_URL>",
        "KINGDEE_USERNAME": "<KINGDEE_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "kingdee-mcp": {
      "args": [
        "kingdee-mcp==0.2.4"
      ],
      "command": "uvx",
      "env": {
        "KINGDEE_ACCT_ID": "<KINGDEE_ACCT_ID>",
        "KINGDEE_PASSWORD": "<KINGDEE_PASSWORD>",
        "KINGDEE_SERVER_URL": "<KINGDEE_SERVER_URL>",
        "KINGDEE_USERNAME": "<KINGDEE_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "KINGDEE_ACCT_ID",
      "id": "kingdee-acct-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "KINGDEE_PASSWORD",
      "id": "kingdee-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "KINGDEE_SERVER_URL",
      "id": "kingdee-server-url",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "KINGDEE_USERNAME",
      "id": "kingdee-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "kingdee-mcp": {
      "args": [
        "kingdee-mcp==0.2.4"
      ],
      "command": "uvx",
      "env": {
        "KINGDEE_ACCT_ID": "${input:kingdee-acct-id}",
        "KINGDEE_PASSWORD": "${input:kingdee-password}",
        "KINGDEE_SERVER_URL": "${input:kingdee-server-url}",
        "KINGDEE_USERNAME": "${input:kingdee-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.kingdee-mcp]
command = "uvx"
args = ["kingdee-mcp==0.2.4"]
env = { "KINGDEE_ACCT_ID" = "<KINGDEE_ACCT_ID>", "KINGDEE_PASSWORD" = "<KINGDEE_PASSWORD>", "KINGDEE_SERVER_URL" = "<KINGDEE_SERVER_URL>", "KINGDEE_USERNAME" = "<KINGDEE_USERNAME>" }

For AI agents

  1. Ask the user for: KINGDEE_SERVER_URL, KINGDEE_ACCT_ID, KINGDEE_USERNAME, KINGDEE_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: kingdee_usage_report, kingdee_usage_stats, kingdee_discover_tables, kingdee_discover_columns, kingdee_describe_table, kingdee_discover_metadata_candidates, kingdee_upload_attachment, kingdee_download_attachment, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json