BetterDB MCP server - Valkey observability for Claude Code and other MCP clients
registry version 0.1.4
npm
npx -y @betterdb/mcpnpm
npx -y @betterdb/mcp@0.1.4
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}{
"mcpServers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp@0.1.4"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env BETTERDB_TOKEN=<YOUR_BETTERDB_TOKEN> monitor-2 -- npx -y @betterdb/mcp
claude mcp add --env BETTERDB_TOKEN=<YOUR_BETTERDB_TOKEN> monitor-2 -- npx -y @betterdb/mcp@0.1.4
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}{
"mcpServers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp@0.1.4"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}{
"servers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp@0.1.4"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}{
"mcpServers": {
"monitor-2": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp@0.1.4"
],
"env": {
"BETTERDB_TOKEN": "<YOUR_BETTERDB_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
BETTERDB_URL — URL of the BetterDB monitor instanceBETTERDB_TOKEN secret — MCP authentication token generated from the BetterDB Settings pageBETTERDB_INSTANCE_ID — Instance ID to target when using multi-instance cloud deployments⭐ 1,307 stars · 最近更新于 16 天前
BetterDB Monitor The monitoring layer that Valkey deserves. BetterDB persists what Valkey throws away slowlogs, command patterns, client activity, anomaly signals so you can debug what happened at 3am, not just what's happening now. Built for Valkey 8.x with native support for COMMANDLOG, CLUSTER SL…
Summary from the project README — github.com/BetterDB-inc/monitor
Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.
BetterDB Monitor The monitoring layer that Valkey deserves. BetterDB persists what Valkey throws away slowlogs, command patterns, client activity, anomaly signals so you can debug what happened at 3am, not just what's happening now. Built for Valkey 8.x with native support for COMMANDLOG, CLUSTER SL
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/BetterDB-inc/monitor. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/monitor-2/)
HTML
<a href="https://mcpnav.net/server/monitor-2/"><img src="https://mcpnav.net/badge/monitor-2.svg" alt="Listed on MCPNav" height="20"></a>