Skip to main content
Glama
telesign-mcp

telesign-mcp

by mdp18

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.

Related MCP server: SMS Masivos MCP Server

🔨 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

  1. Clone the repository:

    git clone https://github.com/mdp18/telesign-mcp.git
    cd telesign-mcp
  2. Install dependencies:

    npm install
  3. 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 flows

  • phone-id - Phone number lookup details

  • intelligence - Risk scoring and fraud detection

  • messaging-sms - SMS messaging guide

  • status-codes - API response codes reference

🤝 Supported APIs

Currently Functional

  • Verify API - Multi-channel OTP verification (SMS, voice, WhatsApp, Viber, RCS, email) with fallback support

  • Phone ID API - Phone number intelligence with identity attribute add-ons (SIM swap, number deactivation, contact info, porting history, etc.)

  • Intelligence API - Fraud risk scoring and recommendations

  • 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.

Available Tools

8 tools
docs_getB

Get complete documentation for a TeleSign topic.

Inputs: topic (required).

intelligence_assess_riskA

Get fraud risk score (0-1000) for a phone number. Returns recommendation: allow/flag/block. See docs://telesign/intelligence for score interpretation.

Inputs: phone_number (required), originating_ip, account_lifecycle_event.

messaging_send_smsC

Send an SMS message to a phone number. See docs://telesign/messaging-sms for message types and delivery codes.

Inputs: message (required), phone_number (required), message_type.

phoneid_get_infoB

Get detailed information about a phone number including type (mobile/landline/VoIP), carrier, and location. See docs://telesign/phone-id for details.

Inputs: phone_number (required), addons, external_id, originating_ip, +1 more.

verifyapi_check_codeA

Verify an OTP code that was sent to a user. Requires the reference_id from verifyapi_send_otp.

Inputs: code (required), reference_id (required).

verifyapi_get_statusA

Retrieve details about a verification process in progress. Use this to check the current status of a verification including channel-by-channel delivery status.

Inputs: reference_id (required).

verifyapi_send_otpA

Send a one-time passcode (OTP) to a phone number. Returns reference_id needed for verifyapi_check_code. Supports multiple fallback channels with fallback_time. See docs://telesign/verify-api.

Inputs: recipient (required), verification_policy (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation5/5

    All tools have clearly distinct purposes: documentation retrieval/search, fraud risk assessment, SMS sending, phone number info, and OTP verification lifecycle. No overlap.

    Naming Consistency5/5

    All tool names follow a consistent resource_action pattern in snake_case (e.g., docs_get, intelligence_assess_risk, verifyapi_send_otp). Perfectly predictable.

    Tool Count5/5

    With 8 tools covering documentation, intelligence, messaging, phone ID, and verification, the set is well-scoped and not overwhelming. Each tool serves a clear need.

    Completeness4/5

    Covers core TeleSign services well, including OTP lifecycle and fraud risk. Missing voice verification or account management, but the core workflows are supported.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      F
      maintenance
      Enables interaction with Telnyx's telephony, messaging, and AI assistant APIs to manage phone numbers, send messages, make calls, and create AI assistants. Includes webhook support for real-time event handling and comprehensive tools for voice, SMS, cloud storage, and embeddings.
      46
      25
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to send SMS, manage contacts, verify numbers, and query campaigns via SMS Masivos platform using natural language.
      30
      255 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to purchase virtual phone numbers, retrieve SMS verification codes, and manage activations through natural language by wrapping the VirtualSMS Consumer API.
      15 npm
      MIT