How to Use the Chess.com MCP in OpenAI Agents SDK
Pipe Chess.com player telemetry directly into your OpenAI Agents SDK workflows with strict runtime safety validation.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Chess.com MCP to OpenAI Agents SDK
Create your Vinkius account to connect Chess.com 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.
Pull historical games safely via OpenAI Agents SDK
Build a dedicated analysis agent that pulls historical match records without risking execution errors. Your agent calls `get_player_game_archives` to locate valid monthly chunks and then pulls the actual PGNs using `get_player_monthly_games`. This MCP Server hooks into the OpenAI runtime so your agent can study openings and identify tactical mistakes. Because the SDK enforces strict tool schemas, your agent won't hallucinate invalid parameters when querying historical months. You can trace every single game fetch directly on your OpenAI developer dashboard to monitor latency and token costs.
Track real-time player activity with strict guardrails
Set up a monitoring agent that checks player status before initiating heavy analytical workflows. By calling `is_player_online` and `get_player_current_games`, your agent determines if a target user is actively playing daily matches. The OpenAI Agents SDK allows you to configure handoffs, meaning a general concierge agent can check the online status first, then hand the task over to a specialized chess engine agent if the player is active. This keeps your token footprint small and your system modular.
Build interactive training loops with tactical puzzles
Serve interactive chess puzzles directly to your users by querying the active daily challenge. Your agent calls `get_daily_puzzle` to fetch the current FEN position and the exact move sequence, or falls back to `get_random_puzzle` for infinite training loops. This MCP Server handles the connection details so your agent only has to focus on evaluating the user's responses. You can easily build a slack bot that feeds daily tactics to your team, tracking player performance over time through the SDK's native logging.
Set up Chess.com 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 Chess.com tools at runtime. - 3
Create your Agent
Pass the MCP to
Agent(mcp_servers=[server]). The agent receives Chess.com tools as native definitions — JSON schemas resolve automatically. - 4
Run the agent
Call
Runner.run(agent, prompt)to execute. The agent invokes the appropriate Chess.com 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="Chess.com Agent",
instructions="You have access to Chess.com 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 Chess.com. 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 Chess.com 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 Chess.com MCP today
We host it, we monitor it, we maintain it. You just paste one token.