CockroachDB
by cockroachdb
Official CockroachDB MCP — natural-language interface over a CRDB cluster; supports connection-string or per-field SSL configuration. Distributed as a Go binary.
Full libpq connection string (postgresql://user@host:port/db?...)
CockroachDB cluster hostname
CockroachDB port (default 26257)
26257SQL username for authentication
SQL password (discouraged, prefer cert-based auth)
TLS mode: require, verify-ca, verify-full (default), or disable/allow/prefer with CRDB_MCP_ALLOW_INSECURE_DB=true
verify-fullPath to CA certificate file (required for verify-ca or verify-full)
Path to client certificate file
Path to client private key file
Per-query timeout in Go duration format (e.g. 30s, default 30s)
Maximum number of rows returned (default 10000)
Maximum connection pool size, 1-100 (default 10)
Default transaction quality of service
Allow write/DDL tools (create_database, create_table, insert_rows, update_rows, delete_rows)
falseOpt-in to password-based authentication (default false, use cert-based auth instead)
falseOpt-in to non-TLS modes (disable, allow, prefer). Development only
falseCommunication protocol: stdio (default) or http
stdioListen address for HTTP mode (host:port, default :8080)
Bearer token for HTTP mode authentication (minimum 16 chars)
Path to PEM-encoded server certificate for HTTPS
Path to PEM-encoded server private key for HTTPS
Opt-in to cleartext HTTP for reverse-proxy deployments
Skip bearer token requirement for upstream-auth deployments
Server logging level
infoPath to log file, or - for stderr
OpenTelemetry OTLP gRPC endpoint for tracing
Write traces and logs as JSON lines to this file (takes precedence over OTEL_EXPORTER_OTLP_ENDPOINT)
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 install github.com/cockroachdb/[email protected]