How to Use the Daily.co MCP in OpenAI Agents SDK
Give your OpenAI Agents SDK production systems full control over Daily.co WebRTC sessions.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Daily.co MCP to OpenAI Agents SDK
Create your Vinkius account to connect Daily.co 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.
Manage Rooms with OpenAI Agents SDK
The `create_room` and `update_room` tools let your agents spin up ephemeral video infrastructure on demand. When your routing agent detects a high-priority customer ticket, it instantly provisions a private meeting space. Setting privacy rules happens right in the payload, bypassing manual dashboard clicks. Guardrails catch bad parameters before the network request fires. If an agent tries to execute `delete_room` on an active session, OpenAI's validation layer steps in. You keep full tracing visibility over every API call via the dashboard while the agent manages the actual WebRTC lifecycle.
Control Active Call States
Triggering `start_recording` or `start_transcription` happens the moment specific conversation triggers fire. Your compliance agent monitors the call state and kicks off these tools without human intervention. Sending data directly to connected users takes one call to `send_app_message`. Active session tracking relies on `get_room_presence` and `get_meeting_participants`. You know exactly who sits in the room at any given millisecond. Kicking bad actors uses `eject_participants`, keeping your meetings secure while the agent logs the incident.
Automate Dial-Outs and Telephony
Purchasing phone numbers requires calling `buy_phone_number` after searching the inventory via `list_available_numbers`. Your agent provisions SIP endpoints dynamically based on regional demand. Dialing out to standard phone lines happens through `start_dial_out`. Sending touch-tone signals via `send_dtmf` lets your agent navigate external phone menus. Tearing down the connection uses `stop_dial_out`. The entire telephony stack runs through your agent's automated workflows instead of a separate phone system.
Set up Daily.co 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 Daily.co tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Daily.co tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Daily.co 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="Daily.co Agent",
instructions="You have access to Daily.co 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 Daily.co. 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 Daily.co 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 Daily.co MCP today
We host it, we monitor it, we maintain it. You just paste one token.