Endpoint: POST /mcpApiChannel/mcp — JSON-RPC 2.0, header X-Dymico-Key
| Tool | Like bash | Description |
|---|---|---|
dymico_list_products | ls / | List all available modules (products). |
dymico_get_product_structure | ls -la module/ | List every file in a module. Use compact:true for minimal output. |
dymico_read_docs | man module | Read all documentation for a module. Call FIRST on unfamiliar modules. |
dymico_read_file | cat file.groovy | Read source code. Supports startLine/endLine for partial reads. Returns checksum. |
dymico_write_file | tee file.groovy | Save code via full write OR unified diff patch. Supports expectedChecksum. |
dymico_create_file | touch file.groovy | Create a brand-new file in a module. |
dymico_move_file | mv file other-module/ | Move a file between modules. |
dymico_soft_delete | rm (reversible) | Soft-delete a file by moving it to the Trash product. |
dymico_create_branch | git checkout -b feat | Create a new branch (EngageProductTag) on a product via tag-aliasing — no files copied. |
dymico_assign_branch_to_ecp | git checkout other | Point a client-product (ECP) at a branch. If multiple ECPs match the (client, product), returns candidates so caller can pick ecpId. |
dymico_search_code | grep -r "query" . | Search code across modules. Supports maxFiles/maxMatchesPerFile limits and typeFilter to include only specific file types. |
dymico_run_test | ./run_tests.sh file | Execute unit tests for a Groovy file. |
dymico_run_grooscript_test | ./browser_test.sh file | Run browser tests for Grooscript/Vue components. |
dymico_read_log | grep pattern app.log | Read/search recent logs. Supports filter, regex, contextLines (like grep -C). |
dymico_read_system_log | grep pattern catalina.out | Read/search the Tomcat system log (catalina.out). For low-level errors not in ECP logs. |
dymico_call | node -e "obj.method()" | Invoke a live object/service method for runtime inspection. |
dymico_create_related_view | touch Comp/View.html | Create HTML view linked to a Grooscript/Vue component. |
dymico_refresh_articles | systemctl reload svc | Force-reload a file's runtime registration. Cascades tag-version bumps to direct consumer products so their ObjectFinder caches rebuild — picks up new files / new deps without a Tomcat restart. |
dymico_eval | groovy -e "code" | Run Groovy code in a product's runtime context (REPL/console). |
dymico_add_dependency | npm install module | Add module dependency. Ask developer first. |
dymico_add_grape | mvn dependency:add | Add Maven JAR dependency. Ask developer first. |
dymico_list_versions | git log file.groovy | List version history. Optional zonerUsername filter. |
dymico_read_version | git show | Read code from a specific historical version. |
dymico_diff_versions | git diff v1..v2 file | Diff two versions, or diff developer last save vs current. |