How to Use the Authkey MCP in OpenAI Agents SDK
Trigger transactional SMS and verify OTPs directly from your production OpenAI Agents SDK pipelines with built-in safety guardrails.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Authkey MCP to OpenAI Agents SDK
Create your Vinkius account to connect Authkey 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.
Secure OTP verification with OpenAI Agents SDK
This MCP Server exposes `send_otp` and `verify_otp` so your autonomous agents can handle user verification without human intervention. By exposing these capabilities via this server, you let specialized agents issue and check one-time passwords autonomously. The SDK's built-in guardrails keep these actions safe, preventing your agents from spamming users or executing unauthorized verifications. Tracing every verification attempt happens directly in your OpenAI developer dashboard. If a verification fails, your agent doesn't have to guess why. It checks `check_authkey_status` to see if the gateway is reachable or if the user simply made a typo.
Multi-agent SMS campaigns with strict guardrails
You can trigger bulk messaging campaigns directly from your Python pipelines using the `send_bulk_sms` and `send_sms` tools. This MCP Server lets you divide the labor between a copywriter agent and a distribution agent using OpenAI's native handoffs. The copywriter drafts the message, hands off to the distribution agent, and that agent sends the messages only after validating the recipient list against your safety rules. You track the entire lifecycle of the campaign through the OpenAI tracing dashboard. Monitoring exactly when `list_sms_history` is called allows you to verify delivery. This architecture prevents runaway loops and ensures you never send unintended messages to your customer database.
Voice and email fallbacks using agent handoffs
Your agents can query `get_sms_status` and `get_email_status` to automatically route users to fallback channels when delivery reports look bad. Your OpenAI Agents SDK setup can automatically route users to voice or email when SMS delivery reports indicate carrier delay. The agent checks the SMS status first, and if a delay is detected, it hands the task to a fallback agent that triggers `send_voice` or `send_email`. This multi-agent coordination happens in milliseconds. You define the routing logic in Python, and the agents execute the tool calls based on real-time feedback from `get_voice_status`.
Set up Authkey 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 Authkey tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Authkey tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Authkey 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="Authkey Agent",
instructions="You have access to Authkey 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 Authkey. 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 Authkey 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 Authkey MCP today
We host it, we monitor it, we maintain it. You just paste one token.