cubibase

CubiBase Agent Toolkit

Community cubibase
Updated

CubiBase agent toolkit: MCP server, CLI, and TypeScript client for AI agents

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
@cubibasehq/client Typed TypeScript client for the Control API and project Data API. Structured errors with stable codes and Retry-After.
@cubibasehq/mcp Model Context Protocol server (stdio) with 76 tools: projects, full schema (tables, columns, policies, triggers, indexes, types, views), rows, SQL, storage uploads and signed links, function deployments/secrets/triggers, logs, Data API, and offline docs search. Read-only mode (CUBIBASE_READ_ONLY=1) and feature groups (CUBIBASE_FEATURES).
@cubibasehq/cli cubibase CLI with JSON output and the same console parity, built for scripting and agents.

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.

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'.

MCP quick start

{
  "mcpServers": {
    "cubibase": {
      "command": "npx",
      "args": ["-y", "@cubibasehq/mcp"],
      "env": {
        "CUBIBASE_TOKEN": "cb_pat_...",
        "CUBIBASE_SERVICE_KEY": "cb_sec_... (optional, enables Data API 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> hello

Development

npm install
npm run build
npm test
npm run lint
node scripts/sync-docs.mjs   # refresh the bundled docs-search corpus from the website content

Docs: https://cubibase.com/docs · Agent guide: https://cubibase.com/docs/agents

MIT © CubiBase

MCP Server · Populars

MCP Server · New

    lifan-builds

    Faster Mac Use (fmu)

    Background-first, multi-cursor browser and native macOS computer-use engine for AI agents

    Community lifan-builds
    agent360dev

    Agent360 Browser MCP

    The browser tool that can stop and ask you. A 2FA code, a CAPTCHA, a choice only you can make: it asks on your screen, then carries on in the same signed-in Chrome. 41 tools, MCP clients that run local servers, MIT.

    Community agent360dev
    robinAKL

    Agent Room

    Put Claude Code, Cursor, Codex, Gemini & Antigravity in one room — real-time multi-agent AI collaboration over MCP for distributed dev, code review, PR handoff & frontend↔backend integration. Free, self-hostable, MCP-native.

    Community robinAKL
    blen-labs

    Capture MCP

    AI-native Model Context Protocol (MCP) server that integrates SAM.gov, USASpending.gov, and Tango APIs to capture and analyze federal procurement and spending data through natural language queries. Responses include both human-readable text and structured JSON so MCP-compatible clients can consume the data programmatically.

    Community blen-labs
    PanStudio

    ZulipChat MCP Server

    ZulipChat MCP Server - A Model Context Protocol server that bridges AI agents with Zulip Chat. Built with FastMCP for lightning-fast performance, featuring comprehensive chat management and intelligent summarization. Transform your Zulip workspace into an AI-powered collaboration hub!

    Community PanStudio