mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 19:24:11 +08:00
fix: set mcp_composer feature as true by default (#9522)
* Set mcp composer feature flag as default true * Add env var to .env.example
This commit is contained in:
@ -101,6 +101,11 @@ LANGFLOW_SUPERUSER_PASSWORD=
|
||||
# Values: true, false
|
||||
LANGFLOW_STORE_ENVIRONMENT_VARIABLES=
|
||||
|
||||
# Should enable the MCP composer feature in MCP projects
|
||||
# Values: true, false
|
||||
# Default: true
|
||||
LANGFLOW_FEATURE_MCP_COMPOSER=
|
||||
|
||||
# STORE_URL
|
||||
# Example: LANGFLOW_STORE_URL=https://api.langflow.store
|
||||
# LANGFLOW_STORE_URL=
|
||||
|
||||
@ -3,7 +3,7 @@ from pydantic_settings import BaseSettings
|
||||
|
||||
class FeatureFlags(BaseSettings):
|
||||
mvp_components: bool = False
|
||||
mcp_composer: bool = False
|
||||
mcp_composer: bool = True
|
||||
|
||||
class Config:
|
||||
env_prefix = "LANGFLOW_FEATURE_"
|
||||
|
||||
@ -54,7 +54,7 @@ export default defineConfig(({ mode }) => {
|
||||
envLangflow.LANGFLOW_AUTO_LOGIN ?? true,
|
||||
),
|
||||
"process.env.LANGFLOW_FEATURE_MCP_COMPOSER": JSON.stringify(
|
||||
envLangflow.LANGFLOW_FEATURE_MCP_COMPOSER ?? "false",
|
||||
envLangflow.LANGFLOW_FEATURE_MCP_COMPOSER ?? "true",
|
||||
),
|
||||
},
|
||||
plugins: [react(), svgr(), tsconfigPaths()],
|
||||
|
||||
Reference in New Issue
Block a user