You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return`Exports current configuration, generating a pair of safe and portable configuration files.
71
-
72
-
Using a project's required configuration (e.g. .mcpd.toml) and the locally configured runtime values from the execution context file (e.g. ~/.config/mcpd/secrets.dev.toml), the export command outputs two files:
73
-
74
-
Environment Contract:
75
-
- Lists all required and configured environment variables as secure, namespaced placeholders
76
-
e.g. MCPD__{SERVER_NAME}__{ENV_VAR}
77
-
- Creates placeholders for command line arguments to be populated with env vars
78
-
e.g. MCPD__{SERVER_NAME}__ARG_{ARG_NAME}
79
-
- This file is intended for the platform operator or CI/CD system
80
-
81
-
Portable Execution Context:
82
-
- A new secrets .toml file that defines sanitized runtime args and env sections for each server using the placeholders aligned with the environment contract
83
-
- These files are safe to check into version control if required.
84
-
85
-
"This allows running an mcpd project in any environment, cleanly separating the configuration structure from the secret values`
70
+
return"Exports current configuration, generating a pair of safe and portable configuration files.\n\n"+
71
+
"Using a project's required configuration (e.g. `.mcpd.toml`) and the locally configured runtime values from the "+
72
+
"execution context file (e.g. `~/.config/mcpd/secrets.dev.toml`), the export command outputs two files:\n\n"+
73
+
"Environment Contract:\n\n"+
74
+
"Lists all required and configured environment variables as secure, namespaced placeholders:\n\n"+
75
+
"`MCPD__{SERVER_NAME}__{ENV_VAR}` - Creates placeholders for command line arguments to be populated with env vars\n\n"+
76
+
"`MCPD__{SERVER_NAME}__ARG_{ARG_NAME}` - This file is intended for the platform operator or CI/CD system\n\n"+
77
+
"Portable Execution Context:\n\n"+
78
+
"- A new secrets `.toml` file that defines sanitized runtime args and env sections for each server using the "+
79
+
"placeholders aligned with the environment contract\n"+
80
+
"- These files are safe to check into version control if required.\n\n"+
81
+
"This allows running an mcpd project in any environment, cleanly separating the configuration structure "+
0 commit comments