@botpress/adk-cli 1.19.0-beta.4 → 1.19.0-beta.6

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.
Files changed (87) hide show
  1. package/{dist/index-a3ZL0_Jr-q145h35p.js → assets/ui-dist/assets/index-BC_iUF2d.js} +2 -2
  2. package/assets/ui-dist/assets/index-BxpvDT_K.css +1 -0
  3. package/{dist/index-BESZeTO5-2rpmcefa.js → assets/ui-dist/assets/index-C7gAokRv.js} +2 -2
  4. package/assets/ui-dist/assets/{index-B3b7PPgV.js → index-exyr_Djl.js} +424 -424
  5. package/assets/ui-dist/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
  6. package/assets/ui-dist/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
  7. package/assets/ui-dist/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
  8. package/assets/ui-dist/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
  9. package/assets/ui-dist/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
  10. package/assets/ui-dist/index.html +2 -2
  11. package/dist/{README-wjb7z7f0.md → README-824wa4jj.md} +1 -1
  12. package/dist/SKILL-75ym6tcj.md +257 -0
  13. package/dist/SKILL-chnwzmt1.md +548 -0
  14. package/dist/SKILL-d4bs53y3.md +244 -0
  15. package/dist/SKILL-h4b2f1n9.md +114 -0
  16. package/dist/SKILL-hbw5nt95.md +111 -0
  17. package/dist/actions-h7hxxvxr.md +823 -0
  18. package/dist/adk-build-emhwd0tg.md +39 -0
  19. package/dist/adk-debug-yrrdtpmb.md +23 -0
  20. package/dist/adk-dev-console-7z9rtjpy.md +17 -0
  21. package/dist/adk-document-ras6zzzh.md +68 -0
  22. package/dist/adk-eval-vx76dwq0.md +17 -0
  23. package/dist/adk-explain-fcsaw852.md +22 -0
  24. package/dist/adk-init-9kmxmbbe.md +30 -0
  25. package/dist/adk-ship-dybzn884.md +29 -0
  26. package/dist/adk-test-xq67savs.md +27 -0
  27. package/dist/adk-validate-1p4skv4m.md +31 -0
  28. package/dist/advanced-patterns-z86m9h1a.md +669 -0
  29. package/dist/agent-config-1aqvkrgf.md +450 -0
  30. package/dist/agent-steps-zj4c1n9t.md +115 -0
  31. package/dist/assets-q7jt8r2q.md +237 -0
  32. package/dist/autonomous-execution-fymc12e5.md +747 -0
  33. package/dist/cli-c31e06yr.md +1334 -0
  34. package/dist/cli.js +4241 -6449
  35. package/dist/commands.json +25 -4
  36. package/dist/common-failures-ht29w2db.md +231 -0
  37. package/dist/component-registry-bbpw0see.md +43 -0
  38. package/dist/context-api-760cvh0h.md +461 -0
  39. package/dist/conversation-analysis-8ka4nrm4.md +420 -0
  40. package/dist/conversation-lifecycle-4seqqjc1.md +311 -0
  41. package/dist/conversations-gwfvxaee.md +1111 -0
  42. package/dist/custom-components-y5wdgpey.md +167 -0
  43. package/dist/debug-workflow-vz84q80v.md +239 -0
  44. package/dist/desk-k54ktvsd.md +852 -0
  45. package/dist/doc-standards-ck6ax2jd.md +124 -0
  46. package/dist/eval-format-7n9brja4.md +354 -0
  47. package/dist/evals-y1zcr1mc.md +11 -0
  48. package/dist/explain-config-1yaq3zzd.md +424 -0
  49. package/dist/files-dzt0wxn3.md +918 -0
  50. package/dist/{index-3t354nbw.html → index-0qts7wfk.html} +2 -2
  51. package/{assets/ui-dist/assets/index-a3ZL0_Jr.js → dist/index-BC_iUF2d-3h9mqazs.js} +2 -2
  52. package/dist/index-BxpvDT_K-62864175.css +1 -0
  53. package/{assets/ui-dist/assets/index-BESZeTO5.js → dist/index-C7gAokRv-zr7dzkba.js} +2 -2
  54. package/dist/{index-B3b7PPgV-zetkb01w.js → index-exyr_Djl-ksys08wc.js} +424 -424
  55. package/dist/integration-actions-xang7tma.md +659 -0
  56. package/dist/integrations-k5ss07f4.md +266 -0
  57. package/dist/interfaces-6t0bpxs4.md +97 -0
  58. package/dist/jetbrains-mono-cyrillic-wght-normal-D73BlboJ-6vpq1jfh.woff2 +0 -0
  59. package/dist/jetbrains-mono-greek-wght-normal-Bw9x6K1M-jv5dqe09.woff2 +0 -0
  60. package/dist/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a-h2ysfc3f.woff2 +0 -0
  61. package/dist/jetbrains-mono-latin-wght-normal-B9CIFXIH-hj2e42wt.woff2 +0 -0
  62. package/dist/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq-wttk1pwp.woff2 +0 -0
  63. package/dist/knowledge-bases-20rg8p5c.md +456 -0
  64. package/dist/llm-debugging-76ng8rzm.md +209 -0
  65. package/dist/mcp-server-n1asyzhv.md +112 -0
  66. package/dist/messages-gkkg0b54.md +769 -0
  67. package/dist/model-configuration-f273kgd0.md +201 -0
  68. package/dist/multi-agent-dashboard-1mdfjdts.md +70 -0
  69. package/dist/pages-xn18xn73.md +273 -0
  70. package/dist/patterns-mistakes-5vb99dhf.md +469 -0
  71. package/dist/plugins-ttnx8f49.md +280 -0
  72. package/dist/tables-x45t36dd.md +1136 -0
  73. package/dist/tags-46td3qrg.md +516 -0
  74. package/dist/test-patterns-hj47w4nc.md +355 -0
  75. package/dist/testing-workflow-2vkp932f.md +225 -0
  76. package/dist/tools-wk7bq24z.md +581 -0
  77. package/dist/trace-summarization-hdyx1c2e.md +313 -0
  78. package/dist/traces-and-logs-f2kjfh19.md +203 -0
  79. package/dist/triggers-4j2cc86x.md +719 -0
  80. package/dist/ui-server-entry.js +1839 -791
  81. package/dist/workflow-steps-mrdrf1c5.md +851 -0
  82. package/dist/workflows-gadx3s69.md +1408 -0
  83. package/dist/zai-agent-reference-e6644aad.md +454 -0
  84. package/dist/zai-complete-guide-mnna5d6f.md +1408 -0
  85. package/package.json +4 -4
  86. package/assets/ui-dist/assets/index-DIFGtVmI.css +0 -1
  87. package/dist/index-DIFGtVmI-d4dhjg97.css +0 -1
@@ -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