Skip to main content
Glama
Steph-ux

infobip-mcp

by Steph-ux

infobip-mcp v1.0.0

Единый сервер Model Context Protocol (MCP) для API Infobip. Объединяет управление SMS, WhatsApp, Email, 2FA/OTP и аккаунтом в единый высокопроизводительный локальный MCP-сервер.

Возможности (5 унифицированных инструментов)

  • infobip_sms: Отправка одиночных и массовых SMS, получение отчетов о доставке (DLR) и просмотр журналов сообщений

  • infobip_whatsapp: Отправка текстовых сообщений, одобренных шаблонов Meta и медиафайлов (изображения, документы, видео, аудио)

  • infobip_email: Отправка транзакционных писем (HTML/текст), отслеживание отчетов о доставке и журналов

  • infobip_2fa: Генерация и отправка 2FA OTP-кодов, проверка PIN-кодов, повторная отправка PIN-кодов, управление 2FA-приложениями

  • infobip_account: Проверка баланса аккаунта и валюты в реальном времени

Related MCP server: seven-mcp

Быстрый старт

1. Конфигурация (API-ключ)

Сохраните ваш API-ключ Infobip в ~/.secrets/infobip-key.txt или задайте переменную окружения:

export INFOBIP_API_KEY="your-infobip-api-key"
export INFOBIP_BASE_URL="https://xxxxx.api.infobip.com"  # Optional, defaults to https://api.infobip.com

2. Добавление в MCP-клиент (Claude Desktop, OpenCode, Cursor, Windsurf)

Вариант 1: Через uvx (мгновенно — без ручной установки)

{
  "mcpServers": {
    "infobip": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/Steph-ux/infobip-mcp.git", "infobip-mcp"]
    }
  }
}

Вариант 2: Через pip install

pip install git+https://github.com/Steph-ux/infobip-mcp.git

Затем в вашей конфигурации MCP:

{
  "mcpServers": {
    "infobip": {
      "command": "infobip-mcp"
    }
  }
}

Вариант 3: Локальное клонирование

{
  "mcpServers": {
    "infobip": {
      "command": "python",
      "args": ["D:\\Steph\\script\\infobip-mcp\\server.py"]
    }
  }
}

Примеры использования

1. Отправка SMS

infobip_sms(
    action='send',
    to='+33612345678',
    text='Your verification code is 482910',
    from_sender='AuthService'
)

2. Отправка шаблона WhatsApp

infobip_whatsapp(
    action='send_template',
    from_sender='447860099299',
    to='33612345678',
    template_name='order_confirmation',
    language='en',
    placeholders=['John', 'ORDER-9812']
)

3. Отправка транзакционного email

infobip_email(
    action='send',
    from_email='notifications@yourdomain.com',
    to='customer@example.com',
    subject='Invoice #4912',
    html='<h1>Thank you for your purchase</h1><p>Your order is confirmed.</p>'
)

4. Отправка и проверка 2FA PIN-кода

# Step 1: Send PIN
infobip_2fa(
    action='send_pin',
    application_id='APP_ID_123',
    message_id='MSG_ID_456',
    to='+33612345678'
)

# Step 2: Verify PIN
infobip_2fa(
    action='verify_pin',
    pin_id='PIN_ID_789',
    pin='4829'
)

5. Проверка баланса

infobip_account(action='balance')

Тестирование

pytest tests

Лицензия

MIT

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    C
    maintenance
    Local-first MCP server for agents that need to work across multiple Gmail and Microsoft 365 accounts without cloud token storage.
    6
    -
  • A
    license
    B
    quality
    D
    maintenance
    MCP server for the seven.io API, enabling SMS, voice, RCS messaging, and account management through natural language.
    44
    9 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server for interacting with the official Meta WhatsApp Business Platform/Cloud API, enabling sending messages, managing contacts, templates, and handling webhook callbacks.
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server for a local-first messaging workspace that integrates Google Messages, WhatsApp, and Signal. It enables reading, sending, searching messages, and managing conversations through MCP tools.
    65
    -