@canva/cli 0.0.1-beta.24 → 0.0.1-beta.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -203,6 +203,10 @@ Log out of the Canva CLI, and delete the saved auth token:
203
203
  canva logout
204
204
  ```
205
205
 
206
+ #### mcp
207
+
208
+ Start the canva [MCP](https://modelcontextprotocol.io) server. This is usually called by your MCP client, such as Claude Desktop, Cursor, or other compatible tools. For more information on how to configure your MCP client to use the Canva MCP server, please see [MCP Server](https://www.canva.dev/docs/apps/mcp-server) in the developer documentation.
209
+
206
210
  #### apps
207
211
 
208
212
  Manage your Canva apps.
@@ -211,70 +215,76 @@ Manage your Canva apps.
211
215
  canva apps
212
216
  ```
213
217
 
214
- #### apps sub-commands
218
+ ##### create
215
219
 
216
- - `create "app-name"`: Create a new Canva app.
220
+ Create a new Canva app.
217
221
 
218
- ```shell
219
- canva apps create "My New App" --template="hello_world" --distribution="public" --git --installDependencies
220
- ```
222
+ ```shell
223
+ canva apps create "My New App" --template="hello_world" --distribution="public" --git --installDependencies
224
+ ```
221
225
 
222
- - **Arguments**:
223
- - `--name`: Sets the app's name. Provide the name you want for the app.
224
- - **Flags**:
226
+ - **Arguments**:
227
+ - `--name`: Sets the app's name. Provide the name you want for the app.
228
+ - **Flags**:
225
229
 
226
- - `--template`: Specifies the starting template for the app.
230
+ - `--template`: Specifies the starting template for the app.
227
231
 
228
- Available templates:
232
+ Available templates:
229
233
 
230
- - `"hello_world"`: Basic starting point.
231
- - `"dam"`: Digital asset management integration.
232
- - `"gen_ai"`: Generative AI app creation.
234
+ - `"hello_world"`: Basic starting point.
235
+ - `"dam"`: Digital asset management integration.
236
+ - `"gen_ai"`: Generative AI app creation.
233
237
 
234
- - `--distribution`: Sets the app's distribution type.
238
+ - `--distribution`: Sets the app's distribution type.
235
239
 
236
- Available types:
240
+ Available types:
237
241
 
238
- - `"public"`: Available to all Canva users, subject to Canva review.
239
- - `"private"`: Only available to your team, and requires team admin approval.
242
+ - `"public"`: Available to all Canva users, subject to Canva review.
243
+ - `"private"`: Only available to your team, and requires team admin approval.
240
244
 
241
- **Note**: You can't change the distribution setting after creating a new app with the `canva apps create` command.
245
+ **Note**: You can't change the distribution setting after creating a new app with the `canva apps create` command.
242
246
 
243
- - `--git`: Initializes a Git repository in the project directory.
247
+ - `--git`: Initializes a Git repository in the project directory.
244
248
 
245
- - `--installDependencies`: Automatically installs necessary npm dependencies during the app creation process.
249
+ - `--installDependencies`: Automatically installs necessary npm dependencies during the app creation process.
246
250
 
247
- - `--offline`: Scaffold the app locally without also creating an app in the Developer Portal.
251
+ - `--offline`: Scaffold the app locally without also creating an app in the Developer Portal.
248
252
 
249
- - `list`: List all Canva apps.
253
+ ##### list
250
254
 
251
- ```shell
252
- canva apps list
253
- ```
255
+ List all Canva apps.
254
256
 
255
- - **Flags**:
257
+ ```shell
258
+ canva apps list
259
+ ```
256
260
 
257
- - `--appId`: Specifies an App ID to select.
258
- - `--all`, `-a`: Lists all apps at once without pagination.
259
- - `--print`, `-p`: Prints the list of apps to the console without interactivity.
261
+ - **Flags**:
260
262
 
261
- - `preview`: Preview your app.
263
+ - `--appId`: Specifies an App ID to select.
264
+ - `--all`, `-a`: Lists all apps at once without pagination.
265
+ - `--print`, `-p`: Prints the list of apps to the console without interactivity.
262
266
 
263
- ```shell
264
- canva apps preview
265
- ```
267
+ ##### preview
266
268
 
267
- - `doctor`: Run diagnostics on your Canva App to identify and fix issues.
269
+ Preview your app.
268
270
 
269
- ```shell
270
- canva apps doctor
271
- ```
271
+ ```shell
272
+ canva apps preview
273
+ ```
274
+
275
+ ##### doctor
276
+
277
+ Run diagnostics on your Canva App to identify and fix issues.
278
+
279
+ ```shell
280
+ canva apps doctor
281
+ ```
272
282
 
273
- - **Flags**:
283
+ - **Flags**:
274
284
 
275
- - `--fix`: Automatically apply fixes for issues where possible.
276
- - `--report`: Output check results without prompting for fixes.
277
- - `--verbose`: Show detailed diagnostic output optimized for AI agent assistance.
285
+ - `--fix`: Automatically apply fixes for issues where possible.
286
+ - `--report`: Output check results without prompting for fixes.
287
+ - `--verbose`: Show detailed diagnostic output optimized for AI agent assistance.
278
288
 
279
289
  #### logout
280
290