Skip to main content
Glama

delete_service

Remove a service from the Coolify platform by specifying its UUID. When enabled, requires confirmation for safety.

Instructions

Delete a service. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesService UUID
confirmNoConfirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)

Implementation Reference

  • Handler logic for the delete_service tool. Validates the 'uuid' parameter and calls DELETE on the Coolify API /services/{uuid} endpoint.
    case 'delete_service': requireParam(args, 'uuid'); return client.delete(`/services/${args.uuid}`);
  • Input schema and metadata for the delete_service tool, defining required 'uuid' and optional 'confirm' parameters.
    { name: 'delete_service', description: 'Delete a service. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Service UUID' }, confirm: { type: 'boolean', description: 'Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)' } }, required: ['uuid'] }
  • src/index.ts:36-38 (registration)
    Tool registration in MCP server: delete_service is included in the list of tools provided via getToolDefinitions().
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • delete_service listed as a dangerous operation requiring confirmation.
    'delete_service',
  • Warning message for the delete_service dangerous operation.
    delete_service: 'This will permanently delete the service and all its data.',

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