Query and manage CockroachDB databases through AI agents. Explore database schemas, inspect tables, execute SQL queries, analyze query performance, monitor cluster health, and manage database operations with role-based access controls.
Kiro is AWS's agentic IDE, with a terminal CLI alongside it. Both read remote MCP servers from the same user config and sign in to them with OAuth.
This guide connects CockroachDB MCP to Kiro through MewCP, so Kiro can use CockroachDB MCP's 12 tools, like create_database, create_table and explain_query, without your CockroachDB MCP credentials ever reaching the app.
CockroachDB MCP signs in through managed OAuth. MewCP stores the token encrypted, refreshes it before it expires and injects it only at call time. Your agent never holds it, so it can never leak it.
More apps
Manage repositories, pull requests, issues, branches and development workflows on GitHub. Automate software delivery and collaborate across engineering projects.
Hostinger enables AI agents to manage web hosting and domain infrastructure, including websites, DNS records, databases, email accounts, and VPS services. Automate hosting configuration, inspect service details, and manage supported resources directly through Hostinger’s API.
Connect to external APIs, webhooks and internet services through standard HTTP requests. Build integrations with virtually any platform that exposes a web-based interface.
Access Google Gemini models for multimodal AI, text generation, and reasoning. Analyze text, images, and documents; enable Google Search grounding and Python code execution; generate embeddings for semantic search; and explore available models and token usage.
Other clients
CockroachDB MCP works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact CockroachDB MCP tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
Open the Command Palette, run Kiro: Open user MCP config (JSON) (~/.kiro/settings/mcp.json), and merge this into "mcpServers". Saving reloads it.
A browser window opens when Kiro connects. Sign in and approve access. No API key needed.
Start a new chat and ask: "List the tools you can use from MewCP." You should see your connected apps. If no tools show, open Settings, search "MCP", and turn on MCP support.
Create a new database in the cluster
Create a new table in a database using a CREATE TABLE DDL statement. Only CREATE TABLE statements are allowed. Supports CREATE TABLE AS SELECT for creating tables from query results.
Show query execution plan without executing the query
Get detailed information for the CockroachDB cluster
Get detailed schema information for a table including columns and indexes
Insert rows into an existing table. Only INSERT statements are allowed, including INSERT INTO ... VALUES and INSERT INTO ... SELECT.
List all CockroachDB clusters accessible to the authorized user
List all databases in the CockroachDB cluster.
List all tables in a database.
Execute a read-only SELECT query on the CockroachDB cluster. Automatically adds LIMIT 25 if not specified. Maximum LIMIT is 10000. Use LIMIT with OFFSET for pagination (e.g., LIMIT 100 OFFSET 200).
List currently executing queries on the cluster
Execute a SHOW statement for introspection (e.g., SHOW SCHEMAS, SHOW INDEXES, SHOW REGIONS, SHOW CONSTRAINTS). Results are limited to 100 rows by default. Prefer list_databases, list_tables, or get_table_schema for those operations.