Skip to main content
Glama

restart-application

Restart a Coolify application by UUID to apply configuration changes. This tool stops and starts the application, refreshing its state.

Instructions

Restart a specific application using its UUID. This stops and then starts the application, applying any configuration changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesResource UUID

Implementation Reference

  • Handler for the restart-application tool: parses UUID argument, calls Coolify API to restart the application via POST to /applications/{uuid}/restart, returns JSON stringified response.
    case "restart-application": {
      const { uuid } = UuidSchema.parse(request.params.arguments);
      const result = await coolifyApiCall(`/applications/${uuid}/restart`);
      return {
        content: [{
          type: "text",
          text: JSON.stringify(result, null, 2)
        }]
      };
    }
  • Zod schema definition for UUID input used by restart-application and similar tools for input validation.
    const UuidSchema = z.object({
      uuid: z.string().describe("Resource UUID"),
    });
  • src/index.ts:108-112 (registration)
    Tool registration in MCP server's ListTools handler, defining name, description, and JSON schema for input.
    {
      name: "restart-application",
      description: "Restart a specific application using its UUID. This stops and then starts the application, applying any configuration changes.",
      inputSchema: zodToJsonSchema(UuidSchema),
    },

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

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