MCP servers that can create a database
2 verified servers expose a tool that can create a new database
Most databases are created through SQL, but a couple of MCP servers expose it as a tool: hand it a name, get a new database. When an agent provisions a fresh database for a service or an isolated workspace, that one call sets it up.
These verified servers let an agent create a new database on a cluster.
CockroachDB
amineelkouhen
A natural-language MCP server for CockroachDB: query data, manage schema, and monitor cluster health across nodes.
create_database
CockroachDB's create_database adds a new database to the cluster, the provisioning step before an agent creates tables or runs SQL in it.
InfluxDB
InfluxData
InfluxData's official MCP server lets an agent write, query, and manage time-series data in InfluxDB 3 using SQL and line protocol.
create_database
On InfluxDB, create_database makes a new time-series database on the host, an isolated space for a stream of metrics.
What to know
Creating a database is the provisioning step before any tables or queries, and it is rarer as a tool than you might expect, since most servers leave database creation to a SQL statement. The two here expose it directly: CockroachDB creates a new database on the cluster, InfluxDB a new time-series database on the host. Each gives the agent a clean, named space to then create tables in or write to, isolated from whatever else the server holds.
Provisioning is the easy place for an agent to make a mess it cannot see. A model that creates a database every session because it forgot the one it made leaves orphaned databases behind. Knowing which it already created keeps a provisioning step from quietly multiplying.
Questions
- Why is creating a database rare as a tool?
- Because most databases create one through a SQL statement, CREATE DATABASE, rather than a dedicated tool. The servers here expose it as a direct call, which is convenient for an agent provisioning a database without composing and running DDL itself. On a server without the tool, an agent uses execute_sql instead.
- What does an agent do after creating one?
- Create tables and write data. A new database is an empty, named space, so the next steps are defining the schema (creating tables) and inserting or querying rows. Creating the database is just the container; the structure comes after.