telesign-mcp
Enables AI assistants to send SMS messages, verify phone numbers via OTP, assess fraud risk, and access TeleSign API documentation through natural language.
README
TeleSign MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with TeleSign APIs for AI assistants like Anthropic's Claude, OpenAI's ChatGPT, or Google's Gemini. Enable your AI to send SMS messages, verify phone numbers, assess fraud risk, and more.
What is MCP?
The Model Context Protocol is an open standard that allows AI assistants to securely connect to external data sources and tools. This server implements MCP to give AI assistants direct access to TeleSign's communication and verification APIs.
🔨 Features
Available Tools
| Tool | Description |
|---|---|
verifyapi_send_otp |
Send a one-time passcode via SMS, voice, WhatsApp, Viber, RCS, or email with automatic fallback support |
verifyapi_check_code |
Verify an OTP code entered by the user |
verifyapi_get_status |
Check the status of an ongoing verification |
phoneid_get_info |
Get phone number details including type (mobile/landline/VoIP), carrier, and location |
intelligence_assess_risk |
Get fraud risk score (0-1000) with allow/flag/block recommendation |
messaging_send_sms |
Send SMS messages (OTP, alerts, or marketing) |
docs_search |
Search TeleSign documentation |
docs_get |
Retrieve full documentation for a topic |
Key Capabilities
- Multi-Channel OTP Verification - Send verification codes via SMS, voice, WhatsApp, Viber, RCS, or email with automatic fallback between channels
- Phone Intelligence - Identify phone number type, carrier, and geographic location
- Fraud Prevention - Real-time risk scoring to detect fraudulent phone numbers
- SMS Messaging - Send transactional or marketing messages
- Built-in Documentation - Access TeleSign API docs directly through the AI assistant
🛠️ Installation
Prerequisites
- Node.js 18+
- Cursor, Claude Code, VSCode, Windsurf or another MCP Client
- A TeleSign account with API credentials (Sign up here)
Setup
-
Clone the repository:
git clone https://github.com/mdp18/telesign-mcp.git cd telesign-mcp -
Install dependencies:
npm install -
Build the project:
npm run build
Configuration
Environment Variables
Set your TeleSign API credentials:
export TELESIGN_CUSTOMER_ID="your-customer-id"
export TELESIGN_API_KEY="your-api-key"
Claude Desktop Configuration
Add this to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"telesign": {
"command": "node",
"args": ["/path/to/telesign-mcp/build/index.js"],
"env": {
"TELESIGN_CUSTOMER_ID": "your-customer-id",
"TELESIGN_API_KEY": "your-api-key"
}
}
}
}
Usage Examples
Once configured, you can ask Claude to:
- "Send an OTP to +15551234567 via SMS with voice fallback after 30 seconds"
- "Verify the code 123456 for reference ID abc-123"
- "Get information about the phone number +15551234567"
- "Check the fraud risk score for +15551234567"
- "Send an SMS to +15551234567 saying 'Your order has shipped'"
📚 API Documentation
The server includes built-in documentation accessible via the docs_search and docs_get tools. Available topics:
verify-api- OTP verification endpoints and flowsphone-id- Phone number lookup detailsintelligence- Risk scoring and fraud detectionmessaging-sms- SMS messaging guidestatus-codes- API response codes reference
🤝 Supported APIs
Currently Functional
- [x] Verify API - Multi-channel OTP verification (SMS, voice, WhatsApp, Viber, RCS, email) with fallback support
- [x] Phone ID API - Phone number intelligence with identity attribute add-ons (SIM swap, number deactivation, contact info, porting history, etc.)
- [x] Intelligence API - Fraud risk scoring and recommendations
- [x] Messaging API - Basic SMS sending (
/v1/messaging)
Coming Soon
- [ ] Bulk SMS API
- [ ] Messaging API (full-featured)
- [ ] SMS Verify API (standalone)
- [ ] Silent Verify API
- [ ] Templates API
- [ ] Voice V2 API
- [ ] Accounts API
- [ ] App Verify API
- [ ] Flow Builder API
💻 Development
# Watch mode for development
npm run dev
# Build for production
npm run build
# Run the server directly
npm start
📄 License
Apache 2.0 - See LICENSE for details.
🛟 Support
⚠️ Disclaimer
This is a community-driven, open source project and is not officially affiliated with, endorsed by, or supported by TeleSign. The author(s) do not own or claim any rights to the TeleSign trademark, name, or branding. "TeleSign" and any associated logos are trademarks of TeleSign Corporation.
This project is provided "as is" without warranty of any kind. Use at your own risk. For official TeleSign support not related to this MCP server, please contact TeleSign directly.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.