How to Use the ZeroTier MCP in OpenAI Agents SDK
ZeroTier Network Control for Production OpenAI Agents SDK Deployments.
Works with every AI agent you already use
…and any MCP-compatible client
Connect ZeroTier MCP to OpenAI Agents SDK
Create your Vinkius account to connect ZeroTier 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 ZeroTier Networks with the MCP Server
This dedicated MCP Server exposes tools that let your agent fully control complex virtual networks. You can list all available central networks using `list_central_networks` or check local node health via `get_local_status`. This gives your production agent full visibility into its networking environment. The server doesn't just read data; it writes to it. Your AI client uses tools like `update_central_network_member` to authorize new peers or configure existing ones, making the agent an active network administrator.
Authorize Members in ZeroTier Networks
The server gives you granular control over who's on the wire. When your agent needs to onboard a new machine, it executes `update_controller_network_member`. This tool handles authorization and configuration for managed networks. Need to know who’s connected? Your client runs `list_central_network_members` to pull a list of all current peers on a specified ZeroTier Central network. It's perfect for audit logging within your agent's workflow.
Monitor Local Node Status via MCP Server
Building resilient agents requires knowing the state of the machine they run on. Use `get_local_status` to get real-time details about the local ZeroTier node. This check is crucial for ensuring network connectivity before an agent attempts a core task. If your agent needs to move or change networks, it can use `join_local_network`. Conversely, if the job is done and the connection isn't needed, `leave_local_network` cleanly disengages the node.
Set up ZeroTier 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 ZeroTier tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives ZeroTier tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate ZeroTier 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="ZeroTier Agent",
instructions="You have access to ZeroTier 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 ZeroTier. 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 ZeroTier 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 ZeroTier MCP today
We host it, we monitor it, we maintain it. You just paste one token.