feat: disable the MCP server configuation by default (#444)

* feat: disable the MCP server configuation by default

* Fixed the lint and test errors

* fix the lint error
This commit is contained in:
Willem Jiang
2025-07-19 08:39:42 +08:00
committed by GitHub
parent dbb24d7d14
commit 75ad3e0dc6
4 changed files with 70 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ AGENT_RECURSION_LIMIT=30
# Example: ALLOWED_ORIGINS=http://localhost:3000,http://example.com
ALLOWED_ORIGINS=http://localhost:3000
# Enable or disable MCP server configuration, the default is false.
# Please enable this feature before securing your front-end and back-end in an internal environment.
# Otherwise, you system could be compromised.
ENABLE_MCP_SERVER_CONFIGURATION=false
# Search Engine, Supported values: tavily (recommended), duckduckgo, brave_search, arxiv
SEARCH_API=tavily
TAVILY_API_KEY=tvly-xxx