Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTP_VERIFYNoVerify SSL certificates (as needed)
GITHUB_TOKENNoGitHub personal access token (recommended to avoid rate limits)
PROJECT_ROOTYesLocal project root that the server is allowed to access (security boundary)
KROKI_TIMEOUTNoKroki request timeout in seconds20
KROKI_BASE_URLYesThe base URL for the Kroki API (e.g. https://kroki.io)
MAX_FILE_CHARSNoMax characters to read from a file (prevents huge reads)200000
DIAGRAM_OUT_DIRNoWhere to save PNGs (must be inside PROJECT_ROOT)diagrams

Tools

Functions exposed to the LLM to take actions

NameDescription
list_files-
read_file-
render_mermaid-

Prompts

Interactive templates invoked by user choice

NameDescription
generate_mermaid_canonicalStrict unified prompt: generates Mermaid flowcharts using ONLY the canonical style mermaid://styles/blue-flowchart. Supports GitHub repositories, local projects, OR user-provided content. Always renders PNG via render_mermaid.

Resources

Contextual data attached and managed by the client

NameDescription
blue_flowchart_styleCanonical blue Mermaid flowchart style

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/GittyBurstein/mermaid-mcp-server'

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