Set up LibreChat
Self-hosted AI chat platform (35K+ GitHub stars) with the most complete MCP transport support. Add Agentcy via YAML config for marketing intelligence.
- 01
Sign up at app.goagentcy.com and create an API key
- 02
Edit your librechat.yaml config file (mounted at /app/librechat.yaml in Docker)
- 03
Add the mcpServers and mcpSettings sections as shown below
- 04
Replace YOUR_AGENTCY_API_KEY with your actual key
- 05
IMPORTANT: Add data.goagentcy.com to the allowedDomains list
- 06
Restart LibreChat to load the new config
path: librechat.yaml
mcpServers:
agentcy:
type: streamable-http
url: https://data.goagentcy.com/mcp
headers:
Authorization: "Bearer YOUR_AGENTCY_API_KEY"
timeout: 30000
mcpSettings:
allowedDomains:
- "data.goagentcy.com"LibreChat uses YAML config (not JSON). The allowedDomains whitelist is required for SSRF protection — remote domains must be explicitly listed. Supports ${ENV_VAR} interpolation in headers. Restart required after config changes.
“How is aurora-fitness.com performing this month?”
“What are the top trends in our Google Analytics data?”
“Research what competitors are doing in paid search”
“Show me our WooCommerce revenue this week”