Skip to main content
Glama

delete_private_key

Remove a private key from Coolify's secure storage to manage SSH access and enhance security by eliminating unused credentials.

Instructions

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

Input Schema

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

Implementation Reference

  • The handler case in the main switch statement that executes the tool by requiring a 'uuid' parameter and calling the Coolify client DELETE /security/keys/{uuid} endpoint.
    case 'delete_private_key': requireParam(args, 'uuid'); return client.delete(`/security/keys/${args.uuid}`);
  • The tool definition object specifying the name, description, and input schema (uuid required, confirm optional for dangerous ops). This is used for MCP tool registration.
    { name: 'delete_private_key', description: 'Delete a private key. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Private key UUID' }, confirm: { type: 'boolean', description: 'Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)' } }, required: ['uuid'] } },
  • Lists 'delete_private_key' as a dangerous operation requiring confirmation if COOLIFY_REQUIRE_CONFIRM=true.
    'delete_private_key',
  • Provides the warning message displayed when confirmation is required for this dangerous operation.
    delete_private_key: 'This will permanently delete the private key. Make sure no servers are using it.',
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/kof70/coolify-mcp-server'

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