Metadata-Version: 2.4
Name: cmcc-mcp-sms-notifier
Version: 0.0.2
Summary: A MCP server for sending SMS notifications in CMCC.
Project-URL: Homepage, https://github.com/cmcc/mcp-sms-notifier
Project-URL: Repository, https://github.com/cmcc/mcp-sms-notifier
Author: CMCC Corporation
License-Expression: MIT
License-File: LICENSE
Keywords: cmcc,mcp,modelscope,notification,sms
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: mcp[cli]>=1.27.2
Description-Content-Type: text/markdown

# 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：
```python
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

#### 安装

```bash

pip install mcp-sms-notifier
