Skip to main content
Glama
sapientsai

dokploy-mcp-server

by sapientsai

dokploy_database

Create, manage, and control databases (Postgres, MySQL, MariaDB, MongoDB, Redis, LibSQL) with actions for deployment, environment variables, status changes, and port configuration.

Instructions

Manage databases (postgres/mysql/mariadb/mongo/redis/libsql). create: dbType+name+environmentId+databasePassword. Per-engine extras — postgres/mysql/mariadb: REQUIRE databaseName+databaseUser; mysql/mariadb also accept databaseRootPassword. mongo: REQUIRES databaseUser (databaseName not used). redis: only databasePassword (no databaseName/User). libsql: REQUIRES appName+dockerImage+sqldNode (primary|replica); accepts sqldPrimaryUrl+enableNamespaces. get: dbType+databaseId (returns metadata + masked env summary — never values). update: dbType+databaseId+fields. move: dbType+databaseId+targetEnvironmentId. start/stop/deploy/rebuild/remove: dbType+databaseId. reload: dbType+databaseId+appName. changeStatus: dbType+databaseId+applicationStatus (idle|running|done|error). saveEnvironment: dbType+databaseId+env (full replace). setEnvVars: dbType+databaseId + set?/unset? (merge inside the server, masked confirmation only). getEnvKeys: dbType+databaseId — KEY names only. getEnvValuesUnsafe: dbType+databaseId — UNSAFE escape hatch that returns full KEY=VALUE pairs. saveExternalPort: dbType+databaseId+externalPort (libsql also accepts externalGRPCPort/externalAdminPort).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNoEnvironment variables as KEY=VALUE pairs, one per line. Used by saveEnvironment (full replace).
setNosetEnvVars: KEY=VALUE pairs to upsert, one per line.
nameNo
unsetNosetEnvVars: list of KEY names to remove.
actionYes
dbTypeYespostgres, mysql, mariadb, mongo, redis, or libsql
appNameNo
commandNo
cpuLimitNo
serverIdNo
sqldNodeNolibsql sqld role
databaseIdNo
descriptionNo
dockerImageNo
memoryLimitNo
databaseNameNo
databaseUserNo
externalPortNo
environmentIdNo
sqldPrimaryUrlNolibsql replica primary URL
databasePasswordNo
enableNamespacesNolibsql multi-tenant namespaces
externalGRPCPortNolibsql only
applicationStatusNo
externalAdminPortNolibsql only
targetEnvironmentIdNo
databaseRootPasswordNomysql/mariadb only
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It discloses some behavior (e.g., get returns masked env summary, getEnvValuesUnsafe is 'UNSAFE escape hatch'), but omits side effects, auth needs, rate limits, or data sensitivity for mutation actions like update/remove.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but efficient, using dots and semicolons to separate actions. It packs much information without redundancy, though it could benefit from bullet points for readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (27 params, 16 actions), the description covers most input scenarios and per-engine rules. However, it lacks explanation of return values, errors, or what 'move' and 'reload' do exactly, and there is no output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is low (37%), but the description extensively explains per-action and per-engine parameter requirements (e.g., 'postgres/mysql/mariadb: REQUIRE databaseName+databaseUser', 'redis: only databasePassword'). This adds critical meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with 'Manage databases (postgres/mysql/mariadb/mongo/redis/libsql).' and enumerates all actions, providing a clear verb+resource mapping. It distinguishes from sibling tools (dokploy_application, etc.) by focusing solely on database operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by listing actions and per-engine requirements, but does not explicitly state when to use this tool vs alternatives or provide exclusions. No 'when-to-use' or 'when-not-to-use' guidance is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/sapientsai/dokploy-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server