Skip to main content
Glama

execute_command

Execute commands directly within application containers on Coolify self-hosted PaaS instances to manage deployments, perform operations, and troubleshoot applications.

Instructions

Execute a command in an application container. NOTE: This endpoint is not available in Coolify API and will return an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesApplication UUID
commandYesCommand to execute
confirmNoConfirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)

Implementation Reference

  • The handler implementation for the 'execute_command' tool. It validates required parameters 'uuid' and 'command', but returns an error message indicating that this feature is not supported by the Coolify API.
    case 'execute_command': requireParam(args, 'uuid'); requireParam(args, 'command'); // This endpoint doesn't exist in Coolify API return { error: 'Execute command endpoint is not available in Coolify API. This feature is not supported via the API.' };
  • MCP tool definition for 'execute_command' including name, description, and detailed inputSchema used for validation and tool listing.
    { name: 'execute_command', description: 'Execute a command in an application container. NOTE: This endpoint is not available in Coolify API and will return an error.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Application UUID' }, command: { type: 'string', description: 'Command to execute' }, confirm: { type: 'boolean', description: 'Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)' } }, required: ['uuid', 'command'] } },
  • TypeScript interface defining the input parameters for the execute_command tool.
    export interface ExecuteCommandInput { uuid: string; command: string; }
  • 'execute_command' is listed as a dangerous operation requiring confirmation.
    'deploy', 'execute_command',
  • Danger warning message for the execute_command tool.
    execute_command: 'This will execute a command inside the application container.',
  • src/index.ts:36-38 (registration)
    Registration of tool listing handler which includes 'execute_command' via getToolDefinitions() from definitions.ts.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));

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