How to Use the Incident.io MCP in OpenAI Agents SDK
Build production-ready Incident.io triaging agents with the OpenAI Agents SDK that respect your guardrails and handle on-call handoffs.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Incident.io MCP to OpenAI Agents SDK
Create your Vinkius account to connect Incident.io 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.
Triage production outages with OpenAI Agents SDK
This MCP Server exposes `list_incidents` and `get_incident` so your OpenAI Agents SDK system can fetch active outages and pull incident details during high-pressure events. Your agent uses these tools to read raw incident payloads, parse the current state, and make decisions without human intervention. Because the OpenAI Agents SDK supports strict guardrails, you can verify the output of `get_incident` before your agent passes the data to downstream systems. This setup prevents your LLM from acting on hallucinated outage metrics or misinterpreting critical severity levels.
Automate on-call handoffs via OpenAI Agents SDK
The `list_schedules` and `list_users` tools let your OpenAI Agents SDK agent identify who is currently active on-call and assign work directly to the right engineer. This eliminates the manual step of looking up rosters in the middle of the night. You can configure specialized agents within the OpenAI Agents SDK to pass the context of an outage from a triage agent to an on-call agent. The on-call agent receives the exact user ID from `list_users` and the schedule details from `list_schedules` to coordinate the response.
Map custom metadata with OpenAI Agents SDK
This MCP Server uses `list_custom_fields` and `list_catalog_types` to let your OpenAI Agents SDK agent query your organization's specific incident categorization schemas. The agent reads these fields to classify incoming issues according to your internal business rules. By combining `list_custom_fields` with the OpenAI dashboard's tracing features, you can monitor exactly how your agent maps incident metadata. If the agent misclassifies an outage, the trace shows you the exact tools invoked and the raw JSON returned from your server.
Set up Incident.io 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 Incident.io tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Incident.io tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Incident.io 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="Incident.io Agent",
instructions="You have access to Incident.io 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 Incident.io. 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 Incident.io 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 Incident.io MCP today
We host it, we monitor it, we maintain it. You just paste one token.