Using Infobip MCP servers

|

View as Markdown

This page explains how to connect your AI agents to Infobip MCP servers, authenticate, and start using them.


Get started with Infobip MCP servers

To use MCP servers, you need an Infobip account.

  1. Sign up for a free Infobip account.
    • A free trial account includes messaging units you can use to test MCP.
    • During the free trial, messages can only be sent to verified numbers.

  2. Choose an authentication method.
  3. Choose an MCP server from the list of available MCP servers.

To follow a hands-on guide, see Connect to an Infobip MCP server. For Claude Desktop, see Integrate the Infobip MCP server with Claude Desktop.



Authentication

You can connect to MCP servers with either an API key or OAuth 2.1.


API key [#api-key-authentication]

If your MCP client supports adding additional headers through configuration or environment variable, you can use your Infobip API key.

About Infobip API keys:

  • You are automatically assigned an API key when your account is created.
  • Your API key must include the correct scope depending on the MCP server you want to integrate. For example, if you want to use the SMS MCP server, your API Key needs the sms:message:send scope. Find out more about scopes in API Authorization.

To use an MCP server with an API key:

  1. Copy the API key from the API keys page.

  2. Add the key to your chosen MCP client as an Authorization header.

    bash
    Authorization: App ${INFOBIP_API_KEY}
  3. Restart your MCP client.


OAuth 2.1 [#oauth-2-1-authentication]

Infobip MCP servers support OAuth 2.1 authentication. You do not add credentials to your MCP client configuration. Instead, you log in to your Infobip account when your MCP client starts the OAuth flow.

Your MCP client must support:


To use an MCP server with OAuth:

  1. Add the MCP server URL to your MCP client configuration. Make sure the configuration doesn't include an Authorization header.

    json
    1{
    2 "mcpServers": {
    3 "infobip-sms": {
    4 "type": "http",
    5 "url": "https://mcp.infobip.com/sms"
    6 }
    7 }
    8}
  2. Restart your MCP client and connect to the server. Depending on your client, the OAuth flow starts automatically or when you sign in from the client, for example, with the /mcp command in Claude Code. The client redirects you to the Infobip OAuth server for authentication.


Discovering supported scopes [#discovering-supported-scopes]

Each Infobip MCP server lists the OAuth scopes it requires in two places:

  • The scope parameter of the WWW-Authenticate header in the 401 Unauthorized response
  • The scopes_supported field of the protected resource metadata at {server-url}/.well-known/oauth-protected-resource

Most MCP clients read these scopes automatically(opens in new tab). Some clients do not use the advertised scopes in all flows, because this part of the specification is optional. If your client does not request the scopes, configure them manually in your client settings.

For example, https://mcp.infobip.com/sms/.well-known/oauth-protected-resource returns the scopes for the SMS MCP server. The following excerpt shows the relevant fields:

json
1{
2 "resource": "https://mcp.infobip.com/sms",
3 "scopes_supported": ["profile", "openid", "email", "sms:manage", "offline_access"]
4}


Available MCP servers [#available-endpoints]

Infobip MCP servers follow a consistent base URL pattern: https://mcp.infobip.com/{mcp-tool}. Each server is independent and exposes tools specific to that product. Use the following tables to find the MCP server you need, then configure your MCP client.


Messaging channels [#messaging-channels-available-endpoints]

ServerServer URLFeatures
Messagehttps://mcp.infobip.com/messageSend text messages and links to images or files over SMS, MMS, RCS, or Viber, check delivery status
SMShttps://mcp.infobip.com/smsSend and preview messages, schedule and reschedule, bulk sending, multilingual support (transliteration, character sets), delivery reports, message logs, URL tracking
Emailhttps://mcp.infobip.com/emailSend email messages, send bulk messages, schedule and manage scheduled email and bulk email messages, validate email address
WhatsApphttps://mcp.infobip.com/whatsappSend template messages, send text/media (text, document, image, audio, video, sticker), send location/contact messages, template management (create, edit, delete, retrieve), delivery reports, message logs, SMS failover
WhatsApp Flowhttps://mcp.infobip.com/whatsapp-flowCreate and manage static/dynamic flows, generate flow structure, manage flow JSON, send interactive flows, preview flows, add and manage interactive components (forms, buttons, checkboxes)
Viberhttps://mcp.infobip.com/viberSend messages with rich media (images, videos, files, URLs), delivery reports, message logs, scheduling, SMS failover, URL tracking
RCShttps://mcp.infobip.com/rcsSend rich messages (multimedia, suggested replies, carousels, barcodes), delivery reports, message logs, capability check, SMS/MMS failover
Voicehttps://mcp.infobip.com/voiceSingle and multi-recipient voice calls, text-to-speech, pre-recorded audio, call management, conference calls, voice list management, delivery reports, call logs
Mobile App Messaginghttps://mcp.infobip.com/mobile-app-messagingSend push notifications, delivery reports, message logs, push statistics, push application management, inbox message management

Provisioning [#provisioning-available-endpoints]

ServerServer URLFeatures
Provisioning
EARLY ACCESS
https://mcp.infobip.com/provisionChannel registration workflows, sender registration, number purchase, registration plan and requirements, progress tracking, status checks. See Provision MCP for details.

Observability [#observability-available-endpoints]

ServerServer URLFeatures
Observe
EARLY ACCESS
https://mcp.infobip.com/observeRead-only traffic metrics, billing usage, status and error code lookups, cross-channel message logs. See Observe MCP for details.

Authentication and verification [#authentication-and-verification-available-endpoints]

ServerServer URLFeatures
2FAhttps://mcp.infobip.com/2faApplication management, message templates (SMS/Email), send PIN (SMS/Voice/Email), resend and verify PIN, PIN verification status
CAMARAhttps://mcp.infobip.com/camaraNumber verification authorization, verify number, device location verification, SIM swap check, SIM swap date retrieval, KYC match

Customer data and platform management [#customer-data-and-platform-management-available-endpoints]

ServerServer URLFeatures
Peoplehttps://mcp.infobip.com/peopleManage Person profiles, add and manage company profiles, tags, custom attributes and lists, track and export events, audience segmentation
Account managementhttps://mcp.infobip.com/account-managementAccount balance, free messages count, total balance, manage and update account details, audit logs
CPaaSX applications and entitieshttps://mcp.infobip.com/application-entityCreate and manage applications and entities, resource associations, inbound message configuration, list resources, coverage lookup, resource request submission and tracking

Context [#context-available-endpoints]

ServerServer URLFeatures
Person context
EARLY ACCESS
https://mcp.infobip.com/contextPerson summary, interaction memories (summary, sentiment, facts, topics), memory search by meaning and keywords with optional time window, single-interaction lookup, list and create fact definitions. Requires Context to be enabled for your account.

Developer resources [#developer-resources-available-endpoints]

ServerServer URLFeatures
Infobip Docshttps://mcp.infobip.com/searchSearch through Infobip documentation, use cases, product guides
Infobip Deep Researchhttps://mcp.infobip.com/deep-researchLet deep research models search and retrieve Infobip documentation as a data source for automated, multi-step research tasks
NOTE

Streamable HTTP transport is the current standard for Infobip MCP servers.
If you need SSE transport support for legacy connections, append /sse to the server URL (for example, https://mcp.infobip.com/sms/sse.)



Transport options [#transport-options-available-endpoints]

Infobip MCP servers support different transport methods to handle requests and responses, depending on your client’s capabilities.

  • HTTP: Streamable HTTP transport(opens in new tab) (default)
  • SSE (Server-Sent Events): Use for legacy clients that do not support streamable HTTP. Append /sse to the server URL, for example, https://mcp.infobip.com/sms/sse.

Example configuration (HTTP) [#example-configuration-http-transport-options]

The following configuration shows how to connect directly to an Infobip MCP server over HTTP. This is the most common setup used by AI applications that support remote MCP servers.

json
1{
2 "mcpServers": {
3 "ib-whatsapp": {
4 "type": "http",
5 "url": "https://mcp.infobip.com/whatsapp",
6 "headers": {
7 "Authorization": "App ${INFOBIP_API_KEY}"
8 }
9 }
10 }
11}

Here's how a successful WhatsApp message might look like:

MCP - WhatsApp message

Agent permission and access control

When managing AI agent permissions, it is important to apply stricter controls for sensitive tasks like sending messages. Granting permanent, unrestricted access can create significant security and operational risks. AI agents with persistent permissions can:

  • Send messages without human oversight during unexpected behavior or prompt injection attacks
  • Generate substantial costs through automated message campaigns that bypass approval workflows
  • Create compliance violations by sending messages that don't meet regulatory requirements
  • Damage customer relationships through inappropriate, mistimed, or excessive communications

Refer to the MCP implementation guidelines(opens in new tab) for more details.

NOTE

Configure agent permissions following the principle of least privilege: grant only the minimum access necessary for the specific task at hand, for the shortest duration required.



Troubleshooting

Authentication and authorization issues [#authentication-troubleshooting]


Message delivery issues [#message-delivery-troubleshooting]

  • Make sure the recipient phone number is valid and reachable.
  • If in free trial, note that you can send messages only to verified numbers.

Error codes [#error-codes-troubleshooting]

IMPORTANT

Keep your API key secure. Do not hardcode it in your source code or commit it to version control.

LEARN MORE
If you get stuck, visit the API Get started page to explore key setup instructions and examples.


Related pages

MCP guides
Hands-on guides for sending SMS, WhatsApp, and Viber messages with MCP servers.

Infobip MCP code examples
Demo projects for OpenAI Agents SDK, Semantic Kernel, Spring AI, and LangGraph.

Infobip MCP GitHub repository(opens in new tab)
Setup instructions, source code, and contribution guidelines.


Was this page helpful?