How to Use the United Airlines MCP in OpenAI Agents SDK
Manage United Airlines operations reliably with the OpenAI Agents SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect United Airlines MCP to OpenAI Agents SDK
Create your Vinkius account to connect United Airlines 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.
Track Real-Time Status and Future Flights
Need to know where a flight is? Use `get_flight_status` or `get_arrivals` to check current operational status at any major airport. The agent gives you the gate, terminal, estimated time, and live status (active, delayed, etc.) for specific United Airlines flights. You can also look ahead with `get_future_flights`. This checks planned schedules for a date in the future, giving you flight numbers, times, and gates before you even book. It’s solid for trip planning.
Analyze Full Network Routes
Want to know if United Airlines flies between two specific cities? The `get_route` tool handles that by checking both IATA codes and telling you if it's a direct route or a codeshare. It’s better than just guessing. If you need a full picture of what United serves, `get_airline_routes` lists every origin-destination pair they operate, letting you analyze the entire network map at once.
Investigate Past Performance
Checking if that flight was late last month? Run `get_flight_history`. This pulls actual departure and arrival times, plus details on delays or cancellations for a specific past date. It's critical for performance reviews. For assets management, use `get_aircraft_fleet` to pull static data on the exact types of aircraft United Airlines uses across its whole fleet.
Set up United Airlines 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 United Airlines tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives United Airlines tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate United Airlines 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="United Airlines Agent",
instructions="You have access to United Airlines 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 United Airlines. 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 United Airlines 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 United Airlines MCP today
We host it, we monitor it, we maintain it. You just paste one token.