How to Use the MotionTools MCP in OpenAI Agents SDK
Spin up production-grade delivery workflows with the OpenAI Agents SDK and real-time MotionTools dispatch.
Works with every AI agent you already use
…and any MCP-compatible client
Connect MotionTools MCP to OpenAI Agents SDK
Create your Vinkius account to connect MotionTools 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.
Automate dispatch with the MotionTools MCP Server.
The `create_booking` tool lets your agent book delivery runs directly within your Python service. Once a booking drops, you can pull details instantly with `get_booking` to check its status. This setup bypasses manual dispatch queues entirely. Your agent handles the back-and-forth, monitoring the schedule by running `list_bookings` to keep your logistics pipeline moving.
Live driver and vehicle tracking
The `list_drivers` tool gives your agent a clean look at who is currently on the road. You pair this with `get_driver` to pull specific operator records when an order gets delayed or needs reassignment. Fleet tracking requires knowing the gear, not just the operator. Your agent runs `list_vehicles` to scan the fleet and `get_vehicle` to check specific truck specs before assigning heavy cargo.
Control delivery zones and customer records
The `list_service_areas` tool tells your agent exactly where your fleet operates. When an order comes in from a new boundary, the agent checks `get_service_area` to confirm coverage before committing. Customer lookups run just as fast. Your agent calls `list_customers` to verify accounts, matching order histories with active delivery zones without leaving the execution thread.
Set up MotionTools 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 MotionTools tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives MotionTools tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate MotionTools 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="MotionTools Agent",
instructions="You have access to MotionTools 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 MotionTools. 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 MotionTools 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 MotionTools MCP today
We host it, we monitor it, we maintain it. You just paste one token.