鼎尖软件官网客户问答 MCP(Python / uvx)
鼎尖 ERP 第三方签名鉴权,查询 + 保存官网「客户问答」,发布后触发静态化。
- 查询:
projectm/projectmDataItem/listData - 保存:
projectm/projectmDataItem/save - 静态化:
https://www.dingjiansoft.com/staticHtmlNew?scope=khwd&type=website
安装与运行
开发
cd mcp/dj-website-qa/dj-website-qa-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp -n .env.example .env
# 编辑 .env 填入 ERP_*
python -m dj_website_qa_mcp
用户侧(推荐 uvx)
uvx dj-website-qa-mcp@1.2.0
MCP Tools
| Tool | 说明 |
|---|---|
list_website_qa |
查询已有问答;支持关键词过滤与标题查重 |
save_website_qa |
保存/更新;新建默认查重;status=1 默认自动静态化 |
staticize_website_qa |
手动触发客户问答静态化页面 |
鉴权说明
与 erp-property-mcp 相同,无需 Bearer Token:
| 变量 | 说明 |
|---|---|
ERP_BASE_URL |
如 https://www.dingjianyun.com/dingjianerp/ |
ERP_SECRET / ERP_CU_ID / ERP_USER_ID / ERP_DC |
第三方签名凭证 |
DJ_WEBSITE_PROGRAMA_ITEM_ID |
客户问答栏目,默认 fa910000-0000-4000-8000-000000000001 |
DJ_WEBSITE_STATICIZE_URL |
静态化地址(可覆盖) |
DJ_WEBSITE_AUTO_STATICIZE |
发布后是否自动静态化,默认 true |
注意:列表侧已发布多为 status=2,保存侧发布为 status=1,勿混用。
测试
pytest
Metadata
Release files for dj-website-qa-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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dj_website_qa_mcp-1.2.0.tar.gz | 11.1 kB | Without provenance | Details for dj_website_qa_mcp-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dj_website_qa_mcp-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for dj_website_qa_mcp-1.2.0-py3-none-any.whl |
Total release size: 23.2 kB
Release files / dj_website_qa_mcp-1.2.0.tar.gz
| Download URL | dj_website_qa_mcp-1.2.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b827461438e46282185c7e4c34f0e284be26336b41ed30fa031aaf6dde1740f0
|
|
BLAKE2b-256 checksum How to use checksums |
524d6f0b44a8af8b09d41efbd99aebca5b9db119298986447cc459d5e56ee78a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / dj_website_qa_mcp-1.2.0-py3-none-any.whl
| Download URL | dj_website_qa_mcp-1.2.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3d40c8c914982a676f2bb36bb4d9debb8e1d6373dbaaed733f04c2c511a046b
|
|
BLAKE2b-256 checksum How to use checksums |
0f00e0cb169324a4824d4752e9890f86198202ecfed5ad45c417b4acc89a0ebc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for dj-website-qa-mcp 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.