list_databases
Retrieve all databases from your Coolify self-hosted PaaS instance to manage and deploy applications effectively.
Instructions
List all databases
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/handlers.ts:359-360 (handler)The handler implementation for the 'list_databases' tool. It calls the CoolifyClient's GET /databases endpoint to retrieve the list of all databases.case 'list_databases': return client.get('/databases');
- src/tools/definitions.ts:569-573 (schema)The schema definition for the 'list_databases' tool, specifying its name, description, and empty input schema (no parameters required).{ name: 'list_databases', description: 'List all databases', inputSchema: { type: 'object', properties: {}, required: [] } },
- src/index.ts:36-38 (registration)Registration of all tools including 'list_databases' via the MCP server's ListToolsRequestSchema handler, which returns getToolDefinitions() containing the tool schema.this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
- src/index.ts:56-57 (registration)The MCP server's CallToolRequestSchema handler that dispatches to handleTool, which contains the specific case for 'list_databases'.try { const result = await handleTool(this.client, name, args || {});
- src/tools/definitions.ts:29-29 (helper)'list_databases' is included in READ_ONLY_TOOLS array, making it available even in read-only mode and used for filtering in tool registration.'list_databases',