Skip to content

Commit fd760f4

Browse files
authored
Update getting-started.mdx (#448)
- Changed srv to app - Added # Deploy from a specific app directory mcp-agent deploy web-summarizer -c <path-to-app-directory>
1 parent 8562b8b commit fd760f4

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

docs/cloud/getting-started.mdx

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ Before you begin, make sure you have:
104104

105105
```bash
106106
# Get server details
107-
mcp-agent cloud servers describe srv_abc123xyz
107+
mcp-agent cloud servers describe app_abc123xyz
108108

109109
# View logs - this is essential for debugging!
110-
mcp-agent cloud logger tail srv_abc123xyz --follow
110+
mcp-agent cloud logger tail app_abc123xyz --follow
111111

112112
# Filter for errors
113-
mcp-agent cloud logger tail srv_abc123xyz --grep "ERROR" --since 5m
113+
mcp-agent cloud logger tail app_abc123xyz --grep "ERROR" --since 5m
114114
```
115115

116116
<Tip>
@@ -202,7 +202,11 @@ openai:
202202
# Deploy the agent
203203
mcp-agent deploy web-summarizer
204204

205-
# Or with description
205+
# Or deploy from a specific app directory
206+
mcp-agent deploy web-summarizer -c <path-to-app-directory>
207+
208+
209+
# or deploy with a custom app description
206210
mcp-agent deploy web-summarizer --app-description "Web content summarizer agent"
207211
```
208212

@@ -387,43 +391,43 @@ MCP Inspector is especially useful for:
387391
mcp-agent cloud servers list
388392
389393
# Get details
390-
mcp-agent cloud servers describe srv_abc123xyz
394+
mcp-agent cloud servers describe app_abc123xyz
391395
392396
# View statistics (if available)
393-
mcp-agent cloud servers stats srv_abc123xyz
397+
mcp-agent cloud servers stats app_abc123xyz
394398
```
395399

396400
### Monitor Workflows
397401

398402
```bash
399403
# List workflow runs
400-
mcp-agent cloud servers workflows srv_abc123xyz
404+
mcp-agent cloud servers workflows app_abc123xyz
401405
402406
# Get workflow status
403-
mcp-agent cloud workflows describe srv_abc123xyz run_123
407+
mcp-agent cloud workflows describe app_abc123xyz run_123
404408
405409
# Suspend a workflow
406-
mcp-agent cloud workflows suspend srv_abc123xyz run_123
410+
mcp-agent cloud workflows suspend app_abc123xyz run_123
407411
408412
# Resume with data
409-
mcp-agent cloud workflows resume srv_abc123xyz run_123 \
413+
mcp-agent cloud workflows resume app_abc123xyz run_123 \
410414
--payload '{"continue": true}'
411415
412416
# Cancel a workflow
413-
mcp-agent cloud workflows cancel srv_abc123xyz run_123
417+
mcp-agent cloud workflows cancel app_abc123xyz run_123
414418
```
415419

416420
### View Logs
417421

418422
```bash
419423
# Tail logs
420-
mcp-agent cloud logger tail srv_abc123xyz
424+
mcp-agent cloud logger tail app_abc123xyz
421425
422426
# Follow logs
423-
mcp-agent cloud logger tail srv_abc123xyz --follow
427+
mcp-agent cloud logger tail app_abc123xyz --follow
424428
425429
# Filter logs
426-
mcp-agent cloud logger tail srv_abc123xyz \
430+
mcp-agent cloud logger tail app_abc123xyz \
427431
--since 1h \
428432
--grep "ERROR" \
429433
--limit 100
@@ -442,10 +446,10 @@ mcp-agent deploy my-agent
442446

443447
```bash
444448
# Delete a deployment
445-
mcp-agent cloud servers delete srv_abc123xyz
449+
mcp-agent cloud servers delete app_abc123xyz
446450
447451
# Force delete (skip confirmation)
448-
mcp-agent cloud servers delete srv_abc123xyz --force
452+
mcp-agent cloud servers delete app_abc123xyz --force
449453
```
450454

451455
## Client Integration
@@ -515,7 +519,7 @@ After configuration, users can connect with their MCP client using the server UR
515519
<Accordion title="Deployment Fails">
516520
Check build logs:
517521
```bash
518-
mcp-agent cloud logger tail srv_abc123xyz --since 10m
522+
mcp-agent cloud logger tail app_abc123xyz --since 10m
519523
```
520524

521525
Common issues:
@@ -527,7 +531,7 @@ After configuration, users can connect with their MCP client using the server UR
527531
<Accordion title="Workflow Not Starting">
528532
Verify worker is running:
529533
```bash
530-
mcp-agent cloud servers describe srv_abc123xyz
534+
mcp-agent cloud servers describe app_abc123xyz
531535
```
532536

533537
Check for "Workers: Running" in the output.
@@ -598,4 +602,4 @@ Explore complete examples:
598602
<Card title="Monitoring" icon="chart-line" href="/advanced/monitoring">
599603
Set up logging and alerts
600604
</Card>
601-
</CardGroup>
605+
</CardGroup>

0 commit comments

Comments
 (0)