Skip to main content
Glama

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
NameRequiredDescriptionDefault
uuidYesService UUID

Implementation Reference

  • 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`);
  • 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() }));
  • 'get_service_envs' listed in READ_ONLY_TOOLS array, ensuring it's always available even in read-only mode.
    'get_service_envs',

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