Skip to main content
Glama

CockroachDB MCP Server

switch_database

Switch the active database connection to a specified database within CockroachDB. Provide the database name to update the connection and manage queries efficiently.

Instructions

Switch the connection to a different database.

Args: database (str): Name of the database to switch to.

Returns: A success message or an error message.

Input Schema

NameRequiredDescriptionDefault
databaseYes

Input Schema (JSON Schema)

{ "properties": { "database": { "title": "Database", "type": "string" } }, "required": [ "database" ], "title": "switch_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