Skip to main content
Glama

create_private_key

Generate a new SSH private key for secure authentication with Coolify PaaS instances, enabling deployment and management operations.

Instructions

Create a new SSH private key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesKey name
descriptionNoKey description
private_keyYesPrivate key content (PEM format)

Implementation Reference

  • The switch case handler that validates input parameters and calls the Coolify API to create a new SSH private key.
    case 'create_private_key': requireParam(args, 'name'); requireParam(args, 'private_key'); return client.post('/security/keys', args);
  • MCP tool definition including name, description, and input schema for validation. This object is returned by getToolDefinitions() and registered with the MCP server.
    { name: 'create_private_key', description: 'Create a new SSH private key', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Key name' }, description: { type: 'string', description: 'Key description' }, private_key: { type: 'string', description: 'Private key content (PEM format)' } }, required: ['name', 'private_key'] } },
  • TypeScript interface defining the expected input shape for create_private_key tool, matching the JSON schema.
    export interface CreatePrivateKeyInput { name: string; description?: string; private_key: string; }

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