Skip to main content
Glama

delete_application_env

Remove an environment variable from an application in Coolify to manage configuration settings and maintain application security.

Instructions

Delete an environment variable from an application

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesApplication UUID
env_uuidYesEnvironment variable UUID

Implementation Reference

  • Handler implementation for the delete_application_env tool. Validates required parameters (application uuid and env_uuid) and calls the CoolifyClient delete method on the appropriate API endpoint.
    case 'delete_application_env': requireParam(args, 'uuid'); requireParam(args, 'env_uuid'); return client.delete(`/applications/${args.uuid}/envs/${args.env_uuid}`);
  • Input schema and metadata definition for the delete_application_env tool, defining the required parameters and description.
    { name: 'delete_application_env', description: 'Delete an environment variable from an application', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Application UUID' }, env_uuid: { type: 'string', description: 'Environment variable UUID' } }, required: ['uuid', 'env_uuid'] } },
  • src/index.ts:36-38 (registration)
    Registration of all tools (including delete_application_env) via getToolDefinitions() in the MCP server's list tools handler.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:57-59 (registration)
    Tool call dispatching to handleTool (which contains the specific handler case) in the MCP server's call tool handler.
    const result = await handleTool(this.client, name, args || {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }]

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