Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
HOST | No | Server host | 0.0.0.0 |
PORT | No | Server port | 8000 |
LOG_FILE | No | Log file path | logs/app.log |
NODE_ENV | No | Application environment | production |
TEMP_DIR | No | Temporary directory | ./tmp |
LOG_LEVEL | No | Logging level | info |
MAX_FILES | No | Maximum number of files (100k files, use -1 for unlimited) | 100000 |
CORS_ORIGIN | No | CORS origin setting | * |
LOG_TO_FILE | No | Whether to log to file | true |
HSTS_MAX_AGE | No | HTTPS Strict Transport Security max age | 31536000 |
LOG_MAX_SIZE | No | Maximum log file size | 10m |
LOG_MAX_FILES | No | Maximum log files | 5 |
MAX_FILE_SIZE | No | Maximum file size (100MB, use -1 for unlimited) | 104857600 |
MCP_HTTP_HOST | No | MCP HTTP server host | |
MCP_HTTP_PORT | No | MCP HTTP server port | 8080 |
DISK_THRESHOLD | No | Disk threshold | 90 |
MAX_TIMEOUT_MS | No | Maximum validation timeout | 60000 |
SERVER_TIMEOUT | No | Server timeout in milliseconds | 30000 |
HEADERS_TIMEOUT | No | Headers timeout (must be > keep-alive) | 6000 |
MAX_CONNECTIONS | No | Maximum concurrent connections | 1000 |
CLEANUP_INTERVAL | No | Cleanup interval (1 hour cleanup interval) | 3600000 |
MEMORY_THRESHOLD | No | Memory threshold | 90 |
MAX_HEADERS_COUNT | No | Maximum headers per request | 2000 |
MERMAID_MAX_EDGES | No | Mermaid maximum edges (10k edges, use -1 for unlimited) | 10000 |
KEEP_ALIVE_TIMEOUT | No | Keep-alive timeout | 5000 |
MAX_TOTAL_DIAGRAMS | No | Maximum total diagrams (1M diagrams, use -1 for unlimited) | 1000000 |
VALIDATION_TIMEOUT | No | Validation timeout | 30000 |
MAX_FILENAME_LENGTH | No | Maximum filename length | 255 |
MERMAID_MAX_VERTICES | No | Mermaid maximum vertices (5k vertices, use -1 for unlimited) | 5000 |
MAX_DIAGRAMS_PER_FILE | No | Maximum diagrams per file (10k per file, use -1 for unlimited) | 10000 |
MERMAID_MAX_TEXT_SIZE | No | Mermaid maximum text size (1MB, use -1 for unlimited) | 1048576 |
MAX_REQUESTS_PER_SOCKET | No | Max requests per socket (0 = unlimited) | 0 |
MAX_DIAGRAM_CONTENT_LENGTH | No | Maximum diagram content length (1MB per diagram, use -1 for unlimited) | 1048576 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |