Skip to Content
Databasify
AI agents

MCP tools

Every tool the MCP server offers, by area.

Each tool needs the listed access in its area (see Permissions). Write access includes read. Ids are UUIDs; agents find them with the matching list_ tool.

System

ToolAccessWhat it does
get_systemreadGet the Databasify version, whether an update is available, and the installed plugins.

Projects

ToolAccessWhat it does
create_projectwriteCreate a project. Keys limited to some projects cannot create projects.
delete_projectwriteDelete an empty project. Refused while it still holds servers, databases or providers, and for keys limited to some projects.
list_projectsreadList projects with how many servers, databases and providers each holds. Pages of 25; pass next_cursor for more.
move_to_projectwriteMove a server, network, provider or database (with the servers behind its nodes) from one project to another.
update_projectwriteRename a project.

Server providers

ToolAccessWhat it does
create_server_providerwriteAdd a server provider (cloud account) to a project. The credentials are checked against the provider first.
delete_networkwriteDelete an empty private network from Databasify, and optionally at the provider too.
delete_server_providerwriteDelete a server provider. Refused while servers or networks still use it.
get_server_providerreadGet one server provider with its server and network counts.
list_networksreadList the private networks Databasify manages, with their CIDR, region and server count. Pages of 25; pass next_cursor for more.
list_provider_networksreadList the private networks a provider has in a region, read live from the provider's API.
list_provider_plansreadList the server plans a provider offers in a region, read live from the provider's API.
list_provider_regionsreadList the regions a server provider offers, read live from the provider's API.
list_server_provider_typesreadList the server provider types this install supports, with the credential fields each needs.
list_server_providersreadList server providers (cloud accounts) with their server and network counts. Credentials are never returned. Pages of 25; pass next_cursor for more.
order_serverwriteOrder a new server from a provider. It runs in the background: the server starts as 'creating'; poll get_server until it is ready.
update_server_providerwriteRename a server provider or replace its credentials. Credentials left out stay as they are.

DNS providers

ToolAccessWhat it does
create_dns_providerwriteAdd a DNS provider to a project and import its zones.
delete_dns_providerwriteDelete a DNS provider. Refused while a database uses one of its domains.
get_dns_providerreadGet one DNS provider with its zones.
list_dns_provider_typesreadList the DNS provider types this install supports, with the credential fields each needs.
list_dns_providersreadList DNS providers with their zones and how many databases use each zone. Credentials are never returned. Pages of 25; pass next_cursor for more.
refresh_dns_providerwriteImport the zones of a DNS provider again, picking up zones added at the provider.
update_dns_providerwriteRename a DNS provider or replace its credentials. Credentials left out stay as they are.

Storage providers

ToolAccessWhat it does
create_storage_providerwriteAdd an S3-compatible storage provider to a project. The bucket is checked with a test write first.
delete_storage_providerwriteDelete a storage provider. Refused while a database backs up to it.
get_storage_providerreadGet one storage provider with the databases that back up to it.
list_storage_providersreadList S3-compatible storage providers used for backups, with the databases that back up to each. Secret keys are never returned. Pages of 25; pass next_cursor for more.
test_storage_providerwriteCheck a storage provider with a test write, read and delete, and mark it verified.
update_storage_providerwriteChange a storage provider. Leave secret_access_key out to keep the current secret.

Servers

ToolAccessWhat it does
create_serverwriteAdd an existing server by SSH. Add Databasify's key from get_server_ssh_key first, or pass a root password once. Provisioning runs in the background: poll get_server until it is ready.
create_server_userwriteCreate a Linux user on a server, optionally with an SSH public key.
delete_serverwriteRemove a server from Databasify, and optionally destroy it at its provider. Refused while it is part of a database.
delete_server_userwriteDelete a Linux user that Databasify created on a server.
get_server_logreadGet one server log with its full output.
get_server_ssh_keyreadGet Databasify's public SSH key, to add to a server's authorized_keys before adding the server.
get_serverreadGet one server with its status, hardware facts, private network and the database node it runs, if any.
list_server_logsreadList the logs of commands Databasify ran on a server, newest first, without their output. Pages of 25; pass next_cursor for more.
list_server_usersreadList the Linux users Databasify created on a server. Pages of 25; pass next_cursor for more.
list_serversreadList servers with their status, addresses, provider, size and operating system. Filter by search text or status. Pages of 25; pass next_cursor for more.
provision_serverwriteRun the server setup again, for example after a failed setup. It runs in the background; poll get_server.
refresh_serverwriteRead the operating system, CPUs, memory and disk of a server again over SSH.
run_server_operationwriteRun an operation on a ready server: update-packages or reboot. It runs in the background; poll get_server.
update_server_networkwriteChange the private network of a server.

Databases

ToolAccessWhat it does
add_database_nodewriteAdd a standby (member) or a read-only node on a ready server on the same private network. It runs in the background; poll get_database until the status settles.
add_extension_packagewriteAdd a custom extension package to a database from the official repository of its engine or another apt repository. Package code runs with full database rights. It runs in the background; poll get_database until the status settles.
add_trusted_sourcewriteAllow an IPv4 address or range to connect to the database or to one read-only node. A single address becomes a /32. It runs in the background; poll get_database until the status settles.
cancel_migrationwriteCancel a migration without cutting over. It runs in the background; poll get_database until the status settles.
check_database_upgradewriteLook up a newer engine image for this database and record it as available_version.
check_extension_package_versionreadShow the installed and the newest available version of an official-repository or repository extension package of a database.
check_migrationwriteConnect to a source database and report its version, size, databases and whether it can be replicated.
check_recoverywriteCheck the backup archive and refresh the restorable window. It runs in the background; poll get_database until the status settles.
create_connection_poolwriteCreate a connection pool for a schema, on the database or on one read-only node. It runs in the background; poll get_database until the status settles.
create_databasewriteCreate a database on one or more ready servers of a project: a primary and optional standbys on the same private network. It runs in the background; poll get_database until the status settles.
create_database_userwriteCreate a database user. The response holds its generated password and connection details.
create_schemawriteCreate a schema (logical database) inside a database.
delete_connection_poolwriteDelete a connection pool of the database or of one read-only node. It runs in the background; poll get_database until the status settles.
delete_database_nodewriteRemove a node from a database. The last member cannot be removed. It runs in the background; poll get_database until the status settles.
delete_databasewriteDelete a database and its containers. It runs in the background; poll get_database until the status settles. Data on the servers is kept unless erase_data is true.
delete_database_userwriteDelete a database user. The default user cannot be deleted.
delete_schemawriteDelete a schema and all its data.
delete_trusted_sourcewriteRemove an allowed IPv4 range from the database or from one read-only node. It runs in the background; poll get_database until the status settles.
disable_database_extensionwriteDisable an extension in a schema. The engine refuses while anything still uses it. It runs in the background; poll get_database until the status settles.
disable_recoverywriteTurn off point-in-time recovery, optionally deleting the backups. It runs in the background; poll get_database until the status settles.
enable_database_extensionwriteEnable an extension in a schema. Extensions that need a library restart the database node by node first. It runs in the background; poll get_database until the status settles.
enable_recoverywriteTurn on point-in-time recovery: continuous WAL or oplog archiving plus daily base backups to a storage provider of the same project. It runs in the background; poll get_database until the status settles.
failover_databasewritePromote a standby to primary. It runs in the background; poll get_database until the status settles.
finish_migrationwriteCut over a syncing migration: stop replication and make this database the one to use. It runs in the background; poll get_database until the status settles.
get_database_logreadGet one database log with its full output.
get_database_metricsreadRead the metric history (CPU, memory, disk, connections, replication lag) of a database or one of its nodes.
get_database_nodereadGet one node of a database.
get_databasereadGet one database with its status, health, nodes, hostnames, config, maintenance window and backup state. Passwords are never included.
get_database_user_credentialswriteGet the password and connection details of a database user. Needs write access because it reveals a secret.
get_node_logsreadRead the latest lines of an engine service log on a node, such as postgres or patroni.
get_recoveryreadGet the point-in-time recovery settings and backup health of a database.
list_connection_poolsreadList the connection pools of a database, or of one read-only node.
list_database_enginesreadList the database engines this install supports, with their version lines, modes and limits.
list_database_extensionsreadList the extensions a database can enable, and the ones a schema has when a schema is given.
list_database_logsreadList the logs of commands Databasify ran for a database, newest first, without their output. Pages of 25; pass next_cursor for more.
list_database_nodesreadList the nodes of a database with their role, server, status and engine version.
list_database_usersreadList the users of a database. Passwords are not included; use get_database_user_credentials.
list_databasesreadList databases with their engine, version, status, health, nodes and hostnames. Filter by search text, status or engine. Pages of 25; pass next_cursor for more.
list_extension_packagesreadList the custom extension packages of a database, and the package change running now.
list_migrationsreadList the migrations into a database with their status and source. Source passwords are never returned.
list_schemasreadList the schemas (logical databases) inside a database.
list_trusted_sourcesreadList the IPv4 ranges allowed to connect to a database, or to one read-only node.
reboot_database_nodewriteRestart a read-only node on its own. It runs in the background; poll get_database until the status settles.
reboot_databasewriteRestart every node, standbys first. It runs in the background; poll get_database until the status settles.
recover_databasewriteRecover a database whose primary is down, from the most advanced reachable member. It runs in the background; poll get_database until the status settles.
refresh_databasewriteRead the live status and engine version of every node now.
remove_extension_packagewriteRemove a custom extension package from every node of a database. Its extensions must be disabled first. It runs in the background; poll get_database until the status settles.
reset_database_user_passwordwriteGive a database user a new generated password and return it.
restore_databasewriteRestore a database to a point in time as a new database on a ready server. The source database is untouched. It runs in the background; poll get_database until the status settles.
retry_database_setupwriteRun a failed database setup again. It runs in the background; poll get_database until the status settles.
retune_database_nodewriteRecompute and apply the engine settings of a read-only node. It runs in the background; poll get_database until the status settles.
retune_databasewriteRecompute and apply the engine settings for the current server sizes. It runs in the background; poll get_database until the status settles.
run_backupwriteTake a base backup now. It runs in the background; poll get_database until the status settles.
start_migrationwriteStart copying a source database into this one, then keep it in sync until finish_migration. It runs in the background; poll get_database until the status settles.
stop_database_operationwriteStop the operation running on a database and cancel its engine tasks.
stop_node_operationwriteStop the operation running on a node and cancel its engine tasks. It runs in the background; poll get_database until the status settles.
update_database_configwriteChange the engine config of a database. Keys and allowed values come from the config_fields of get_database. It runs in the background; poll get_database until the status settles.
update_database_domainwriteMove a database to a DNS zone of a DNS provider, or back to Databasify's default domain with null. The nodes are redeployed. It runs in the background; poll get_database until the status settles.
update_database_extensionwriteUpdate an extension in a schema to the version the image ships. Updates can't be undone. It runs in the background; poll get_database until the status settles.
update_database_nodewriteRename a read-only node. Its hostname changes too.
update_extension_packagewriteInstall the newest version of an official-repository or repository extension package on every node of a database. Its extensions stay enabled; update each schema afterwards with update_database_extension. It runs in the background; poll get_database until the status settles.
update_maintenance_windowwriteMove the weekly maintenance window of a database (UTC day and hour).
update_node_configwriteChange the engine config of a read-only node. Keys come from the config_fields of get_database. It runs in the background; poll get_database until the status settles.
update_persistencewriteTurn disk snapshots on or off for a key-value engine. Engines that always persist refuse. It runs in the background; poll get_database until the status settles.
update_recovery_schedulewriteChange the backup retention and the hour of the daily base backup. It runs in the background; poll get_database until the status settles.
update_user_password_encryptionwriteChange how the password of a database user is hashed.
upgrade_databasewriteUpgrade the database to its available engine image, node by node. It runs in the background; poll get_database until the status settles.
Edit on GitHub

On this page