erp-call-qc-mcp
鼎尖 ERP 通话录音质检 MCP:第三方 SHA1 签名鉴权,查询通话记录并对 主叫/被叫号码脱敏,提供违规规则预检;配合 Skill 做盘点电话 SABCD 评级与敏感信息质检。
接口
| Tool | ERP API | 说明 |
|---|---|---|
search_call_records |
basedata/phoneManager/getCheckRecordListData |
列表查询,号码脱敏;include_transcript=true 带回全文 |
scan_call_violations |
同上(多页扫描) | 违规规则预检线索 |
返回字段使用 callerMasked / calleeMasked,工具层不输出明文号码。
环境变量
与 erp-integral-mcp 相同:
ERP_BASE_URL=https://your-host/dingjian/
ERP_SECRET=...
ERP_CU_ID=...
ERP_USER_ID=...
ERP_DC=...
本地运行
cd mcp/erp-call-qc-mcp
cp .env.example .env # 填入凭证
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest
erp-call-qc-mcp # stdio MCP
uvx / Cursor
模板见 mcp.install.json、mcp.cursor.json:
{
"mcpServers": {
"erp_call_qc": {
"command": "uvx",
"args": ["erp-call-qc-mcp@1.0.0"],
"env": {
"ERP_BASE_URL": "https://p.dingjianyun.com/dingjian/",
"ERP_SECRET": "...",
"ERP_CU_ID": "...",
"ERP_USER_ID": "...",
"ERP_DC": "..."
}
}
}
}
本地开发也可:
{
"mcpServers": {
"erp_call_qc": {
"command": "/path/to/erp-call-qc-mcp/.venv/bin/erp-call-qc-mcp",
"env": { "...": "..." }
}
}
}
连接器打包:
./scripts/pack-connector.sh
Skill
管理层 SOP 见 skills/erp-call-qc/SKILL.md(仓库同步副本:mcp/skills/erp-call-qc/SKILL.md)。
- 场景 A:盘点电话 SABCD 作业评级
- 场景 B:违规质检(询问电话/微信/钥匙密码等)
Metadata
Release files for erp-call-qc-mcp 1.0.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 | |
|---|---|---|---|
| erp_call_qc_mcp-1.0.0.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| erp_call_qc_mcp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.9 kB
Release files / erp_call_qc_mcp-1.0.0.tar.gz
| Download URL | erp_call_qc_mcp-1.0.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e2e73b8130617089ca026bb29571bae808e41ddd75c65ade4a8239a397306f2
|
|
BLAKE2b-256 checksum How to use checksums |
9ca930744e3719a59a259e5c0ca8d80cd3370a5844065c40dbb7c8c01d4047fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / erp_call_qc_mcp-1.0.0-py3-none-any.whl
| Download URL | erp_call_qc_mcp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3a7a4a1505cd2836512133c31cd65c838bcc909b85d52c6ed0ee9c5c28dce21
|
|
BLAKE2b-256 checksum How to use checksums |
3d7647cfcda39e089f434300390659037531453dfade1336c02d0592cefcf917
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|