Skip to main content

Kingdee Cloud K/3 MCP Server for sales order and manufacturing order queries

Project description

kingdee-mcp-ierp

An MCP server for Kingdee Cloud K/3 queries, packaged for uvx.

Features

  • Query sale orders
  • Query manufacturing orders
  • Query SO-MO relations
  • Query delivery risk
  • Query material shortage
  • Export SO-MO Excel report

Local Run

uvx --from . kingdee-mcp-ierp

Environment Variables

Set these environment variables before starting the server:

$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"

Required variables:

  • KINGDEE_BASE_URL
  • KINGDEE_CLIENT_ID
  • KINGDEE_CLIENT_SECRET
  • KINGDEE_USERNAME
  • KINGDEE_ACCOUNT_ID

Optional variables:

  • KINGDEE_LANGUAGE (defaults to zh_CN)

You can copy .env.example as a local reference, but do not commit your real credentials.

Copy-Item .env.example .env

Trae MCP Config

You can also copy .mcp.json.example and fill in your own values.

{
  "mcpServers": {
    "kingdee": {
      "command": "uvx",
      "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"
      },
      "args": [
        "--from",
        "C:\\Users\\ying\\AppData\\Roaming\\Python\\Python312\\site-packages\\kingdee_mcp_uvx_pkg",
        "kingdee-mcp-ierp"
      ]
    }
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kingdee_mcp_ierp-0.1.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kingdee_mcp_ierp-0.1.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file kingdee_mcp_ierp-0.1.0.tar.gz.

File metadata

  • Download URL: kingdee_mcp_ierp-0.1.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for kingdee_mcp_ierp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a07f8cda396c412106f2a7800aed41f0ed08f34380384eece12112aeab43b3f
MD5 e0db9f118db2eefb7357b9be6612443b
BLAKE2b-256 98cda1497699d641b8be5b0bfd3dce6d73a00a6e82305da840ef6e354a951c5e

See more details on using hashes here.

File details

Details for the file kingdee_mcp_ierp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kingdee_mcp_ierp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2115ea41bc1a98deebe37d67f273ec27afeec99f6c111d6470eaefff3bcb0870
MD5 503cc676ac6e8b748f05512ca7924e47
BLAKE2b-256 ff057b76a0c970c819ef6deaa8e5580e046644ada790cbb6e132bc7efc60bcb4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page