Dicey Table

Get started

Install the DiceyTable MCP bridge

You need Node.js 20.19 or newer, an API key and an MCP app. Your app runs the bridge from npm with npx; save your key once with login, then add the bridge.

On this page7 sections

You need Node.js 20.19 or newer, a DiceyTable API key and an MCP app. There's nothing to download by hand. Your app runs the bridge from npm with npx -y @diceytable/mcp-bridge@1, so you save your key once with login and then tell your app about the bridge.

The bridge is the small program that links your agent to a DiceyTable tab. How the DiceyTable MCP bridge works shows what it does once it's running.

What you'll need#

  • Node.js 20.19 or newer. The bridge is a Node.js program, and npx comes with Node.js. Run node --version to check.
  • A DiceyTable account. Sign in at diceytable.com in the browser you'll pair.
  • An API key. Make one in Settings ▸ AI agents. Create an API key for your AI agent walks through it.
  • An MCP app that can run a local MCP server. The next section lists the ones we've tested.
  • A supported browser. Chrome or Edge 147 or newer, or Firefox 153 or newer, connect straight to the bridge. Safari connects through DiceyTable's relay.

Agent access is free on every plan.

Save your key with login#

Run this in a terminal:

Shell
npx -y @diceytable/mcp-bridge@1 login

Paste your key at the hidden prompt and press Enter. The bridge checks the key with DiceyTable. Then it prints your account, the key's name, its permissions and when it expires. If the key is wrong or revoked, it says so and saves nothing.

The bridge saves the key in your user folder, where only you can read it:

  • Windows: %APPDATA%\diceytable\credentials.json
  • macOS and Linux: ~/.config/diceytable/credentials.json, or under $XDG_CONFIG_HOME if you set it

Because the key lives there, your app's settings never need to hold it. You can use the DICEYTABLE_TOKEN environment variable instead, and it wins over the file.

⚠ Never paste a key into a config file. Settings files often end up in a shared repository, and a key there is a leaked key. Use login, or your app's own way of reading a variable.

Which MCP apps does it work with?#

Pick your app for its exact setup steps:

Name the server diceytable in every app. Claude Code then shows the tools as mcp__diceytable__<tool>, and our agent instructions use that name.

Any other MCP app#

Other apps that run local MCP servers work too, such as Codex, Windsurf, Gemini CLI and Kiro. Set up a stdio server, which means the app starts a program and talks to it through its text input and output. The program to run is:

Shell
npx -y @diceytable/mcp-bridge@1

The bridge writes its logs to the error stream only, so its logs can't get mixed into the agent's messages. It reads the key from the login file or from DICEYTABLE_TOKEN. Any options go after the package name. The bridge command line reference lists them all.

Do I need to turn on WebMCP?#

No. WebMCP is a browser feature for AI agents built into the browser itself. The bridge doesn't use it, so leave any WebMCP flag alone. In-browser AI agents (WebMCP) covers that other path.

Staying up to date#

The @1 in the command means "the newest 1.x release". Every 1.x bridge works with the current DiceyTable site. If the site ever needs a newer bridge, the tab says Your DiceyTable bridge is too old and names the command to run.

If it doesn't work#

Run the bridge's self-check:

Shell
npx -y @diceytable/mcp-bridge@1 doctor

It checks your Node.js version, the five ports the bridge uses, your key, the connection to DiceyTable and your computer's clock. It also prints tips for each browser. Then see Fix an agent that won't connect.

Next steps#

Did this page answer your question?