MCP Server Studio

Monitor MCP server

BetterDB MCP server - Valkey and Redis observability for Claude Code and other MCP clients

Registry name: io.github.BetterDB-inc/monitor

Publisher
BetterDB-inc
Runs
Runs locally
Package
npm
Version
1.7.0
Category
Databases
Updated
2026-11-30

Source code on GitHub

Set up Monitor (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "monitor": {
      "command": "npx",
      "args": [
        "-y",
        "@betterdb/[email protected]"
      ],
      "env": {
        "BETTERDB_URL": "<BETTERDB_URL>",
        "BETTERDB_TOKEN": "<BETTERDB_TOKEN>",
        "BETTERDB_INSTANCE_ID": "<BETTERDB_INSTANCE_ID>",
        "BETTERDB_LOCAL_TOKEN": "<BETTERDB_LOCAL_TOKEN>",
        "BETTERDB_MCP_TELEMETRY": "<BETTERDB_MCP_TELEMETRY>",
        "BETTERDB_TELEMETRY": "<BETTERDB_TELEMETRY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add monitor -e BETTERDB_URL='<BETTERDB_URL>' -e BETTERDB_TOKEN='<BETTERDB_TOKEN>' -e BETTERDB_INSTANCE_ID='<BETTERDB_INSTANCE_ID>' -e BETTERDB_LOCAL_TOKEN='<BETTERDB_LOCAL_TOKEN>' -e BETTERDB_MCP_TELEMETRY='<BETTERDB_MCP_TELEMETRY>' -e BETTERDB_TELEMETRY='<BETTERDB_TELEMETRY>' -- npx -y @betterdb/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "monitor": {
      "command": "npx",
      "args": [
        "-y",
        "@betterdb/[email protected]"
      ],
      "env": {
        "BETTERDB_URL": "<BETTERDB_URL>",
        "BETTERDB_TOKEN": "<BETTERDB_TOKEN>",
        "BETTERDB_INSTANCE_ID": "<BETTERDB_INSTANCE_ID>",
        "BETTERDB_LOCAL_TOKEN": "<BETTERDB_LOCAL_TOKEN>",
        "BETTERDB_MCP_TELEMETRY": "<BETTERDB_MCP_TELEMETRY>",
        "BETTERDB_TELEMETRY": "<BETTERDB_TELEMETRY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "monitor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@betterdb/[email protected]"
      ],
      "env": {
        "BETTERDB_URL": "<BETTERDB_URL>",
        "BETTERDB_TOKEN": "<BETTERDB_TOKEN>",
        "BETTERDB_INSTANCE_ID": "<BETTERDB_INSTANCE_ID>",
        "BETTERDB_LOCAL_TOKEN": "<BETTERDB_LOCAL_TOKEN>",
        "BETTERDB_MCP_TELEMETRY": "<BETTERDB_MCP_TELEMETRY>",
        "BETTERDB_TELEMETRY": "<BETTERDB_TELEMETRY>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "monitor": {
      "command": "npx",
      "args": [
        "-y",
        "@betterdb/[email protected]"
      ],
      "env": {
        "BETTERDB_URL": "<BETTERDB_URL>",
        "BETTERDB_TOKEN": "<BETTERDB_TOKEN>",
        "BETTERDB_INSTANCE_ID": "<BETTERDB_INSTANCE_ID>",
        "BETTERDB_LOCAL_TOKEN": "<BETTERDB_LOCAL_TOKEN>",
        "BETTERDB_MCP_TELEMETRY": "<BETTERDB_MCP_TELEMETRY>",
        "BETTERDB_TELEMETRY": "<BETTERDB_TELEMETRY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
BETTERDB_URLNoURL of the BetterDB monitor instance
BETTERDB_TOKENNoMCP authentication token generated from the BetterDB Settings page
BETTERDB_INSTANCE_IDNoInstance ID to target when using multi-instance cloud deployments
BETTERDB_LOCAL_TOKENNoToken for a monitor started with --autostart or start_monitor when BETTERDB_URL is set to a different monitor; without it that monitor gets no token. BETTERDB_TOKEN is used when BETTERDB_URL is…
BETTERDB_MCP_TELEMETRYNoSet to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is off
BETTERDB_TELEMETRYNoSet to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts

More databases MCP servers