Skip to main content

erp-integral-mcp

鼎尖 ERP 业务动作积分统计 MCP:第三方 SHA1 签名鉴权,查询积分项清单,并按日历日或积分项汇总每位员工的作业积分。

接口

Tool ERP API 说明
search_persons basedata/person/dataPickerData 姓名/工号 → personId(F7)
list_integral_jobsets settlement/integralDetail/getIntegralConditon 积分项(jobSet)清单
query_integral_stats settlement/integralDetail/integralCountData 人员积分;支持 personId;group_by=week

columnType:

  • INTEGRALDATE:按日,scoreN = 当月第 N 日积分
  • INTEGRALJOBSET:按积分项,字段名为积分项 id,需结合 jobSetList 解读

环境变量

与 erp-property-mcp 相同:

ERP_BASE_URL=https://your-host/dingjian/
ERP_SECRET=...
ERP_CU_ID=...
ERP_USER_ID=...
ERP_DC=...

本地运行

cd mcp/erp-integral-mcp
cp .env.example .env   # 填入凭证
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest
erp-integral-mcp       # stdio MCP

uvx / WorkBuddy

{
  "mcpServers": {
    "erp_integral": {
      "command": "uvx",
      "args": ["erp-integral-mcp@1.0.0"],
      "env": {
        "ERP_BASE_URL": "${ERP_BASE_URL}",
        "ERP_SECRET": "${ERP_SECRET}",
        "ERP_CU_ID": "${ERP_CU_ID}",
        "ERP_USER_ID": "${ERP_USER_ID}",
        "ERP_DC": "${ERP_DC}"
      }
    }
  }
}

连接器打包:

./scripts/pack-connector.sh

Skill

业务作业 SOP 见 skills/erp-integral-stats/SKILL.md(仓库同步副本:mcp/skills/erp-integral-stats/SKILL.md)。

Metadata

Release files for erp-integral-mcp 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for erp-integral-mcp 1.2.0
File Size Uploaded
erp_integral_mcp-1.2.0.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for erp-integral-mcp 1.2.0
File Interpreter ABI Platform
erp_integral_mcp-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.9 kB

Release files / erp_integral_mcp-1.2.0.tar.gz

Download URL erp_integral_mcp-1.2.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fe7163e4daec9f2b656cfdcfde478c1eadac25e080302ec92c02b3e229d91fe0
BLAKE2b-256 checksum
How to use checksums
f5d9974171fc05612d866ee997782abfeb382dd8384987e592f6981725a75614
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / erp_integral_mcp-1.2.0-py3-none-any.whl

Download URL erp_integral_mcp-1.2.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fe47708f68b46064e5d4afc556214c4d1e00d70fbf72b42d7897e5020d60914
BLAKE2b-256 checksum
How to use checksums
1a995a7614706d98dbd6d702fa393ba970138fb7ca298725a7053bec86b4fed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page