MCP (AI Integration)
More actions
The Repertoire Builder provides the ability for AI companies and chat based agents to securely connect to your personal chess data using the Model Context Protocol (MCP). This integration allows external AI systems to query your repertoires and games directly, making it possible to have informed and contextual conversations about your openings, positions, and preparation.
By exposing your data through MCP, the Repertoire Builder enables a new class of chess workflows where AI assistants can reason over your actual repertoire structure, reference your played games, and provide guidance that is grounded in your personal preparation rather than generic theory.
This means you can chat with AI about your repertoire, ask questions about specific lines, explore alternatives, and receive explanations that are directly tied to the data you have built inside Chessboard Magic.
This integration allows you to:
- + Allow AI agents to securely query your repertoires and imported games
- + Discuss your openings and positions using real and personalized context
- + Integrate third party AI tools with your Repertoire Builder data
Personal Access Token

The first step in using MCP is generating your Personal Access Token (PAT). This token is used to authenticate your profile when external AI systems attempt to connect to the Repertoire Builder, ensuring that only you can grant access to your data.
To generate a PAT:
- ◦ Go to your Profile
- ◦ Click Edit Profile
- ◦ Click Generate Token
Once generated, copy the token and store it securely. You will need this token when configuring any MCP compatible AI client.
MCP Server
After generating your PAT, you will need to connect through the official Chessboard Magic MCP Server. This server acts as the bridge between external AI systems and the Repertoire Builder, enforcing authentication and exposing structured access to your data.
The MCP server is available at the following location: https://github.com/HollowLeaf1981/chessboardmagic-mcp
Installation and configuration steps depend on the chat agent or AI platform you are using. Each agent integrates MCP differently, so you should consult the documentation provided by your chosen system to complete setup.
Once configured, your AI client will be able to authenticate using your PAT and issue queries against your repertoire and game data in a controlled and secure manner.
ChessAgine
ChessAgine is a free and open source AI powered chess interface that demonstrates how MCP integration can be used in practice.
ChessAgine combines large language models and traditional chess engines into a unified interface, allowing users to analyze positions, discuss ideas, and explore games conversationally. It supports MCP connectivity, enabling it to connect directly to the Repertoire Builder and reason over your personal chess data.
Built for the community and by the community, ChessAgine provides a concrete example of how AI tooling can extend beyond static analysis and turn your repertoire into something you can actively discuss, interrogate, and refine with intelligent assistants.
Together, MCP and compatible AI tools transform the Repertoire Builder into an extensible and AI aware platform that enables deeper insight, richer explanations, and more personalized chess improvement.
For detailed setup instructions and MCP configuration examples, see the ChessAgine documentation: https://www.chessagine.com/docs