Skip to main content
Glama

CockroachDB MCP Server

connect_database

Establish a connection to a CockroachDB database and create a connection pool by specifying host, port, database name, credentials, and SSL settings for secure access.

Instructions

Connect to a CockroachDB database and create a connection pool.

Args: host (str): CockroachDB host. port (int): CockroachDB port (default: 26257). database (str): Database name (default: "defaultdb"). username (str): Username (default: "root"). password (str): Password. sslmode (str): SSL mode (default: disable - Possible values: allow, prefer, require, verify-ca, verify-full). sslcert (str): Path to user certificate file. sslkey (str): Path to user key file. sslrootcert (str): Path to CA certificate file.

Returns: A success message or an error message.

Input Schema

NameRequiredDescriptionDefault
databaseYes
hostYes
passwordYes
portYes
sslcertYes
sslkeyYes
sslmodeYes
sslrootcertYes
usernameYes

Input Schema (JSON Schema)

{ "properties": { "database": { "title": "Database", "type": "string" }, "host": { "title": "Host", "type": "string" }, "password": { "title": "Password", "type": "string" }, "port": { "title": "Port", "type": "integer" }, "sslcert": { "title": "Sslcert", "type": "string" }, "sslkey": { "title": "Sslkey", "type": "string" }, "sslmode": { "title": "Sslmode", "type": "string" }, "sslrootcert": { "title": "Sslrootcert", "type": "string" }, "username": { "title": "Username", "type": "string" } }, "required": [ "host", "database", "port", "username", "password", "sslmode", "sslcert", "sslkey", "sslrootcert" ], "title": "connect_databaseArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amineelkouhen/mcp-cockroachdb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server