CMCC MCP SMS Notifier Server
基于 Model Context Protocol (MCP) 的内部短信通知服务增强版。
功能
send_notification - 根据用户角色选择通知渠道并发送通知
Args:
user_name: 收件人姓名
user_role: 收件人角色(employee/customer/partner)
message: 通知内容
Returns:
发送结果(success/fail)
batch_send_notifications - 批量发送通知
Args:
notification_list: 通知列表,每个元素为一个字典,包含 user_name, user_role, message
Example:
notification_list = [
{"user_name": "张三", "user_role": "employee", "message": "你好,张三!您的工资已发放,请查收。"},
{"user_name": "李四", "user_role": "customer", "message": "你好,李四!您的订单已发货,请查收。"},
{"user_name": "王五", "user_role": "partner", "message": "你好,王五!合作方案已更新,请及时查看。"}
]
Returns: 发送结果列表,每个元素为一个字典,包含 user_name, channel, message, status
安装
pip install mcp-sms-notifier
Metadata
Release files for cmcc-mcp-sms-notifier-enhanced 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cmcc_mcp_sms_notifier_enhanced-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / cmcc_mcp_sms_notifier_enhanced-0.0.1-py3-none-any.whl
| Download URL | cmcc_mcp_sms_notifier_enhanced-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b5e0532d07753e5e37d5d970ef18e4a49b06700b09902a9b572334646b807ba
|
|
BLAKE2b-256 checksum How to use checksums |
3cfe8c1d2049e86465f520922357856186248215da70ff3e2cbdcb64f8d05a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for cmcc-mcp-sms-notifier-enhanced 0.0.1
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.