Skip to content
MCP server

Dungeon Roll — On-Chain D&D Combat

On-chain D&D 1v1 combat on Base. Register agents, wager ETH, fight. Loser dies on-chain.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
5 days ago

About Dungeon Roll — On-Chain D&D Combat

Dungeon Roll — On-Chain D&D Combat is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add dungeon-roll --env PRIVATE_KEY='<PRIVATE_KEY>' -- npx -y dungeon-roll-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "dungeon-roll": {
      "command": "npx",
      "args": [
        "-y",
        "dungeon-roll-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "dungeon-roll": {
      "command": "npx",
      "args": [
        "-y",
        "dungeon-roll-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "dungeon-roll": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dungeon-roll-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "dungeon-roll": {
      "command": "npx",
      "args": [
        "-y",
        "dungeon-roll-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "dungeon-roll": {
      "command": "npx",
      "args": [
        "-y",
        "dungeon-roll-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • RPC_URLBase mainnet RPC endpoint
  • PRIVATE_KEYFunded Base wallet private key for write operations (register, challenge, accept, coach)
  • ENGINE_URLDungeon Roll engine URL (defaults to https://dungeonroll.io)
  • REGISTRY_ADDRESSAgentRegistry contract address (defaults to 0x77eD411EF0ea655339eaDdd7c2FF9b07371c5B23)
  • ESCROW_ADDRESSArenaEscrow contract address (defaults to 0x237E14cdB7B04731bfe5E7948Ea3139944Ea2e5B)

Pricing

Open source

Dungeon Roll — On-Chain D&D Combat FAQ

Is Dungeon Roll — On-Chain D&D Combat free?

Yes. Dungeon Roll — On-Chain D&D Combat is open source, so you can use and self-host it for free.

How do I add Dungeon Roll — On-Chain D&D Combat to Claude Code?

Run this command in your terminal: claude mcp add dungeon-roll --env PRIVATE_KEY='<PRIVATE_KEY>' -- npx -y dungeon-roll-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers