Skip to main content
Glama

Skill Management MCP Server

by fkesheh

update_skill_env

Update environment variables for skills by replacing the entire .env file with new KEY=VALUE pairs, making variables available to all scripts in the skill.

Instructions

Create, update, or replace the .env file for a skill with new environment variables.

This tool manages skill-specific environment variables used by scripts:

PARAMETERS:

  • skill_name: The name of the skill directory

  • content: The complete .env file content in KEY=VALUE format

FORMAT: Each line should be: KEY=VALUE Example: API_KEY=sk-abc123def456 DATABASE_URL=postgres://user:pass@localhost:5432/db DEBUG=true TIMEOUT=30

BEHAVIOR:

  • Replaces the ENTIRE .env file with the content you provide

  • Creates the .env file if it doesn't exist

  • Each line should follow KEY=VALUE format (one per line)

  • Comments starting with # are allowed

  • Empty lines are allowed

  • These variables become available to all scripts run in this skill

IMPORTANT:

  • Values will be stored as plain text, so don't commit sensitive values to git

  • Use the QUICKSTART.md for instructions on setting up secrets safely

  • After updating, use read_skill_env to verify keys were set correctly

SECURITY:

  • Keep .env files in .gitignore to prevent accidental commits of secrets

  • Use environment variables for all sensitive data (API keys, passwords, tokens)

  • Never hardcode secrets in scripts

RETURNS: Success message confirming the .env file was updated

Input Schema

NameRequiredDescriptionDefault
contentYes.env file content
skill_nameYesName of the skill

Input Schema (JSON Schema)

{ "properties": { "content": { "description": ".env file content", "title": "Content", "type": "string" }, "skill_name": { "description": "Name of the skill", "title": "Skill Name", "type": "string" } }, "required": [ "skill_name", "content" ], "type": "object" }

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/fkesheh/skill-mcp'

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