How to Use the Hexometer MCP in OpenAI Agents SDK
Build production SRE agents that monitor site health with Hexometer and the OpenAI Agents SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Hexometer MCP to OpenAI Agents SDK
Create your Vinkius account to connect Hexometer 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 Daily Health Audits
Your agent can run a full health check every morning. It starts by calling `list_monitored_sites` to get the target list, then loops through each one, running `get_site_health` and `get_uptime_stats`. The agent gets structured data back, not a messy report. You can build rules to escalate issues. If `get_security_status` shows an SSL problem, the agent can create a ticket. The SDK's built-in guardrails also stop your agent from spamming `list_recent_alerts` and causing alert fatigue.
Pinpoint Performance Bottlenecks
Find out exactly what's slowing your site down. Your agent can use `check_speed_desktop` and `check_speed_mobile` to get performance scores for critical pages. It's not just a number; the agent receives a full breakdown of asset sizes and load times. This lets you build specialized agents. One agent could monitor for new, heavy assets with `check_page_errors`, while another tracks the core web vitals scores over time. You can hand off findings between them for a complete performance overview.
Run SEO Checks with This MCP Server
Stop finding broken links after your users do. Set up an agent to run `check_broken_links` across your entire site weekly. It gets a clean list of every 404, ready to be turned into a bug report. You can also trigger on-demand SEO checks. Before a big launch, have your agent run a full `run_seo_audit` on the new pages. The OpenAI dashboard gives you full tracing, so you see exactly what the agent checked and what it found.
Set up Hexometer 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 Hexometer tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Hexometer tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Hexometer 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="Hexometer Agent",
instructions="You have access to Hexometer 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 Hexometer. 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 Hexometer 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 Hexometer MCP today
We host it, we monitor it, we maintain it. You just paste one token.