MCP Server
Polyhedral exposes an MCP (Model Context Protocol) server so AI coding assistants can read and write your game data — notes, encounters, library resources, dice rolls, and more. MCP access requires a paid plan (Table, $5/month). Anything that runs the AI also uses AI credits.
Prerequisites
- Be on a paid plan: Table, Solo or Solo Plus.
- Open Developer Tools from your avatar menu and create an API key.
- Copy the key — you will not be able to see it again.
Claude Code
Add this to your .mcp.json:
{
"mcpServers": {
"polyhedral": {
"type": "url",
"url": "https://polyhedral.co/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}Cursor / Windsurf
Same configuration format — add to your project or global MCP settings:
{
"mcpServers": {
"polyhedral": {
"type": "url",
"url": "https://polyhedral.co/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}Available Tools
- Games — list, get, create, update, delete, invite, list members
- Notes — get, create, update, delete, search
- Library — list resources, get resource, get page text, render page image, get TOC, search, update visibility, add/remove from game
- Chat — get history, send message
- Dice — roll dice with standard RPG notation
- Rollable Tables — get, create, update, delete, roll on table
- Encounters — get, create, update, delete
- Sheets — list fields, get/create/update/delete instances
- Maps — list, get, create, update, delete, get image
- Tokens — list tokens, manage (create/update/delete) tokens on maps
- Stage — get stage state, manage player-facing presentation
- Turn Tracker — get tracker, manage combat flow, manage turn order
- Content Organization — list all content, manage groups, tags, and content links
Resources
The server also exposes MCP resources for browsing game data:
- polyhedral://games
- polyhedral://games/{gameId}/notes
- polyhedral://games/{gameId}/notes/{noteId}
- polyhedral://games/{gameId}/library
- polyhedral://games/{gameId}/library/{resourceId}
- polyhedral://games/{gameId}/chat/recent
For more about the protocol, see the MCP specification .