
alexworland/dndbeyond-mcp
Browser automationこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
D&D BeyondのMCPサーバー - キャラクターシート、キャンペーン、呪文、モンスターなど
概要
D&D Beyond 用の TypeScript MCP (Model Context Protocol) サーバー D&D Beyondのキャラクター、キャンペーン、呪文、モンスター、アイテムなどにアクセスできるClaude(およびその他のMCP互換AIアシスタント)を提供します。 このプロジェクトでは、非公式なリバースエンジニアリングD&D Beyondエンドポイントを使用します。 海岸のD&D BeyondまたはWagersによって提携、終了、またはサポートされていません。 エンドポイントは予告なく変更する場合があります。 - — 文字シートを読んで、HP、呪文スロット、死の保存、通貨 - — リストキャンペーン、ビューパーティーのロスター - - 呪文、モンスター、魔法のアイテム、魔法のアイテム、feats、条件、クラス - - - セッションの準備、レベルアップガイダンス、呪文の推奨事項 - - - Playwright - パワードログインフロー(手動クッキー抽出なし) npx でインストールせずにこのサーバーを実行できます。 サーバーを使用する前に、D&D Beyond で認証します。 D&D Beyond 通常にログインするブラウザウィンドウを開きます。 サーバはセッションクッキーを自動的にキャプチャし、~/ に保存します.
概要(AI 翻訳)
D&D Beyond 用の TypeScript MCP (Model Context Protocol) サーバー D&D Beyondのキャラクター、キャンペーン、呪文、モンスター、アイテムなどにアクセスできるClaude(およびその他のMCP互換AIアシスタント)を提供します。
免責事項: このプロジェクトでは、非公式なリバースエンジニアリングD&D Beyondエンドポイントを使用します。 海岸のD&D BeyondまたはWagersによって提携、終了、またはサポートされていません。 エンドポイントは予告なく変更する場合があります。
##特徴
- Character Management — 文字シートを読み、HP、呪文スロット、死は、通貨を保存します
- キャンペーンアクセス — リストキャンペーン、ビューパーティーロスター
- 参照ルックアップ — 呪文、モンスター、魔法のアイテム、feats、条件、クラスを検索し、取得
- ワークフロープロンプト — セッションの準備、会議、レベルアップガイダンス、スペルの推奨事項
- ブラウザベースのAuth — Playwright-poweredログインフロー(手動クッキー抽出なし)
インストール
[npx]を介してインストールせずにこのサーバーを実行できます。
またはグローバルにインストールします。
セットアップ
サーバーを使用する前に、D&D Beyond で認証します。
D&D Beyond 通常にログインするブラウザウィンドウを開きます。 サーバはセッションクッキーを自動的にキャプチャし、それを `~/ に保存します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
dndbeyond-mcp
A TypeScript MCP (Model Context Protocol) server for D&D Beyond. Gives Claude (and other MCP-compatible AI assistants) access to your D&D Beyond characters, campaigns, spells, monsters, items, and more.
Disclaimer: This project uses unofficial, reverse-engineered D&D Beyond endpoints. It is not affiliated with, endorsed by, or supported by D&D Beyond or Wizards of the Coast. Endpoints may change without notice.
Features
- Character Management — Read character sheets, update HP, spell slots, death saves, currency
- Campaign Access — List campaigns, view party rosters
- Reference Lookups — Search and retrieve spells, monsters, magic items, feats, conditions, classes
- Workflow Prompts — Session prep, encounter building, level-up guidance, spell recommendations
- Browser-Based Auth — Playwright-powered login flow (no manual cookie extraction)
Installation
You can run this server without installing via npx:
npx dndbeyond-mcp
Or install globally:
npm install -g dndbeyond-mcp
Setup
Before using the server, authenticate with D&D Beyond:
npx dndbeyond-mcp setup
This opens a browser window where you log into D&D Beyond normally. The server captures your session cookie automatically and saves it to ~/.dndbeyond-mcp/config.json.
Claude Desktop Configuration
Add this to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"dndbeyond": {
"command": "npx",
"args": ["-y", "dndbeyond-mcp"]
}
}
}
After adding the configuration, restart Claude Desktop.
Tools
Character
get_character— Full character sheet by ID or namelist_characters— All your charactersupdate_hp— Apply damage or healingupdate_spell_slots— Use or restore spell slotsupdate_death_saves— Record death savesupdate_currency— Modify gold/silver/copperuse_ability— Decrement limited-use features
Campaign
list_campaigns— Your active campaignsget_campaign_characters— All characters in a campaign
Reference
search_spells/get_spell— Spell lookup with filterssearch_monsters/get_monster— Monster stat blockssearch_items/get_item— Magic item catalogsearch_feats— Feat discoveryget_condition— Condition rulessearch_classes— Class/subclass info
Utility
setup_auth— Re-run login flowcheck_auth— Verify session is valid
Resources
| URI | Description |
|---|---|
dndbeyond://characters |
Your character list |
dndbeyond://character/{id} |
Character sheet |
dndbeyond://character/{id}/spells |
Spell list |
dndbeyond://character/{id}/inventory |
Inventory |
dndbeyond://campaigns |
Your campaigns |
dndbeyond://campaign/{id}/party |
Party roster |
Prompts
インストール
npx -y dndbeyond-mcp設定
{
"mcpServers": {
"dndbeyond": {
"command": "npx",
"args": ["-y", "dndbeyond-mcp"]
}
}
}