Catalog → CockroachDB

CockroachDB

by cockroachdb

Readyv0.1.0

Official CockroachDB MCP — natural-language interface over a CRDB cluster; supports connection-string or per-field SSL configuration. Distributed as a Go binary.

Categories
Data & Storage
Configuration
Database URL
Text

Full libpq connection string (postgresql://user@host:port/db?...)

Hostname
Text

CockroachDB cluster hostname

Port
Text

CockroachDB port (default 26257)

Default 26257
SQL User
Text

SQL username for authentication

Password
Secret

SQL password (discouraged, prefer cert-based auth)

SSL Mode
Choice

TLS mode: require, verify-ca, verify-full (default), or disable/allow/prefer with CRDB_MCP_ALLOW_INSECURE_DB=true

Default verify-full
CA Certificate Path
Text

Path to CA certificate file (required for verify-ca or verify-full)

Client Certificate Path
Text

Path to client certificate file

Client Key Path
Secret

Path to client private key file

Query Timeout
Text

Per-query timeout in Go duration format (e.g. 30s, default 30s)

Max Rows Count
Text

Maximum number of rows returned (default 10000)

Max Connections
Text

Maximum connection pool size, 1-100 (default 10)

Transaction QoS
Choice

Default transaction quality of service

Enable Write Queries
Choice

Allow write/DDL tools (create_database, create_table, insert_rows, update_rows, delete_rows)

Default false
Allow Password Auth
Choice

Opt-in to password-based authentication (default false, use cert-based auth instead)

Default false
Allow Insecure DB
Choice

Opt-in to non-TLS modes (disable, allow, prefer). Development only

Default false
Transport Mode
Choice

Communication protocol: stdio (default) or http

Default stdio
HTTP Listen Address
Text

Listen address for HTTP mode (host:port, default :8080)

Bearer Token
Secret

Bearer token for HTTP mode authentication (minimum 16 chars)

TLS Certificate Path
Text

Path to PEM-encoded server certificate for HTTPS

TLS Key Path
Secret

Path to PEM-encoded server private key for HTTPS

Allow Insecure HTTP
Choice

Opt-in to cleartext HTTP for reverse-proxy deployments

Allow No Bearer
Choice

Skip bearer token requirement for upstream-auth deployments

Log Level
Choice

Server logging level

Default info
Log Path
Text

Path to log file, or - for stderr

OTLP Endpoint
Text

OpenTelemetry OTLP gRPC endpoint for tracing

OTEL File Path
Text

Write traces and logs as JSON lines to this file (takes precedence over OTEL_EXPORTER_OTLP_ENDPOINT)

Extra environment variables
Env vars

Optional KEY=VALUE pairs (one per line) set as extra environment variables on the connector's process. Lines starting with # are ignored; uncomment and edit what you need.

Default template
# Optional extra environment variables, one KEY=VALUE per line.
# Lines starting with # are ignored: uncomment and edit what you need.
# Documented options: https://github.com/cockroachdb/cockroachdb-mcp-server

# Route the connector through an HTTP proxy, if your network needs one.
# HTTPS_PROXY=http://proxy.example:8080

# Turn up logging for troubleshooting (read by many servers; the name varies).
# LOG_LEVEL=debug

This template lands in your config when you add the connector. Edit or override anytime from My Connectors — click the connector's config action to open the same editor with your saved values.

Runtime commands — technical reference. Nothing to configure here; the desktop runs these for you.
Go Preferred
go install github.com/cockroachdb/[email protected]

Are you sure?

Configure connector

Fill in your settings, then Save.

Help test this connector

Record a short screen-capture that shows the connector working (or failing) end-to-end. Approved submissions earn you Pro-equivalent limits on this specific connector for as long as your account exists.

YouTube, Loom, Vimeo, or Google Drive links are accepted. Unlisted / private links are fine as long as our admin can open them.

Cookie preferences

Choose which categories of cookies we may use. You can change this any time via the footer link.

Essential

Session cookie that keeps you signed in. Required for the site to function.

Always on