Generates Django code for SMS/MMS messaging functionality, including order notifications and authentication workflows
Generates Express.js server code for SMS verification services, campaign management, and webhook endpoints
Generates Node.js code for SMS/MMS messaging features including authentication, notifications, and status checking
Generates Python code for SMS/MMS messaging integration with comprehensive error handling and delivery status monitoring
Generates React components for SMS verification flows, campaign management dashboards, and messaging interfaces
BaaS SMS/MCP Server
A Model Context Protocol (MCP) server that enables Claude to generate SMS/MMS implementation code for your projects. When you ask Claude to implement messaging features, it will generate code that directly calls the BaaS API at https://api.aiapp.link
, eliminating the need for you to write API integration code manually.
Features
- Code Generation: Claude generates ready-to-use SMS/MMS code for your projects
- Direct API Integration: Generated code calls
https://api.aiapp.link
directly - Multi-Framework Support: Generates code for React, Vue, Node.js, Python, Django, and more
- Complete Implementation: Includes error handling, validation, and status checking
- Copy-Paste Ready: Generated code can be directly copied to your project
- Project Isolation: Multi-tenant support with project-based access control
- Real-time Status: Code for checking delivery status and message history
Use Cases
- Authentication: SMS verification codes for user registration/login
- Notifications: Order confirmations, shipping updates, alerts
- Marketing: Promotional messages, event notifications
- Two-Factor Authentication: Security verification messages
- Customer Support: Automated support messages and updates
Installation
Using npm (Recommended)
Or run directly without installation:
Using pip
From Source
Note: BAAS_API_BASE_URL
is fixed to https://api.aiapp.link
and doesn't need to be configured.
Usage
Command Line
After installation, you can run the server directly:
With Claude Desktop
Add this server to your Claude Desktop configuration:
Or if installed globally:
Programmatic Usage
How It Works
When you ask Claude to implement SMS/MMS features in your project:
- You ask: "Implement SMS verification in my React app"
- Claude generates: Complete code that calls
https://api.aiapp.link
directly - You copy: The generated code into your project
- It works: Your app sends SMS through BaaS API automatically
Developer Examples
Example 1: React SMS Verification
Prompt to Claude:
"Create a React component with SMS verification for user registration"
Claude will generate code like this (copy-paste ready):
Example 2: Order Confirmation MMS
Prompt to Claude:
"Send MMS with order details and product image when order is placed"
Claude will generate:
Example 3: Real-time Status Checking
Prompt to Claude:
"Create a webhook endpoint that checks SMS delivery status"
Claude will generate:
Available Tools
1. send_sms
Send SMS message to one or multiple recipients.
Parameters:
recipients
: List of recipients withphone_number
andmember_code
message
: SMS message content (max 2000 characters)callback_number
: Sender callback numberproject_id
: Project UUID (required)baas_api_key
: BaaS API key for authentication (required)
Example:
Response:
2. send_mms
Send MMS message with images to one or multiple recipients.
Parameters:
recipients
: List of recipients withphone_number
andmember_code
message
: MMS message content (max 2000 characters)subject
: MMS subject line (max 40 characters)callback_number
: Sender callback numberimage_urls
: List of image URLs to attach (max 5 images, optional)project_id
: Project UUID (optional, uses env var if not provided)
Example:
3. get_message_status
Get message sending status by group ID.
Parameters:
group_id
: Message group ID to check status
Response:
4. get_send_history
Get message sending history for a project.
Parameters:
project_id
: Project UUID (optional, uses env var if not provided)offset
: Number of records to skip (default: 0)limit
: Maximum number of records to return (default: 20, max: 100)message_type
: Filter by message type ("SMS", "MMS", "ALL")
Error Handling
The server provides comprehensive error handling with the following error codes:
MISSING_PROJECT_ID
: PROJECT_ID is requiredINVALID_RECIPIENTS_COUNT
: Recipients count must be between 1 and 1000MESSAGE_TOO_LONG
: Message length exceeds maximum allowedSUBJECT_TOO_LONG
: Subject length exceeds 40 charactersTOO_MANY_IMAGES
: Maximum 5 images allowed for MMSAPI_ERROR
: External API call failedINTERNAL_ERROR
: Internal server error
API Integration
This MCP server integrates with the BaaS API endpoints:
POST /message/sms
- Send SMS messagesPOST /message/mms
- Send MMS messagesGET /message/send_history/sms/{group_id}/messages
- Get message status
Quick Start Templates
Authentication Service Template
E-commerce Notification Template
React Admin Dashboard Template
Development
Installing Development Dependencies
Code Formatting
Type Checking
Testing
Building Package
Publishing to PyPI
License
MIT License - see LICENSE file for details.
Language
Support
For support and questions, please contact: support@aiapp.link
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A Model Context Protocol server that enables Claude to help developers implement SMS and MMS messaging features in web and mobile applications through direct integration with BaaS API services.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server implementation that enables Claude to interact with RabbitMQ message queues and topics, allowing read/write operations on a RabbitMQ instance.Last updated -35PythonApache 2.0
- -securityFlicense-qualityA Model Context Protocol server that allows Claude to make API requests on your behalf, providing tools for testing various APIs including HTTP requests and OpenAI integrations without sharing your API keys in the chat.Last updated -Python
- AsecurityAlicenseAqualityA Model Context Protocol server that provides a seamless email management interface through Claude, allowing users to search, read, and send emails directly through natural language conversations.Last updated -492PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables Claude and other AI assistants to send SMS and MMS messages using Twilio.Last updated -1319JavaScriptMIT License