Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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');
  • 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 || {});
  • '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',

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/kof70/coolify-mcp-server'

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