CockroachDB logo
Database · self-hosted

CockroachDB in one click.

CockroachDB is a distributed sql db with geo-partitioning support you can run on your own machine. Launch it in Even Stacks in one click, serve it over trusted HTTPS, and let your AI agents operate it.

What is CockroachDB?

CockroachDB is a distributed SQL database compatible with the PostgreSQL wire protocol. It provides horizontal scaling, automatic replication, and geo-partitioning for multi-region deployments.

CategoryDatabase
Default port26257
Container imagecockroachdb/cockroach:v24.1.0

Run CockroachDB in Even

Even Stacks launches CockroachDB as a managed container on your own machine. No compose files, no manual setup.

  1. Open the Even Stacks panel in Even. The container engine starts on demand.
  2. Find CockroachDB in the one-click services and click Launch.
  3. Even pulls the image, starts it on port 26257, and serves it over trusted HTTPS at https://cockroachdb.localhost.

Drive CockroachDB with your AI agents

Even ships an MCP, so any agent you run inside Even (Claude Code, Codex, and more) can operate CockroachDB directly, at both the UI level and the container level.

Through the Even MCP an agent can create tables, seed test data, run a migration, or inspect a schema, then tail the logs to confirm it worked. It runs commands inside the container, reads its logs, and for web apps opens and clicks through the interface in Even's own browser pane. Ask once, for example "set up CockroachDB and get it ready", and the agent handles it end to end.

How agents reach it: Connect via SQL using `docker exec -it cockroachdb ./cockroach sql --insecure --host=localhost:26257`. Use the admin UI at http://localhost:8550 to view cluster health and query statistics. Data persists in the /cockroach/cockroach-data volume.

More Database services

Other one-click services you can launch in Even Stacks.