Google Antigravity Directory

The #1 directory for Google Antigravity prompts, rules, workflows & MCP servers. Optimized for Gemini 3 agentic development.

Resources

PromptsMCP ServersAntigravity RulesGEMINI.md GuideBest Practices

Company

Submit PromptAntigravityAI.directory

Popular Prompts

Next.js 14 App RouterReact TypeScriptTypeScript AdvancedFastAPI GuideDocker Best Practices

Legal

Privacy PolicyTerms of ServiceContact Us
Featured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App ShowFeatured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App Show

© 2026 Antigravity AI Directory. All rights reserved.

The #1 directory for Google Antigravity IDE

This website is not affiliated with, endorsed by, or associated with Google LLC. "Google" and "Gemini" are trademarks of Google LLC.

Antigravity AI Directory
PromptsMCPBest PracticesUse CasesLearn
Home
MCP Servers
CockroachDB
database

CockroachDB MCP Server

Distributed SQL database

databasedistributedsql

About

## CockroachDB MCP Server: Distributed SQL Database The **CockroachDB MCP Server** integrates CockroachDB into Google Antigravity, enabling distributed SQL operations with strong consistency, automatic sharding, and geo-partitioning directly from your development environment. ### Why CockroachDB MCP? - **Distributed SQL**: PostgreSQL-compatible distributed database - **Strong Consistency**: Serializable isolation by default - **Automatic Sharding**: Data distributed automatically across nodes - **Geo-Partitioning**: Pin data to specific regions for compliance - **Survivability**: Survive node, zone, and region failures ### Key Features #### 1. SQL Queries ```python # Execute SQL query result = await mcp.query(""" SELECT id, email, region, created_at FROM users WHERE region = $1 AND status = $2 ORDER BY created_at DESC LIMIT 100 """, params=["us-east", "active"]) for row in result["rows"]: print(f"User: {row['email']} ({row['region']})") ``` #### 2. Transaction Operations ```python # Execute transaction await mcp.transaction([ { "query": "UPDATE accounts SET balance = balance - $1 WHERE id = $2", "params": [100, "acc_sender"] }, { "query": "UPDATE accounts SET balance = balance + $1 WHERE id = $2", "params": [100, "acc_receiver"] }, { "query": "INSERT INTO transfers (from_id, to_id, amount) VALUES ($1, $2, $3)", "params": ["acc_sender", "acc_receiver", 100] } ]) ``` #### 3. Schema Management ```python # Create table with regions await mcp.execute(""" CREATE TABLE orders ( id UUID PRIMARY KEY DEFAULT gen_random_uuid(), user_id UUID NOT NULL, region STRING NOT NULL, total DECIMAL(10, 2), created_at TIMESTAMPTZ DEFAULT now() ) LOCALITY REGIONAL BY ROW AS region """) # Add index await mcp.execute(""" CREATE INDEX idx_orders_user ON orders (user_id) STORING (total, created_at) """) ``` #### 4. Cluster Operations ```python # Get cluster info info = await mcp.get_cluster_info() print(f"Version: {info['version']}") print(f"Nodes: {len(info['nodes'])}") # Get ranges info ranges = await mcp.get_table_ranges(table="orders") for r in ranges: print(f"Range: {r['range_id']} on {r['node']}") ``` ### Configuration ```json { "mcpServers": { "cockroachdb": { "command": "npx", "args": ["-y", "@anthropic/mcp-cockroachdb"], "env": { "COCKROACH_URL": "postgresql://user:password@host:26257/defaultdb?sslmode=verify-full", "COCKROACH_CLUSTER": "your-cluster-id" } } } } ``` ### Use Cases **Global Applications**: Build globally distributed apps with local latency. **Financial Systems**: ACID transactions for financial operations. **Multi-Region**: Deploy across regions with data locality. **High Availability**: Build systems that survive failures. The CockroachDB MCP enables distributed SQL within your development environment.

Installation

Configuration
{
  "mcpServers": {
    "cockroachdb": {
      "mcpServers": {
        "cockroachdb": {
          "env": {
            "COCKROACH_URL": "postgresql://user:pass@host:26257/db"
          },
          "args": [
            "-y",
            "cockroachdb-mcp-server"
          ],
          "command": "npx"
        }
      }
    }
  }
}

How to Use

  1. 1Create CockroachDB cluster
  2. 2Get connection string
  3. 3Configure database URL

Related MCP Servers

🧰

Toolhouse MCP

Universal AI tool platform that equips your AI with production-ready capabilities. Execute code, browse the web, manage files, send emails, and more through a unified MCP interface.

🔨

Smithery Registry MCP

The MCP server registry and discovery platform. Browse, search, and install MCP servers from the community. Find the perfect integrations for your AI development workflow.

🔍

MCP Inspector

Official debugging and testing tool for MCP servers. Inspect server capabilities, test tool calls, validate responses, and debug protocol communication in real-time.

← Back to All MCP Servers