@botpress/adk-cli 1.19.0-beta.3 → 1.19.0-beta.5
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/assets/ui-dist/assets/{index-CSTz-oTK.js → index-B3b7PPgV.js} +4 -4
- package/{dist/index-DNqXHLNi-27nvpkee.js → assets/ui-dist/assets/index-BESZeTO5.js} +2 -2
- package/{dist/index-DAztRXeA-vr85xnxs.css → assets/ui-dist/assets/index-DIFGtVmI.css} +1 -1
- package/{dist/index-DfjXY3Oo-szsanhnt.js → assets/ui-dist/assets/index-a3ZL0_Jr.js} +2 -2
- package/assets/ui-dist/index.html +2 -2
- package/dist/{README-wjb7z7f0.md → README-824wa4jj.md} +1 -1
- package/dist/SKILL-75ym6tcj.md +257 -0
- package/dist/SKILL-chnwzmt1.md +548 -0
- package/dist/SKILL-d4bs53y3.md +244 -0
- package/dist/SKILL-h4b2f1n9.md +114 -0
- package/dist/SKILL-hbw5nt95.md +111 -0
- package/dist/actions-h7hxxvxr.md +823 -0
- package/dist/adk-build-emhwd0tg.md +39 -0
- package/dist/adk-debug-yrrdtpmb.md +23 -0
- package/dist/adk-dev-console-7z9rtjpy.md +17 -0
- package/dist/adk-document-ras6zzzh.md +68 -0
- package/dist/adk-eval-vx76dwq0.md +17 -0
- package/dist/adk-explain-fcsaw852.md +22 -0
- package/dist/adk-init-9kmxmbbe.md +30 -0
- package/dist/adk-ship-dybzn884.md +29 -0
- package/dist/adk-test-xq67savs.md +27 -0
- package/dist/adk-validate-1p4skv4m.md +31 -0
- package/dist/advanced-patterns-z86m9h1a.md +669 -0
- package/dist/agent-config-1aqvkrgf.md +450 -0
- package/dist/agent-steps-zj4c1n9t.md +115 -0
- package/dist/agent0-assets/skills/adk/SKILL.md +5 -5
- package/dist/agent0-assets/skills/adk/references/cli.md +265 -24
- package/dist/agent0-assets/skills/adk-debugger/SKILL.md +5 -5
- package/dist/agent0-assets/skills/adk-debugger/references/common-failures.md +1 -1
- package/dist/agent0-assets/skills/adk-debugger/references/debug-workflow.md +3 -3
- package/dist/agent0-assets/skills/adk-debugger/references/traces-and-logs.md +15 -7
- package/dist/assets-q7jt8r2q.md +237 -0
- package/dist/autonomous-execution-fymc12e5.md +747 -0
- package/dist/cli-c31e06yr.md +1334 -0
- package/dist/cli.js +963 -548
- package/dist/commands.json +24 -3
- package/dist/common-failures-ht29w2db.md +231 -0
- package/dist/component-registry-bbpw0see.md +43 -0
- package/dist/context-api-760cvh0h.md +461 -0
- package/dist/conversation-analysis-8ka4nrm4.md +420 -0
- package/dist/conversation-lifecycle-4seqqjc1.md +311 -0
- package/dist/conversations-gwfvxaee.md +1111 -0
- package/dist/custom-components-y5wdgpey.md +167 -0
- package/dist/debug-workflow-vz84q80v.md +239 -0
- package/dist/desk-k54ktvsd.md +852 -0
- package/dist/doc-standards-ck6ax2jd.md +124 -0
- package/dist/eval-format-7n9brja4.md +354 -0
- package/dist/evals-y1zcr1mc.md +11 -0
- package/dist/explain-config-1yaq3zzd.md +424 -0
- package/dist/files-dzt0wxn3.md +918 -0
- package/dist/{index-gqxgqnyz.html → index-3t354nbw.html} +2 -2
- package/dist/{index-CSTz-oTK-mdfh47r8.js → index-B3b7PPgV-zetkb01w.js} +4 -4
- package/{assets/ui-dist/assets/index-DNqXHLNi.js → dist/index-BESZeTO5-2rpmcefa.js} +2 -2
- package/{assets/ui-dist/assets/index-DAztRXeA.css → dist/index-DIFGtVmI-d4dhjg97.css} +1 -1
- package/{assets/ui-dist/assets/index-DfjXY3Oo.js → dist/index-a3ZL0_Jr-q145h35p.js} +2 -2
- package/dist/integration-actions-xang7tma.md +659 -0
- package/dist/integrations-k5ss07f4.md +266 -0
- package/dist/interfaces-6t0bpxs4.md +97 -0
- package/dist/knowledge-bases-20rg8p5c.md +456 -0
- package/dist/llm-debugging-76ng8rzm.md +209 -0
- package/dist/mcp-server-n1asyzhv.md +112 -0
- package/dist/messages-gkkg0b54.md +769 -0
- package/dist/model-configuration-f273kgd0.md +201 -0
- package/dist/multi-agent-dashboard-1mdfjdts.md +70 -0
- package/dist/pages-xn18xn73.md +273 -0
- package/dist/patterns-mistakes-5vb99dhf.md +469 -0
- package/dist/plugins-ttnx8f49.md +280 -0
- package/dist/tables-x45t36dd.md +1136 -0
- package/dist/tags-46td3qrg.md +516 -0
- package/dist/test-patterns-hj47w4nc.md +355 -0
- package/dist/testing-workflow-2vkp932f.md +225 -0
- package/dist/tools-wk7bq24z.md +581 -0
- package/dist/trace-summarization-hdyx1c2e.md +313 -0
- package/dist/traces-and-logs-f2kjfh19.md +203 -0
- package/dist/triggers-4j2cc86x.md +719 -0
- package/dist/ui-server-entry.js +977 -162
- package/dist/workflow-steps-mrdrf1c5.md +851 -0
- package/dist/workflows-gadx3s69.md +1408 -0
- package/dist/zai-agent-reference-e6644aad.md +454 -0
- package/dist/zai-complete-guide-mnna5d6f.md +1408 -0
- package/package.json +4 -4
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# ADK MCP Server
|
|
2
|
+
|
|
3
|
+
The ADK includes a built-in MCP (Model Context Protocol) server that enables AI assistants like Claude Code, Cursor, and VS Code to interact with your ADK project.
|
|
4
|
+
|
|
5
|
+
## Quick Setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# From your ADK project root (auto-detects project)
|
|
9
|
+
adk mcp:init --all
|
|
10
|
+
|
|
11
|
+
# Or specify project directory (for monorepos)
|
|
12
|
+
adk mcp:init --all --project-dir ./bot
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This generates configuration files for:
|
|
16
|
+
- **Claude Code**: `.mcp.json`
|
|
17
|
+
- **VS Code**: `.vscode/mcp.json`
|
|
18
|
+
- **Cursor**: `.cursor/mcp.json`
|
|
19
|
+
|
|
20
|
+
## What It Provides
|
|
21
|
+
|
|
22
|
+
Once configured, AI assistants gain tools to:
|
|
23
|
+
|
|
24
|
+
- **Debug** - Query traces, get dev logs, check build status
|
|
25
|
+
- **Test** - Send messages to your running bot and receive responses
|
|
26
|
+
- **Discover** - Search and explore integrations on the Botpress Hub
|
|
27
|
+
- **Manage** - Add integrations, start workflows, get agent info
|
|
28
|
+
- **Docs** - Search Botpress documentation (proxied from Mintlify)
|
|
29
|
+
|
|
30
|
+
The MCP server exposes its own tool descriptions - your AI assistant will see what's available.
|
|
31
|
+
|
|
32
|
+
> **Current limitation:** The MCP server is useful for inspection, testing, and project-aware tooling, but its init flow is not the most reliable unattended bootstrap path right now. The MCP `adk_init_project` tool is out of sync with the CLI template names and can still fall into interactive login/link flows. For scripted setup, prefer the shell flow: `adk login --token "$BOTPRESS_TOKEN"`, then `adk init <name> --yes --skip-link`.
|
|
33
|
+
|
|
34
|
+
## Commands
|
|
35
|
+
|
|
36
|
+
### adk mcp
|
|
37
|
+
|
|
38
|
+
Start the MCP server (called automatically by AI assistants via config).
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
adk mcp [--cwd <path>]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### adk mcp:init
|
|
45
|
+
|
|
46
|
+
Generate MCP configuration files.
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
adk mcp:init [options]
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Options:**
|
|
53
|
+
- `--tool <name>` - Generate for specific tool (claude-code, vscode, cursor)
|
|
54
|
+
- `--all` - Generate for all supported tools
|
|
55
|
+
- `--force` - Overwrite existing config
|
|
56
|
+
- `--project-dir <path>` - ADK project subdirectory (for monorepos)
|
|
57
|
+
|
|
58
|
+
## Monorepo Setup
|
|
59
|
+
|
|
60
|
+
When your ADK project is in a subdirectory:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
my-monorepo/
|
|
64
|
+
├── bot/ # ADK project (agent.config.ts here)
|
|
65
|
+
├── frontend/
|
|
66
|
+
└── .mcp.json # Config created at root
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
The generated config includes `--cwd` to target the correct directory:
|
|
70
|
+
|
|
71
|
+
```json
|
|
72
|
+
{
|
|
73
|
+
"mcpServers": {
|
|
74
|
+
"adk": {
|
|
75
|
+
"command": "adk",
|
|
76
|
+
"args": ["mcp", "--cwd", "./bot"]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Requirements
|
|
83
|
+
|
|
84
|
+
- **ADK CLI** installed and in PATH
|
|
85
|
+
- **For project tools:** Valid ADK project with `agent.config.ts`
|
|
86
|
+
- **For messaging/workflow tools:** `adk dev` server running on the default console port `3001`
|
|
87
|
+
|
|
88
|
+
## Troubleshooting
|
|
89
|
+
|
|
90
|
+
**"Not in an ADK project directory"**
|
|
91
|
+
- Ensure `--cwd` points to directory with `agent.config.ts`
|
|
92
|
+
|
|
93
|
+
**"Dev server is not running"**
|
|
94
|
+
- Start the dev server: `adk dev`
|
|
95
|
+
|
|
96
|
+
**"MCP can connect, but messaging/workflow tools fail"**
|
|
97
|
+
- Use the default console port: `adk dev --port-console 3001`
|
|
98
|
+
- Current MCP dev-server-backed tools assume `http://localhost:3001`
|
|
99
|
+
|
|
100
|
+
**"No chat or webchat integration found"**
|
|
101
|
+
- Add an integration: `adk add chat` or `adk add webchat`
|
|
102
|
+
|
|
103
|
+
**Inspect the MCP server:**
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
npx @modelcontextprotocol/inspector adk mcp
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## See Also
|
|
110
|
+
|
|
111
|
+
- **[CLI Reference](./cli.md)** - All ADK CLI commands
|
|
112
|
+
- **[Agent Configuration](./agent-config.md)** - agent.config.ts setup
|