get_version
Retrieve version details for the Coolify self-hosted PaaS platform to verify current deployment status and compatibility.
Instructions
Get Coolify version information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/handlers.ts:45-46 (handler)The handler case for 'get_version' tool that executes the tool logic by calling the CoolifyClient's get method on the '/version' API endpoint.case 'get_version': return client.get('/version');
- src/tools/definitions.ts:113-117 (schema)Schema definition for the get_version tool, including name, description, and empty input schema (no parameters required).name: 'get_version', description: 'Get Coolify version information', inputSchema: { type: 'object', properties: {}, required: [] } }, {
- src/index.ts:36-38 (registration)MCP server registration of all tools via ListToolsRequestHandler, which returns schemas from getToolDefinitions() including the get_version tool schema.this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
- src/index.ts:57-58 (registration)MCP server CallToolRequestHandler that dispatches tool calls to the shared handleTool function, which contains the specific logic for get_version.const result = await handleTool(this.client, name, args || {}); return {
- src/client.ts:78-81 (helper)Generic HTTP GET helper method in CoolifyClient used by the get_version handler to fetch data from '/version' endpoint.async get<T>(endpoint: string, params?: Record<string, unknown>): Promise<T> { const response = await this.client.get<T>(endpoint, { params }); return response.data; }