Skip to main content

A MCP server for sending SMS notifications in CMCC.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cmcc_mcp_sms_notifier-0.0.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file cmcc_mcp_sms_notifier-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cmcc_mcp_sms_notifier-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b00b096811999bba2dfc6ce906b230679f21b4973035aed032d60bdedf4c9363
MD5 85dc13715cc0475d3950e928c1b3345c
BLAKE2b-256 c3e966d55eb7861e948ea835a8df0e137cb4b1ffd750ee736f26c5289947caad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page