MCP Server Studio

CubiBase MCP server

Operate CubiBase PostgreSQL backends: projects, schema, rows, SQL, storage, functions, logs, docs.

Registry name: com.cubibase/mcp

Publisher
cubibase.com
Runs
Runs locally
Package
npm
Version
0.2.3
Category
Databases
Updated
2026-11-29

Source code on GitHub

Set up CubiBase (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cubibasehq/mcp@0.2.3"
      ],
      "env": {
        "CUBIBASE_TOKEN": "<CUBIBASE_TOKEN>",
        "CUBIBASE_SERVICE_KEY": "<CUBIBASE_SERVICE_KEY>",
        "CUBIBASE_API_URL": "<CUBIBASE_API_URL>",
        "CUBIBASE_READ_ONLY": "<CUBIBASE_READ_ONLY>",
        "CUBIBASE_FEATURES": "<CUBIBASE_FEATURES>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e CUBIBASE_TOKEN='<CUBIBASE_TOKEN>' -e CUBIBASE_SERVICE_KEY='<CUBIBASE_SERVICE_KEY>' -e CUBIBASE_API_URL='<CUBIBASE_API_URL>' -e CUBIBASE_READ_ONLY='<CUBIBASE_READ_ONLY>' -e CUBIBASE_FEATURES='<CUBIBASE_FEATURES>' -- npx -y @cubibasehq/mcp@0.2.3

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cubibasehq/mcp@0.2.3"
      ],
      "env": {
        "CUBIBASE_TOKEN": "<CUBIBASE_TOKEN>",
        "CUBIBASE_SERVICE_KEY": "<CUBIBASE_SERVICE_KEY>",
        "CUBIBASE_API_URL": "<CUBIBASE_API_URL>",
        "CUBIBASE_READ_ONLY": "<CUBIBASE_READ_ONLY>",
        "CUBIBASE_FEATURES": "<CUBIBASE_FEATURES>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cubibasehq/mcp@0.2.3"
      ],
      "env": {
        "CUBIBASE_TOKEN": "<CUBIBASE_TOKEN>",
        "CUBIBASE_SERVICE_KEY": "<CUBIBASE_SERVICE_KEY>",
        "CUBIBASE_API_URL": "<CUBIBASE_API_URL>",
        "CUBIBASE_READ_ONLY": "<CUBIBASE_READ_ONLY>",
        "CUBIBASE_FEATURES": "<CUBIBASE_FEATURES>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cubibasehq/mcp@0.2.3"
      ],
      "env": {
        "CUBIBASE_TOKEN": "<CUBIBASE_TOKEN>",
        "CUBIBASE_SERVICE_KEY": "<CUBIBASE_SERVICE_KEY>",
        "CUBIBASE_API_URL": "<CUBIBASE_API_URL>",
        "CUBIBASE_READ_ONLY": "<CUBIBASE_READ_ONLY>",
        "CUBIBASE_FEATURES": "<CUBIBASE_FEATURES>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
CUBIBASE_TOKENYesPersonal access token (cb_pat_...) from Console → Account → Access tokens. Scopes: read, write, admin.
CUBIBASE_SERVICE_KEYNoOptional project secret key (cb_sec_...) enabling Data API tools as the service actor. RLS still applies.
CUBIBASE_API_URLNoControl plane base URL. Defaults to https://api.cubibase.com.
CUBIBASE_READ_ONLYNoSet to 1 to hide every mutating tool (safe exploration mode).
CUBIBASE_FEATURESNoComma-separated tool groups: projects,database,storage,functions,data,observability,docs. Defaults to all.

More databases MCP servers