dnd-beyond-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dnd-beyond-mcpList my D&D Beyond characters"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dnd-beyond-mcp
A Model Context Protocol (MCP) server that lets Claude read your D&D Beyond characters and campaigns. It uses Playwright to authenticate with Wizards ID and access your account data.
Prerequisites
Node.js 18+
A D&D Beyond account
Related MCP server: Cloudflare Playwright MCP
Installation
git clone <repo>
cd dnd-beyond-mcp
npm install
npx playwright install chromium
npm run buildClaude Desktop setup
Add the following to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"dnd-beyond": {
"command": "node",
"args": ["/absolute/path/to/dnd-beyond-mcp/dist/index.js"]
}
}
}Restart Claude Desktop after editing the config.
First-time login
The first time you use the server, ask Claude to run ddb_login. A Chromium browser window will open — sign in with your Wizards ID account. Once complete, the session is saved to ~/.config/dnd-beyond-mcp/session.json and reused automatically in all future sessions.
Available tools
Tool | Description |
| Open browser and log in via Wizards ID |
| Check if the current session is active |
| List all characters on your account |
| Get a full character sheet (by ID or name) |
| Get campaign details and roster (by campaign ID) |
Example prompts
"List my D&D Beyond characters"
"Show me the character sheet for Aldric"
"What spells does my wizard have prepared?"
"Who's in campaign 12345678?"
Session persistence
The Playwright storage state (cookies + localStorage) is saved to ~/.config/dnd-beyond-mcp/session.json after a successful login. Subsequent sessions load this file automatically — no re-login needed unless the session expires.
Running in Cowork / remotely
This server runs locally and requires a real browser for the login flow. It is not directly compatible with Claude.ai's Cowork remote execution environment without additional infrastructure (an HTTP transport + ngrok tunnel, or a deployed server with pre-baked session cookies).
dnd-beyond-mcp
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jacoscha/dnd-beyond-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server