-
Notifications
You must be signed in to change notification settings - Fork 0
MCP And Manifests
CW has two primary machine surfaces:
- CLI JSON:
cw <command> --json - MCP tools:
cw_*JSON-RPC tools
Both route through the same runtime entries where parity is declared. Human CLI formatting is policy; the shared payload is the mechanism.
The manifest source currently targets:
| Target | Purpose |
|---|---|
claude |
Claude Code plugin and MCP configuration. |
codex |
Codex plugin manifest. |
agents |
Generic .agents adapter. |
gemini |
Gemini plugin manifest and MCP configuration. |
opencode |
OpenCode plugin manifest and MCP configuration. |
The source of truth is:
plugins/cool-workflow/manifest/plugin.manifest.json
Generated files live under directories such as .claude-plugin/,
.codex-plugin/, .gemini-plugin/, .opencode-plugin/, and .agents/.
From plugins/cool-workflow:
npm run gen:manifests
npm run gen:manifests -- --check
npm run manifest:load-check
npm run parity:checkgen:manifests -- --check catches generated byte drift.
manifest:load-check boots generated MCP configs and checks JSON-RPC
initialize plus tools/list.
parity:check validates declared CLI and MCP payload parity.
| CLI | MCP |
|---|---|
cw app list --json |
cw_app_list |
cw report <run-id> --json |
cw_report |
cw run import PATH --target DIR |
cw_run_import |
cw run verify-import <run-id> |
cw_run_verify_import |
cw telemetry verify <run-id> |
cw_telemetry_verify |
cw workbench view <run-id> --json |
cw_workbench_view |
Some capabilities are intentionally CLI-only, such as quickstart, because they
are convenience wrappers over lower-level mechanisms MCP hosts can compose.
The intended path is data-first:
- Add a
targets.<vendor>entry toplugin.manifest.json. - Add the vendor output template in the manifest source.
- Run
npm run gen:manifests. - Run
npm run manifest:load-check.
Do not fork runtime logic per vendor. Vendor-specific rendering or prompt formatting belongs in wrappers or manifest data, not in the core runtime.
Organized from local Obsidian notes and reconciled with the current
coo1white/cool-workflow repository state.
Start here
Go deeper
- Workflow Apps
- Architecture
- Trust And Audit
- Recovery And Restore
- Commands or API
- MCP And Manifests
- Operations
- FAQ
Source docs