Skip to main content
Glama
README.markdownβ€’2.42 kB
# πŸ“± 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](sms_report_preview.png) ## 🧠 Architecture Overview ```plaintext 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 ```bash npm install OPENAI_API_KEY=your_key node start-all.js ``` - Access Chat UI: [http://localhost:3000/chat.html](http://localhost:3000/chat.html) - Access Report Dashboard: [http://localhost:3000/sms_report_live_dashboard.html](http://localhost:3000/sms_report_live_dashboard.html) ## πŸ“‚ Folder Structure ```plaintext . β”œβ”€β”€ 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 - [x] `get_sms_context` - [x] `send_sms` - [x] `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](./chart.png)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/larryfang/sms-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server