librechat.yaml file is the primary configuration file for LibreChat. It allows you to customize endpoints, interface settings, file storage, and more.
Configuration Version
Configuration file version
Cache Settings
Enable response caching
Interface Configuration
Customize the LibreChat user interface with these settings.Interface Options
Custom welcome message displayed to users
Enable file search as a chat area selection
This does not disable the Agents File Search Capability. See Agents endpoint configuration for that.
Show endpoints selection menu
Enable model selection dropdown
Show model parameters controls
Enable side panel
Privacy Policy & Terms of Service
URL to privacy policy page
Open privacy policy in new tab
Require users to accept terms via modal
Prompts Configuration
Allow users to use prompts
Allow users to create prompts
Allow users to share prompts with others
Allow users to make prompts public
Agents Configuration
Allow users to use agents
Allow users to create agents
Allow users to share agents
Allow users to make agents public
People Picker
Enable user selection in people picker
Enable group selection in people picker
Enable role selection in people picker
Registration Settings
List of enabled social login providersAvailable options:
github, google, discord, openid, facebook, apple, samlEmail domains allowed for registration
Leave empty to allow all domains
Balance & Transactions
Enable token balance system
Initial token balance for new users
Enable automatic balance refill
Refill interval value (e.g., 30)
Refill interval unit:
days, hours, or minutesSave transaction records to database
If balance.enabled is true, transactions are always enabled
Rate Limits
Maximum file uploads per IP per window
Maximum file uploads per user per window
Agent Actions Domain Restrictions
Domains allowed for Agent Actions OpenAPI specsSupports:
- Wildcards:
*.example.com - Protocol/port restrictions:
https://api.example.com:8443
MCP Settings
Domains allowed for MCP remote transports (SSE, WebSocket, HTTP)
MCP Servers
MCP server transport type:
sse, stdio, websocket, or httpCan be omitted, defaults to
sseServer URL (for SSE/WebSocket/HTTP transports)
Command to run (for stdio transport)
Command arguments (for stdio transport)
Timeout in milliseconds
Path to custom icon for the server
Speech Configuration
Text-to-Speech configuration using OpenAI
Speech-to-Text configuration using OpenAI
Memory Configuration
Disable memory functionality
Restrict memory keys to specific values
Maximum token limit for memory storage
Enable personalization features (Personalization tab in settings)
Memory agent configuration - use existing agent by ID or define inline
Web Search Configuration
Jina API key for reranking
Cohere API key for reranking
Serper API key for search
Firecrawl API key for content scraping
Cloudflare Turnstile
Cloudflare Turnstile site key
Widget size:
normal, compact, flexible, or invisible