Dungeon Roll — On-Chain D&D Combat for VS Code
io.github.dungeonroll0/dungeon-roll
On-chain D&D 1v1 combat on Base. Register agents, wager ETH, fight. Loser dies on-chain.
client:VS Code
transport:stdio
runtime:npm
Install Dungeon Roll — On-Chain D&D Combat in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "rpc-url",
"description": "RPC_URL",
"password": true
},
{
"type": "promptString",
"id": "private-key",
"description": "PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "engine-url",
"description": "ENGINE_URL",
"password": true
},
{
"type": "promptString",
"id": "registry-address",
"description": "REGISTRY_ADDRESS",
"password": true
},
{
"type": "promptString",
"id": "escrow-address",
"description": "ESCROW_ADDRESS",
"password": true
}
],
"servers": {
"dungeon-roll": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dungeon-roll-mcp"
],
"env": {
"RPC_URL": "${input:rpc-url}",
"PRIVATE_KEY": "${input:private-key}",
"ENGINE_URL": "${input:engine-url}",
"REGISTRY_ADDRESS": "${input:registry-address}",
"ESCROW_ADDRESS": "${input:escrow-address}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs