Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

NETCORE CPaaS MCP Server

A Message Control Protocol (MCP) server implementation for NETCORE CPaaS channels, currently supporting WhatsApp integration with plans to support RCS, SMS, and Email channels.

Overview

This MCP server provides a standardized interface for interacting with NETCORE CPaaS services, currently focusing on WhatsApp messaging capabilities. The server implements various tools for template management and message sending.

Features

WhatsApp Integration

  • Template Status Checking
  • Template Preview Retrieval
  • Template Message Sending

Prerequisites

  • Python 3.x
  • NETCORE CPaaS WhatsApp API credentials
  • MCP CLI tools

Installation

1: Install the uv package manager

# For Mac/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# For Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  1. Clone the repository:
git clone <repository-url>
cd netcore-cpaas-mcp
  1. Create and activate a virtual environment:
# Mac/Linux:
uv venv
source .venv/bin/activate

# Windows:
.venv\Scripts\activate
  1. Install dependencies:
uv add "mcp[cli]" requests python-dotenv
uv pip install -r requirements.txt

Configuration

  1. Create a .env file in the project root with the following content:
WHATSAPP_TOKEN=your_netcore_cpaas_whatsapp_token
  1. Configure MCP server in your MCP client configuration e.g. Claude Desktop or Cursor IDE:
{
    "mcpServers": {
        "netcore-cpaas-whatsapp": {
            "command": "path/to/python",
            "args": [
                "path/to/netcore_cpaas_mcp.py",
                "--debug"
            ],
            "env": {
                "WHATSAPP_TOKEN": "your_whatsapp_token"
            }
        }
    }
}

Available Tools

WhatsApp Tools

  1. get_template_status

    • Description: Fetches the status of a WhatsApp template
    • Parameters:
      • template_name: Name of the template to check
    • Returns: Template status information
  2. get_template_preview

    • Description: Retrieves preview information for a WhatsApp template
    • Parameters:
      • template_name: Name of the template to preview
    • Returns: Template preview details
  3. send_whatsapp_template

    • Description: Sends a WhatsApp template message to a recipient
    • Parameters:
      • template_name: Name of the template to use
      • recipient_whatsapp: Recipient's WhatsApp number
    • Returns: API response containing message status

Development

The project is structured as follows:

  • netcore_cpaas_mcp.py: Main MCP server implementation
  • netcore_whatsapp_integration.py: WhatsApp-specific integration code
  • requirements.txt: Project dependencies

Future Enhancements

  • RCS channel integration
  • SMS channel integration
  • Email channel integration
  • Enhanced error handling and logging
  • Additional template management features

Support

For support or questions, please contact the development team.

License

[Add your license information here]

相关推荐

  • av
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • 1Panel-dev
  • 🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • Byaidu
  • PDF wissenschaftliche Papierübersetzung mit erhaltenen Formaten - 基于 ai 完整保留排版的 pdf 文档全文双语翻译 , 支持 支持 支持 支持 google/deeptl/ollama/openai 等服务 提供 cli/gui/mcp/docker/zotero

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack

  • hkr04
  • Leichtes C ++ MCP (Modellkontextprotokoll) SDK

  • dmayboroda
  • On-Premise-Konversationslappen mit konfigurierbaren Behältern

  • modelscope
  • Bauen Sie LLM-Multi-Agent-Anwendungen auf einfachere Weise auf.

    Reviews

    3 (1)
    Avatar
    user_SShVWCwW
    2025-04-24

    I've been using netcore-cpaas-mcp from NetcoreSolutions, and it has significantly streamlined our communication processes. The intuitive interface and robust features make managing our customer interactions effortless. Highly recommend it for businesses seeking reliable and efficient communication solutions.