@@ -110,17 +110,7 @@ def invoke(self, ctx):
110110# Deployment command
111111app .command (
112112 name = "deploy" ,
113- help = """
114- Deploy an MCP agent using the specified configuration.
115-
116- An MCP App is deployed from bundling the code at the specified config directory.\n \n
117-
118- This directory must contain an 'mcp_agent.config.yaml' at its root.\n \n
119-
120- If secrets are required (i.e. `no_secrets` is not set), a secrets file named 'mcp_agent.secrets.yaml' must also be present.\n
121- The secrets file is processed to replace secret tags with secret handles before deployment and that transformed
122- file is included in the deployment bundle in place of the original secrets file.
123- """ .strip (),
113+ help = "Deploy an MCP agent (alias for 'cloud deploy')"
124114)(deploy_config )
125115
126116
@@ -214,6 +204,22 @@ def invoke(self, ctx):
214204 help = "Retrieve and stream logs from deployed MCP apps" ,
215205)(tail_logs )
216206
207+ # Add deploy command to cloud namespace
208+ app_cmd_cloud .command (
209+ name = "deploy" ,
210+ help = """
211+ Deploy an MCP agent using the specified configuration.
212+
213+ An MCP App is deployed from bundling the code at the specified config directory.\n \n
214+
215+ This directory must contain an 'mcp_agent.config.yaml' at its root.\n \n
216+
217+ If secrets are required (i.e. `no_secrets` is not set), a secrets file named 'mcp_agent.secrets.yaml' must also be present.\n
218+ The secrets file is processed to replace secret tags with secret handles before deployment and that transformed
219+ file is included in the deployment bundle in place of the original secrets file.
220+ """ .strip (),
221+ )(deploy_config )
222+
217223# Add sub-typers to cloud
218224app_cmd_cloud .add_typer (app_cmd_cloud_auth , name = "auth" , help = "Authentication commands" )
219225app_cmd_cloud .add_typer (
0 commit comments