A TypeScript-based Model Context Protocol (MCP) server providing comprehensive dice rolling capabilities with advanced gaming mechanics
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add dice-rolling -- node path/to/dice-rolling-mcp/dist/index.js~/.codex/config.toml
[mcp_servers.dice-rolling]
command = "node"
args = ["path/to/dice-rolling-mcp/dist/index.js"]
# codex mcp add dice-rolling -- node path/to/dice-rolling-mcp/dist/index.js~/.cursor/mcp.json
{
"mcpServers": {
"dice-rolling": {
"command": "node",
"args": [
"path/to/dice-rolling-mcp/dist/index.js"
]
}
}
}.vscode/mcp.json
{
"servers": {
"dice-rolling": {
"type": "stdio",
"command": "node",
"args": [
"path/to/dice-rolling-mcp/dist/index.js"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"dice-rolling": {
"command": "node",
"args": [
"path/to/dice-rolling-mcp/dist/index.js"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"dice-rolling": {
"command": "node",
"args": [
"path/to/dice-rolling-mcp/dist/index.js"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"dice-rolling": {
"command": "node",
"args": [
"path/to/dice-rolling-mcp/dist/index.js"
]
}
}
}