Skip to main content

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

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_v2-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cmcc_mcp_sms_notifier_enhanced_v2-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 90da35a790c0e5066dc5c12920947da7ade8c3b06a6946c202ac40f2c814bfa1
MD5 50a2e7eb7560fa185c74cb6b4d828f61
BLAKE2b-256 820aabc7fbf68e3865fed152fd2c1fd6e1b1503b6d6baf4313ba171db8a9a295

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