JUHE API Marketplace
larryfang avatar
MCP Server

AI-Powered MCP Server

A full-stack SMS assistant that integrates MessageMedia SMS API with OpenAI's GPT models, enabling AI-driven SMS conversations and message management through function calling and contextual memory.

0
GitHub Stars
8/22/2025
Last Updated
No Configuration
Please check the documentation below.

README Documentation

📱 Sinch MCP GPT SMS Server

An AI-native SMS assistant powered by GPT and MessageMedia — now with a live SMS report dashboard!

✅ Features

  • Send and receive SMS via GPT
  • View full SMS conversation history
  • Auto-reply via GPT using webhook
  • Contextual memory per phone number
  • MCP-compliant with /meta and /function-schema
  • LangChain agent integration
  • 📊 Live SMS Report Dashboard (NEW!)

📊 Live Dashboard Preview

Below is a screenshot of the embedded high bar chart showing SMS volume:

SMS Report Screenshot

🧠 Architecture Overview

User ↔ chat.html
     ↕
GPT Chat Server (OpenAI-router.js)
     ↕ (tool calls)
MCP Server (index.js)
     ↕
MessageMedia SMS API
  • index.js: Core MCP server, webhook processor, /context + /send + /report endpoints
  • Openai-router.js: ChatGPT proxy handling tool calls via OpenAI Functions
  • chat.html: Interactive frontend for messaging and tools
  • sms_report_live_dashboard.html: Live chart using /report

🛠️ How to Run

npm install
OPENAI_API_KEY=your_key node start-all.js

📂 Folder Structure

.
├── index.js                # MCP Server
├── Openai-router.js        # GPT Chat Interface
├── webhook-log.json        # Legacy logs (if not using MessageMedia)
├── chat.html               # GPT chat client
├── sms_report_live_dashboard.html  # Dashboard with Chart.js
├── langchain_mcp_agent.py  # LangChain integration script
├── .env                    # Environment variables
├── public/
│   └── sms_report_preview.png  # Chart screenshot

📦 Tools

  • get_sms_context
  • send_sms
  • show_sms_report (NEW)

📍 Roadmap

  • 🔄 Auto-classification of replies
  • 📈 Sentiment + urgency scoring
  • 🤖 Unified Copilot with webhook/CLI/chat

📊 SMS Report Chart

A new feature has been added to display a live dashboard of SMS volume by day.

You can now ask in the chat.html interface:

"Show me my report history of +61412345678"

The assistant will respond with an embedded report like this:

SMS Report Chart

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source