| name | collavre |
| description | Manage Collavre Creatives (hierarchical tasks/content blocks) via CLI. Use when creating, retrieving, updating, importing, or batch-operating on Creatives. Creatives are tree-structured items with automatic progress rollup — like a smart to-do list that doubles as a structured document. |
Collavre
CLI for managing Collavre Creatives via MCP protocol.
Setup
collavre auth --url https://collavre.example.com --token <oauth_token>
collavre list
The collavre script lives in scripts/collavre. Config is stored at ~/.config/collavre/config.json.
Commands
List root creatives
collavre list
collavre list --level 5
collavre list --format json
Get a creative subtree
collavre get 123
collavre get 123 --level 5 --comments
Search
collavre search "project name"
collavre search "urgent" --tags "v2"
Create
collavre create --parent 123 --desc "New task"
collavre create --parent 123 --desc "# Rich content\n\n- point one\n- point two"
Update
collavre update 456 --desc "Updated title"
collavre update 456 --progress 1.0
collavre update 456 --parent 789
Import markdown
collavre import --parent 123 --file plan.md
collavre import --parent 123 --stdin < plan.md
echo "# Quick\n## Plan" | collavre import --parent 123 --stdin
Attach a file
collavre attach --creative 123 --file ./hero.png
Uploads the raw bytes over a bearer multipart endpoint, embeds the matching
node (<img>/<video>/<a>) into the creative's description, and attaches the
blob to creative.files. Use this for binary files on disk. For inline
agent-generated text (markdown/html/svg source), use the
creative_attach_files_service tool with files: [{ filename, content }].
Batch operations
collavre batch --file ops.json
ops.json format:
[
{ "action": "create", "parent_id": 100, "description": "Task A" },
{ "action": "update", "id": 200, "progress": 1.0 },
{ "action": "delete", "id": 300 }
]
Discover & run tools (meta)
collavre tool list
collavre tool list --full
collavre tool search "github"
collavre tool info <tool_name>
collavre tool run <tool_name> --json '{"k":"v"}'
collavre tool run <tool_name> --key value
Key Concepts
- Tree structure: Creatives nest via
parent_id. Use --level to control depth.
- Progress: Leaf = manual (0.0 or 1.0). Parent = auto-calculated from children.
- Import: Markdown headings/bullets become nested Creatives.
- Batch: All-or-nothing transaction. Requires approval.
- Description format: Written as Markdown (GitHub-Flavored: headings, bold/italic, lists, links, tables, code blocks, task lists). A single newline is a line break. Plain text is stored as-is.
For detailed MCP tool parameters, see references/tool-reference.md.