CubiBase
OfficialProvides tools for operating a CubiBase PostgreSQL backend end to end: managing the full database schema (tables, columns, row-level-security policies, triggers, indexes, custom types, views), reading and writing rows, running arbitrary SQL queries, plus managing storage uploads and signed links, function deployments/secrets/triggers, logs, and the REST/RPC Data API — backed by the platform's projects, auth, and Control API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
CubiBase Agent Toolkit
Public monorepo for the CubiBase agent-facing packages. CubiBase is a PostgreSQL backend platform (database, auth, REST/RPC data API, functions, storage) — these packages let AI agents and developers operate it end to end.
Package | Purpose |
Typed TypeScript client for the Control API and project Data API. Structured errors with stable codes and | |
Model Context Protocol server (stdio) with 93 tools: projects, full schema (tables, columns, policies, triggers, indexes, types, views), rows, SQL, storage uploads and signed links, function deployments/secrets/triggers, messaging (SMTP, branding, email templates, transactional sends), notifications, logs, Data API, and offline docs search. Read-only mode ( | |
|
Agent skill
The canonical skill lives in github.com/cubibase/skills (Agent Skills format): cubibase/SKILL.md plus references/ (pricing, API). The same skill ships inside @cubibasehq/mcp and @cubibasehq/cli as SKILL.md, and is served at https://cubibase.com/SKILL.md.
Related MCP server: Supabase MCP Server
Authentication
Create a personal access token (cb_pat_...) in the console under Account → Access tokens (scopes: read < write < admin, optional project restriction and expiry). Use it as Authorization: Bearer on the Control API.
For Data API access as a trusted server, create a secret key (cb_sec_...) under the project's API keys. It acts as the service actor (cubibase.role = 'service'); row-level security still applies — grant access with policies like cubibase.current_role() = 'service'.
Install in your AI tool
Cursor: the button adds the server with CUBIBASE_TOKEN read from your environment (${env:CUBIBASE_TOKEN}), so no secret is embedded in the link. Set CUBIBASE_TOKEN in your shell profile and restart Cursor.
Claude Code (plugin: MCP server + CubiBase skill):
/plugin marketplace add cubibase/cubibase-agent
/plugin install cubibase@cubibaseClaude Code prompts for your personal access token (stored in secure storage) when the plugin is enabled.
Claude Code without the plugin:
claude mcp add cubibase -e CUBIBASE_TOKEN=cb_pat_... -- npx -y @cubibasehq/mcpMCP quick start
{
"mcpServers": {
"cubibase": {
"command": "npx",
"args": ["-y", "@cubibasehq/mcp"],
"env": {
"CUBIBASE_TOKEN": "cb_pat_...",
"CUBIBASE_SERVICE_KEY": "cb_sec_... (optional, enables Data API + messaging send/read tools)"
}
}
}
}CLI quick start
npm install -g @cubibasehq/cli
export CUBIBASE_TOKEN=cb_pat_...
cubibase projects list
cubibase tables list <projectId>
cubibase rows list <projectId> notes --filter status=eq.active --limit 10
cubibase sql <projectId> 'select count(*) from notes'
cubibase storage upload <projectId> --bucket avatars --path u1.png --file ./u1.png
cubibase functions deploy <projectId> helloDevelopment
npm install
npm run build
npm test
npm run lint
node scripts/sync-docs.mjs # refresh the bundled docs-search corpus from the website contentDocs: https://cubibase.com/docs · Agent guide: https://cubibase.com/docs/agents
MIT © CubiBase
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.
MCP server for interacting with the Supabase platform
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
Managed Postgres MCP: projects, SQL, docs search, and storage buckets via OAuth.
Related MCP Servers
- AlicenseAqualityDmaintenanceThis server enables interaction with Supabase PostgreSQL databases through the MCP protocol, allowing seamless integration with Cursor and Windsurf IDEs for secure and validated database management.12106 PyPI837Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects to Supabase PostgreSQL databases, exposing table schemas as resources and providing tools for data analysis through SQL queries.2MIT
- AlicenseAqualityDmaintenanceMCP server that allows interaction with PocketBase databases, enabling record operations (fetch, list, create, update), file management, and schema migrations through natural language.2243MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for self-hosted Supabase with RLS-aware PostgreSQL and PostgREST layers, enabling safe database introspection, SQL queries, and PostgREST access via natural language.MIT