Skip to main content
Glama
config.example.json3.06 kB
{ "admin_token": "your-secret-admin-token-here", "security": { "sensitive_path_patterns": [], "_comment": "Additional path patterns that should never appear in tool responses. Default patterns (user_data, /home/, etc.) are always included." }, "mcp": { "transport": "sse", "host": "0.0.0.0", "port": 18089 }, "command": { "enabled": true, "network_isolated": true, "limits": { "max_memory_mb": 512, "max_cpu_seconds": 60, "max_file_size_mb": 100, "max_processes": 32, "timeout_seconds": 60 } }, "preview": { "enabled": true, "max_active_previews": 2000, "external_host": "localhost", "wildcard_domain": "*.proxy.domain.com", "use_tls": false, "_comment_wildcard_domain": "Optional: Wildcard domain for subdomain-based routing (e.g., '*.proxy.your_domain.com'). Each preview gets a unique subdomain. Set to null if not using wildcard domains.", "_comment_max_active_previews": "Maximum number of active preview mappings to keep (also caps restoration on restart). When exceeded, the least recently used preview is evicted.", "_comment_use_tls": "Whether to use TLS for preview URLs. If true, the preview URLs will be https:// instead of http://." }, "admin_web": { "enabled": false, "password": "123456" }, "fs": { "max_table_chars": 20000, "max_doc_chars": 20000 }, "kb": { "base_url": "http://localhost:3000", "token": "your-secret-token-here", "max_read_chars": 20000, "chunk_search": { "limit": 20000, "similarity": 0.4, "searchMode": "embedding" }, "enabled": false }, "web_search": { "base_url": "https://api.bochaai.com/v1/web-search", "token": "your-secret-token-here", "default_count": 10, "freshness": "noLimit", "summary": true, "enabled": false }, "web_crawl": { "max_markdown_chars": 20000, "timeout_seconds": 30, "enabled": false }, "excel": { "max_file_size_mb": 50, "default_max_rows": 1000, "supported_formats": [".xlsx", ".xls", ".csv"], "enable_formulas": true, "templates_file": "excel_templates/templates.json" }, "image_generator": { "chart_api_endpoint": "http://localhost:8000/render", "chart_default_width": 1200, "chart_default_height": 800, "mermaid_default_theme": "forest", "mermaid_format": "svg", "base_url": "", "_comment_chart_api_endpoint": "图表生成API端点,用于生成数据图表。Mermaid图表使用本地mermaid-py渲染。", "_comment_chart_default_width": "图表默认宽度(像素),可在调用时覆盖", "_comment_chart_default_height": "图表默认高度(像素),可在调用时覆盖", "_comment_mermaid_default_theme": "Mermaid默认主题,可选:default/dark/forest/neutral", "_comment_mermaid_format": "Mermaid输出格式,可选:svg 或 png", "_comment_base_url": "图片访问的基础URL,用于生成完整的图片访问地址。如果不设置,返回相对路径。" } }

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/answerlink/MCP-Workspace-Server'

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