Skip to main content
Glama

Fast Mermaid Validator MCP

by ai-of-mine

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoServer host0.0.0.0
PORTNoServer port8000
LOG_FILENoLog file pathlogs/app.log
NODE_ENVNoApplication environmentproduction
TEMP_DIRNoTemporary directory./tmp
LOG_LEVELNoLogging levelinfo
MAX_FILESNoMaximum number of files (100k files, use -1 for unlimited)100000
CORS_ORIGINNoCORS origin setting*
LOG_TO_FILENoWhether to log to filetrue
HSTS_MAX_AGENoHTTPS Strict Transport Security max age31536000
LOG_MAX_SIZENoMaximum log file size10m
LOG_MAX_FILESNoMaximum log files5
MAX_FILE_SIZENoMaximum file size (100MB, use -1 for unlimited)104857600
MCP_HTTP_HOSTNoMCP HTTP server host
MCP_HTTP_PORTNoMCP HTTP server port8080
DISK_THRESHOLDNoDisk threshold90
MAX_TIMEOUT_MSNoMaximum validation timeout60000
SERVER_TIMEOUTNoServer timeout in milliseconds30000
HEADERS_TIMEOUTNoHeaders timeout (must be > keep-alive)6000
MAX_CONNECTIONSNoMaximum concurrent connections1000
CLEANUP_INTERVALNoCleanup interval (1 hour cleanup interval)3600000
MEMORY_THRESHOLDNoMemory threshold90
MAX_HEADERS_COUNTNoMaximum headers per request2000
MERMAID_MAX_EDGESNoMermaid maximum edges (10k edges, use -1 for unlimited)10000
KEEP_ALIVE_TIMEOUTNoKeep-alive timeout5000
MAX_TOTAL_DIAGRAMSNoMaximum total diagrams (1M diagrams, use -1 for unlimited)1000000
VALIDATION_TIMEOUTNoValidation timeout30000
MAX_FILENAME_LENGTHNoMaximum filename length255
MERMAID_MAX_VERTICESNoMermaid maximum vertices (5k vertices, use -1 for unlimited)5000
MAX_DIAGRAMS_PER_FILENoMaximum diagrams per file (10k per file, use -1 for unlimited)10000
MERMAID_MAX_TEXT_SIZENoMermaid maximum text size (1MB, use -1 for unlimited)1048576
MAX_REQUESTS_PER_SOCKETNoMax requests per socket (0 = unlimited)0
MAX_DIAGRAM_CONTENT_LENGTHNoMaximum diagram content length (1MB per diagram, use -1 for unlimited)1048576

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/ai-of-mine/fast-mermaid-validator-mcp'

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