Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KIE_API_KEYYesYour Kie AI API key. Required for image generation and editing. Never put this key in Cursor, in the MCP URL, or in git.
METRICS_DB_PATHNoPath to the SQLite database file used for usage metrics.
PUBLIC_BASE_URLNoPublic base URL for generated files (e.g. https://mcp.example.com or https://xxxxx.trycloudflare.com). Used so /files links are absolute HTTPS URLs that Kie and Cursor can fetch.
OUTPUT_TTL_HOURSNoTime-to-live in hours for generated output files before cleanup.72
MCP_ALLOWED_HOSTSNoComma-separated list of allowed hostnames for MCP requests, e.g. 'mcp.example.com,127.0.0.1,localhost'.
RATE_LIMIT_PER_MINUTENoMaximum number of requests allowed per minute.
MAX_GENERATIONS_PER_DAYNoMaximum number of image generations allowed per day.
MAX_CONCURRENT_GENERATIONSNoMaximum number of concurrent image generations allowed.
MAX_GENERATIONS_PER_IP_PER_DAYNoMaximum number of image generations allowed per IP address per day.
ENABLE_DNS_REBINDING_PROTECTIONNoSet to 'true' to enable DNS rebinding protection when using a stable Cloudflare Tunnel with a custom domain.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources