Skip to main content

Claude and ChatGPT (MCP)

RPG Stack runs a remote MCP server. Connect it once and ask your assistant about your characters, campaigns and NPCs, or have it roll for you.

Server URL

https://rpgstack.com/api/mcp

When you add it, the app opens an RPG Stack page where you sign in and choose what it may do. Reading and rolling are always allowed; adding notes and generating NPCs is a separate box you tick. The app only ever sees what your own account can see.

Claude

  1. Open Settings, then Connectors, and choose Add custom connector.
  2. Name it RPG Stack and paste the server URL above.
  3. Click Connect, sign in to RPG Stack and click Allow.

In Claude Code, run:

claude mcp add --transport http rpgstack https://rpgstack.com/api/mcp

ChatGPT

  1. Custom connectors need developer mode: open Settings, then Apps & Connectors, then Advanced settings, and turn it on.
  2. Create a connector, paste the server URL above and pick OAuth as the authentication.
  3. Sign in to RPG Stack and click Allow.

Other clients: personal token

A client that cannot do OAuth can send a personal access token instead. Create one under Settings, Integrations, pick one of the MCP client options, and send it as a header:

Authorization: Bearer rps_pat_...

The read option can read and roll; the other one can also add notes and generate NPCs. Tokens made for Forumera do not work here. Revoke a token on the same page when you stop using it.

Tools

list_charactersYour characters.
get_characterOne full character sheet, with the stats and skills it can roll.
roll_diceDice notation like 2d6+3 or 4d6kh3, or a character stat rolled with the game system's own rules.
list_campaignsCampaigns you run or play in.
get_campaignOne campaign with its recent sessions, session notes, campaign notes and characters.
list_npcs, get_npcNPCs in a campaign. Players see only the NPCs the GM revealed; secrets and GM notes go to the GM only.
add_session_noteAdds a note to one of your characters.
generate_npcGenerates and saves an NPC in a campaign you GM. Costs 5 AI credits.

Disconnecting

Open Settings, Integrations and revoke the app under Connected apps. It loses access right away. A connection that is not used for 30 days also stops working on its own.