get_service_envs
Retrieve environment variables for a specific service in Coolify to configure application settings and manage deployment parameters.
Instructions
Get environment variables for a service
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Service UUID |
Implementation Reference
- src/tools/handlers.ts:334-336 (handler)Handler implementation for the 'get_service_envs' tool. Requires 'uuid' parameter and fetches service environment variables via CoolifyClient GET /services/{uuid}/envs.case 'get_service_envs': requireParam(args, 'uuid'); return client.get(`/services/${args.uuid}/envs`);
- src/tools/definitions.ts:984-992 (schema)Schema definition for the 'get_service_envs' tool, specifying input as object with required 'uuid' string.{ name: 'get_service_envs', description: 'Get environment variables for a service', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Service UUID' } }, required: ['uuid'] } },
- src/index.ts:36-38 (registration)MCP server registration for listing tools, which includes 'get_service_envs' via getToolDefinitions() from tools module.this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
- src/tools/definitions.ts:27-27 (helper)'get_service_envs' listed in READ_ONLY_TOOLS array, ensuring it's always available even in read-only mode.'get_service_envs',