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 Builder Access ($5/month). Any Polyhedral AI-powered actions also consume prepaid AI credits.

Prerequisites

  1. Start an active Builder Access subscription.
  2. Open Developer Tools from your avatar menu and create an API key.
  3. 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

Resources

The server also exposes MCP resources for browsing game data:

For more about the protocol, see the MCP specification .