How to Use the Messaggio MCP in OpenAI Agents SDK
Trigger high-volume SMS, Viber, and WhatsApp dispatches directly from your OpenAI Agents SDK workflows with built-in guardrails.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Messaggio MCP to OpenAI Agents SDK
Create your Vinkius account to connect Messaggio to OpenAI Agents SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run Guarded Messaggio MCP Server Sends
The `send_simple_sms` tool allows your OpenAI Agents SDK pipeline to dispatch critical alerts without manual intervention. Because the SDK enforces runtime guardrails, your agent checks message templates against strict safety policies before hitting the carrier networks. You configure the agent to call `get_message_status` right after dispatching to track delivery metrics. The OpenAI dashboard traces these tool calls in real time, so you see exactly when a Viber or WhatsApp message changes state.
Coordinate Bulk Campaigns via Agent Handoffs
The `send_bulk` tool lets a specialized marketing agent handle massive contact lists using this MCP Server. Your primary agent gathers the audience data, then hands off the task to a messaging-specific agent that handles the actual payload distribution. This handoff pattern prevents your main conversational loop from getting bogged down during long-running operations. The agent uses `list_project_senders` to select the correct sender ID for each country, keeping your routing clean and compliant.
Inspect Sender Profiles and Templates Instantly
The `get_template` tool retrieves pre-approved text structures via our MCP integration so your OpenAI Agents SDK agent never drafts non-compliant messages. By reading direct configurations from your project, the agent dynamically populates variables for SMS or Viber on the fly. If a sender ID stops responding, the agent calls `get_sender` to verify configuration details before attempting another dispatch. You get immediate feedback on route status, which keeps your automated customer updates flowing without silent failures.
Set up Messaggio MCP in OpenAI Agents SDK
Prerequisites
- Python 3.10+ installed
-
openai-agentspackage (pip install openai-agents) - Active Vinkius subscription with a valid endpoint token
- 1
Install the SDK
Run
pip install openai-agentsto install the OpenAI Agents SDK. The MCP integration is built-in — no extra dependencies needed. - 2
Connect via SSE transport
Use
MCPServerSsewith your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. The SDK auto-discovers all Messaggio tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Messaggio tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Messaggio tools and returns structured results. Copy the full example on the right to get started.
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerSse
async def main():
async with MCPServerSse(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
) as server:
agent = Agent(
name="Messaggio Agent",
instructions="You have access to Messaggio tools.",
mcp_servers=[server],
)
result = await Runner.run(agent, "List recent transactions")
print(result.final_output)
asyncio.run(main()) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Messaggio. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Messaggio MCP in OpenAI Agents SDK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Messaggio MCP today
We host it, we monitor it, we maintain it. You just paste one token.