by randa-mu
Use verifiable randomness in your AI application. This Model Context Protocol (MCP)
server enables you to get a random value from the drand network, verify its validity and use it as
an input seed to your model-driven flows!
fetch is required)You can run the MCP server either using npx or after building locally.
Create a file called .vscode/mcp.json in your workspace (or in your home directory) and add the following code:
*Configuration content*
For additional info, see the VS Code docs on MCP
You can run the drand-mcp-server alongside claude desktop by adding the following to your config:
*Configuration content*
The following tools are available from the MCP server
| Name | Params | Description |
|---|---|---|
| get-randomness-latest | none | fetches the latest available beacon from drand quicknet |
| get-randomness-by-time | time in milliseconds | fetches the randomness beacon emitted at or just before the time |
| provided | ||
| get-randomness-by-round | round | fetches the randomness beacon emitted with a given round number |
npm installnpm run buildnpm start or node ./dist/index.mjsYou can also configure VS Code and Claude as above, replacing the command/args with the following:
"command": "node",
"args": ["/path/to/my/project/drand-mcp-server/dist/index.mjs"]
No version information available