AWS Builder Center
Infobip Message MCP Server on AWS: multi-channel messaging for AI agents, one tool call away

Infobip Message MCP Server on AWS: multi-channel messaging for AI agents, one tool call away

Give your AI agents a single MCP tool to send SMS, RCS, Viber, and MMS messages, hosted on AWS, protected by OAuth, and available as a free listing on AWS Marketplace. Connect it directly from frameworks like Spring AI and Strands Agents, or add it to Amazon Bedrock AgentCore Gateway with two CLI commands and no agent code changes.

by Andrei Shakirin (AWS), Filip Srnec (Infobip), David Levacic (Infobip), Joanna Suau (Infobip)
Subject line: Let AI agents send SMS, RCS, Viber, and MMS with one MCP tool call, now hosted on AWS and available in AWS Marketplace.
AI agents are good at reasoning, planning, and calling tools. A business process usually ends with a human, though: a customer waiting for an order or delivery update, a patient who needs an appointment reminder, an employee who has to approve a request, or a traveler who needs their itinerary. Reaching those people on the channels they already use, such as SMS, RCS, or Viber, has meant SDKs, channel-specific APIs, and credentials embedded in agent code.
The Infobip Message MCP Server removes that integration work. It exposes Infobip's global messaging platform as a remote Model Context Protocol (MCP) server with two tools. Any MCP-capable agent can call it, whether that agent runs in an IDE, is built with a framework such as Strands Agents, LangChain, CrewAI, the OpenAI Agents SDK, Spring AI, or Koog, or connects through Amazon Bedrock AgentCore Gateway. The server runs on AWS infrastructure and is listed in AWS Marketplace.
This post covers the MCP server's design, how it's hosted on AWS, how to connect it to an agent in minutes, and where to try it hands-on.

Why does it matter?

  • MCP is becoming the standard way to give agents tools. Instead of writing a custom client for every API, agents discover tools at runtime with  tools/list  and call them with  tools/call . A remote MCP server works with every MCP client without changes.
  • Messaging is the last mile of agentic workflows. Infobip supports a wide range of communication channels, like SMS, RCS, Viber, MMS, WhatsApp, Voice, or Email. The Message MCP Server covered in this post focuses on multi-channel orchestration: with a single  send  tool, an agent can reach the person behind a workflow on their preferred channel — SMS, RCS, Viber, or MMS — in one tool call. (Other channels, such as WhatsApp, Voice, and Email, are exposed through their own dedicated Infobip MCP servers.)
  • A small context footprint. The Message MCP Server deliberately exposes only two tools. Every tool definition costs tokens on every model call, so a lean tool surface keeps agents fast, cheap, and accurate in tool selection.
  • Enterprise-ready on AWS. The server runs in the AWS Europe (Frankfurt) Region ( eu-central-1 ) across two Availability Zones, behind a Network Load Balancer, with workloads isolated in private subnets. It uses standard OAuth with PKCE (MCP authorization) and is available in AWS Marketplace as a SaaS product free of charge, so AWS customers can adopt it through their existing procurement process; message usage is billed by Infobip.

About Infobip MCP and Amazon Bedrock AgentCore

 Infobip  is a global cloud communications platform. Its  MCP servers  are remote connectors that give agents access to the platform. Each API product has a dedicated server: SMS, WhatsApp, Viber, RCS, Email, Voice, 2FA, People (customer data), Account Management, Documentation search, and others. The Message MCP Server is the multi-channel entry point. One  send  tool covers SMS, RCS, Viber, and MMS.
 Amazon Bedrock AgentCore  is a managed agentic AI platform that provides the operational building blocks for production agents: Runtime, Memory, Identity, Gateway, Browser, Code Interpreter, and Observability. AgentCore Gateway acts as a single MCP endpoint for an agent. It aggregates tools from multiple targets (Lambda functions, OpenAPI specs, and remote MCP servers), handles inbound authentication, and injects outbound credentials.
Together they make messaging a configuration change instead of a coding task: register the Infobip Message MCP Server as a Gateway target, and every agent that uses the Gateway can send messages. The AWS workshop  Building Java AI agents with Spring AI and Amazon Bedrock AgentCore  shows this setup step by step.

What does the Message MCP Server provide?

Item
Value
Endpoint (AWS-hosted)
 https://aws-mcp.infobip.com/message 
Transport
Streamable HTTP
Authentication
OAuth with PKCE and authorization server discovery, or API key ( Authorization: App <API_KEY> )
Required scope
 messages-api:manage 
Channels
SMS, RCS, Viber, MMS
Pricing
The MCP server is free; Infobip API usage (messages sent) is billed by Infobip
Tool
Purpose
 send 
Sends a text message, or a URL to an image or file, over SMS, RCS, Viber, or MMS
 check_status 
Returns the delivery status (delivery report) of a previously sent message

Standards-based authorization

The server implements the  MCP authorization specification  (OAuth protected resource metadata, authorization server discovery, scope challenges). It does not yet implement the  2026-07-28 revision ; clients that support both revisions fall back automatically (see  What's next ).
An unauthenticated request returns  401  with a pointer to the protected resource metadata (RFC 9728):
HTTP/2 401
www-authenticate: Bearer resource_metadata="https://aws-mcp.infobip.com/message/.well-known/oauth-protected-resource",
scope="profile offline_access messages-api:manage"
{
"resource": "https://aws-mcp.infobip.com/message",
"resource_name": "Infobip Messages API MCP server",
"authorization_servers": ["https://auth.infobip.com/realms/infobip"],
"scopes_supported": ["profile", "offline_access", "messages-api:manage"]
}
The  scopes_supported  list and the  scope  value in the  WWW-Authenticate  header carry the same scopes; their order is not significant and may vary between requests.
OAuth-capable clients such as Claude Code, Cursor, VS Code, and IntelliJ IDEA discover the Infobip authorization server and start the login flow automatically on first connection. Server-side agents and gateways can use a scoped API key instead.

Hosted on AWS


The Message MCP Server runs in the AWS Europe (Frankfurt) Region ( eu-central-1 ). A request flows as follows:
  1. The MCP client obtains an OAuth access token (scope  messages-api:manage ) from the Infobip OAuth authorization server, or uses an API key.
  1. Amazon Route 53 resolves  aws-mcp.infobip.com  to an internet-facing Network Load Balancer with nodes in public subnets in two Availability Zones ( eu-central-1a  and  eu-central-1b ).
  1. The NLB forwards HTTPS traffic to a Kubernetes cluster running on Amazon EC2 in private subnets, where a HAProxy ingress routes each request to the MCP server pods.
  1. An authentication filter inside each MCP server pod checks every request. It forwards the credentials from the  Authorization  header to a verification endpoint on the Infobip platform API ( api.infobip.com ), which validates the OAuth access token with the Infobip OAuth server or checks the API key. Only verified requests reach the MCP server logic (for example,  /message ).
  1. The MCP server translates tool calls into requests to the Infobip platform API, reaching it through per-AZ NAT gateways. The Infobip platform delivers the message to the end user's device.
All outbound traffic from the private subnets, including credential verification, leaves through the NAT gateways. Infrastructure metrics flow into Amazon CloudWatch for dashboards and alarms, while Kubernetes cluster metrics (CPU, pod memory, throttling) are tracked in Grafana.
The MCP server enforces authentication, but authentication itself and token issuing happen in the Infobip platform. Because the filter is part of the shared MCP server framework, Infobip can add MCP servers without duplicating security code, and every server supports all authentication methods of the Infobip platform. It also lets each server scale independently, and running across two Availability Zones keeps the endpoint available if one zone is impaired.

Easy integration into agentic solutions

There are two primary ways to use the Message MCP Server: connect to it directly from an agent framework (Option A), or route to it through Amazon Bedrock AgentCore Gateway (Option B). Developer tools and AI assistants can also connect to it over OAuth (see IDEs and AI assistants, below).

Option A: Connect directly from an agent framework

Any agent framework with a remote MCP client can connect to the server directly. This includes Strands Agents, LangChain and LangGraph, CrewAI, the OpenAI Agents SDK, Spring AI, and Koog. The client points at  https://aws-mcp.infobip.com/message  over Streamable HTTP and sends either an OAuth access token or the  Authorization: App <API_KEY>  header.
For example, a Spring AI application adds  spring-ai-starter-mcp-client  and declares a Streamable HTTP connection:
spring:
ai:
mcp:
client:
toolcallback:
enabled: true
streamable-http:
connections:
message:
url: https://aws-mcp.infobip.com
endpoint: /message
An  McpClientCustomizer  then adds the  Authorization: App <API_KEY>  header to the connection, where  <API_KEY>  is your own Infobip API key. A complete runnable example is available in  infobip/infobip-shift-2026-message-mcp-spring-ai .
With the direct option, the agent (or the application that hosts it) holds the Infobip API key and attaches it to every request itself. This is the simplest path when you own the agent code and are comfortable managing the credential in your application configuration or secrets store.

Option B: Through Amazon Bedrock AgentCore Gateway (no agent code changes)

The Infobip Message MCP Server can be connected to agents through AgentCore Gateway as a remote MCP-server target. The AWS workshop  Building Java AI agents with Spring AI and Amazon Bedrock AgentCore  demonstrates this integration end to end (see  Featured in the AWS workshop ).
With this option, the agent keeps its existing authenticated connection to the Gateway and never sees the Infobip key — the Gateway stores it in AgentCore Identity and injects it into every request it forwards. If the agent already uses an AgentCore Gateway, adding Infobip takes two AWS CLI calls.
First, store the API key with AgentCore Identity as an API-key credential provider, and capture the ARN it returns:
INFOBIP_PROVIDER_ARN=$(aws bedrock-agentcore-control create-api-key-credential-provider \
--name "mcp-infobip-apikey-provider" \
--api-key "App ${INFOBIP_API_KEY}" \
--region ${AWS_REGION} \
--query 'credentialProviderArn' --output text)
Then add the Message MCP Server as an MCP-server target. Set the credential provider as the target's egress authentication:
TARGET_CONFIG=$(jq -n --arg endpoint "https://aws-mcp.infobip.com/message" \
'{mcp: {mcpServer: {endpoint: $endpoint}}}')

CREDENTIAL_CONFIG=$(jq -n --arg providerArn "${INFOBIP_PROVIDER_ARN}" \
'[{credentialProviderType: "API_KEY", credentialProvider: {apiKeyCredentialProvider: {providerArn: $providerArn, credentialLocation: "HEADER", credentialParameterName: "Authorization"}}}]')

aws bedrock-agentcore-control create-gateway-target \
--gateway-identifier "${GATEWAY_ID}" \
--name "infobip" \
--target-configuration "${TARGET_CONFIG}" \
--credential-provider-configurations "${CREDENTIAL_CONFIG}" \
--region ${AWS_REGION}
The two samples above use several shell variables. Only three need values from you; the rest are either produced by the commands or constructed inline:
Variable
Set it yourself?
What it is / where it comes from
 INFOBIP_API_KEY 
Yes
Your Infobip API key, from the Infobip web console. Use the raw key only — the command already prepends the  App  prefix, so don't include it in the value, or the server will receive  App App <key> .
 AWS_REGION 
Yes
The AWS region of your AgentCore resources, e.g.  eu-central-1 .
 GATEWAY_ID 
Yes
The identifier of your existing AgentCore Gateway.
 INFOBIP_PROVIDER_ARN 
No — leave as is
The ARN of the credential provider. It is returned by the first command ( create-api-key-credential-provider ) and captured into this variable automatically, then reused by the second command. Do not hand-edit it.
 TARGET_CONFIG ,  CREDENTIAL_CONFIG 
No — leave as is
JSON payloads built inline by the  jq  commands. They consume the variables above; you don't populate them directly.
On its next  tools/list , the agent discovers  infobip___send  and  infobip___check_status  alongside its other Gateway tools. The agent needs no new code. This works the same way for any agent framework that connects to the Gateway as an MCP client.

IDEs and AI assistants

The server also works with MCP-capable developer tools and assistants, such as Claude Code, Claude Desktop, Cursor, VS Code, IntelliJ IDEA, and Codex CLI. Point the client at the endpoint and sign in with OAuth.

Prompting tip

Infobip owns the tool descriptions and the Gateway passes them through unchanged, so put channel-specific guidance in the agent's system prompt. For SMS, tell the model to write plain text without markdown or emoji and to stay within 160 characters. A single emoji or other character outside the GSM-7 character set (for example, most non-Latin scripts) switches the message to Unicode encoding and drops the limit to 70 characters, so a model that formats its chat replies richly quickly ends up sending several SMS segments. The system prompt is also the place for application rules, such as sending only agent-written summaries and asking the user to confirm the recipient before sending.

Featured in the AWS workshop

The Message MCP Server is part of the AWS workshop  Building Java AI agents with Spring AI and Amazon Bedrock AgentCore  as the optional section Infobip Message MCP, under the Model Context Protocol module.


In the workshop, participants build an agent that already reaches internal business systems through MCP servers behind AgentCore Gateway. The workshop uses Spring AI, but the Gateway configuration is framework-independent and works for agents built with any MCP-capable framework. The Infobip section shows the pattern that applies to any business domain: once the agent has done its work, it notifies a person about the result. Examples include an order confirmation, an appointment reminder, a case status update, or a travel itinerary. In the section, participants:
  • Add Infobip as one more target on the existing Gateway, next to the internal MCP servers
  • Keep the API key in AgentCore Identity, outside the agent code
  • Extend the system prompt so the agent sends its own summary as a single SMS and confirms only after the tool call succeeds
  • Ask the agent to send a summary to their phone number, receive the SMS, and then ask "Was that delivered?" to see  check_status  in action
The section works with an Infobip free trial account, so participants don't need to configure a sender.

Available in AWS Marketplace

The Infobip Message MCP Server is listed in  AWS Marketplace  as a SaaS product available free of charge. Free subscriptions have no end date, and messages sent are billed separately by Infobip:
"Give your AI agents a single, lightweight tool to send SMS, RCS, MMS, and Viber messages built for minimal context footprint and fast integration with the Infobip cloud platform and AWS."
The Marketplace listing gives AWS customers:
  • Discovery alongside other agent tools in AWS Marketplace
  • Procurement through your existing AWS account

What's next

  • Support for MCP 2026-07-28. Adopting the newer revision (stateless protocol,  server/discover  instead of the  initialize  handshake) is planned.
  • More supported APIs. Additional Infobip APIs will be exposed through the AWS-hosted MCP endpoint.

Conclusion

The Infobip Message MCP Server makes multi-channel messaging a native capability for AI agents. It exposes two tools on a standards-based, AWS-hosted MCP endpoint that is protected by OAuth with PKCE and available in AWS Marketplace. With Amazon Bedrock AgentCore Gateway, adding it takes two CLI commands and no agent code.

Try it

Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article