Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

CubiBase

MCP server by cubibase Verified · cubibase.com

CubiBase MCP server lets AI assistants operate CubiBase PostgreSQL backends, including projects, schema, rows, SQL, storage, functions and logs. It is built for AI agents and developers who run CubiBase projects end to end.

  • Score 89
  • 0 stars
  • 1.5k a week
  • MIT
  • Updated

Install CubiBase

Built from the published package, never by AI.

claude mcp add cubibase -e CUBIBASE_TOKEN=YOUR_CUBIBASE_TOKEN -- npx -y @cubibasehq/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install CubiBase in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the cubibase block.

About

CubiBase is a PostgreSQL backend platform with database, auth, REST and RPC data API, functions, and storage. The MCP server, published as @cubibasehq/mcp, runs over stdio and gives an AI assistant 93 tools. These cover projects, full schema, rows, SQL, storage uploads and signed links, function deployments, secrets and triggers, messaging, notifications, logs, the Data API, and offline docs search.

The Control API uses a personal access token (cb_pat_) set as CUBIBASE_TOKEN. An optional secret key (cb_sec_) enables Data API and messaging send and read tools. Read-only mode is available with CUBIBASE_READ_ONLY=1, and feature groups can be selected with CUBIBASE_FEATURES. It is aimed at AI agents and developers who manage CubiBase backends, and the same monorepo includes a typed TypeScript client and a scriptable CLI.

Written from the project's README and checked against it.

Tools it gives your assistant

  • ProjectsOperate CubiBase projects through the Control API.
  • SchemaWork with tables, columns, policies, triggers, indexes, types, and views.
  • RowsRead and change rows in project tables.
  • SQLRun SQL queries against a CubiBase project database.
  • StorageUpload files and create signed links in storage buckets.
  • FunctionsDeploy functions and manage their secrets and triggers.
  • MessagingConfigure SMTP, branding, email templates, and transactional sends.
  • LogsRead project logs.
  • Data APICall the project Data API when a secret key is set.
  • Docs searchSearch bundled CubiBase documentation offline.

What you need

  • CubiBase account with a personal access token (cb_pat_)
  • Optional secret key (cb_sec_) for Data API and messaging send and read tools
  • npm or npx to run @cubibasehq/mcp
SettingNeededWhat it is
CUBIBASE_TOKENEnvironment variable, secretRequiredPersonal access token (cb_pat_...) from Console → Account → Access tokens. Scopes: read, write, admin.
CUBIBASE_SERVICE_KEYEnvironment variable, secretOptionalOptional project secret key (cb_sec_...) enabling Data API tools as the service actor. RLS still applies.
CUBIBASE_API_URLEnvironment variableOptionalControl plane base URL. Defaults to https://api.cubibase.com.
CUBIBASE_READ_ONLYEnvironment variableOptionalSet to 1 to hide every mutating tool (safe exploration mode).
CUBIBASE_FEATURESEnvironment variableOptionalComma-separated tool groups: projects,database,storage,functions,data,observability,docs. Defaults to all.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • List my CubiBase projects and show the tables in one of them.
  • Run a SQL query to count rows in my notes table.
  • Upload this avatar file to the avatars bucket in my CubiBase project.

Good to know

  • Read-only mode is enabled with CUBIBASE_READ_ONLY=1.
  • Feature groups can be limited with CUBIBASE_FEATURES.
  • Secret key access still follows row-level security policies.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to CubiBase

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

CubiBase: common questions

Can the CubiBase MCP server change my data?

Yes, by default it can run write operations. Setting CUBIBASE_READ_ONLY=1 turns on read-only mode.

What is the difference between the personal access token and the secret key?

The personal access token (cb_pat_) is used for the Control API. The secret key (cb_sec_) acts as the service actor for the project Data API.

Does the server include documentation search?

Yes, it includes offline docs search, using a bundled docs corpus that can be refreshed from the website content.

How do I install CubiBase?

In Claude Code run claude mcp add cubibase -e CUBIBASE_TOKEN=YOUR_CUBIBASE_TOKEN -- npx -y @cubibasehq/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is CubiBase the official server?

CubiBase is published by cubibase.com from its verified domain in the official MCP Registry.

Is CubiBase free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is CubiBase safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to CubiBase?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does CubiBase work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

CubiBase Install

Add to stack

Loading.