Skip to main content

A MCP server for sending SMS notifications in CMCC of enhanced version.

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.

File details

Details for the file cmcc_mcp_sms_notifier_enhanced-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cmcc_mcp_sms_notifier_enhanced-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b5e0532d07753e5e37d5d970ef18e4a49b06700b09902a9b572334646b807ba
MD5 c680a64dfcfbcfb16d0e659225bff9ec
BLAKE2b-256 3cfe8c1d2049e86465f520922357856186248215da70ff3e2cbdcb64f8d05a79

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