marketing
Brandfetch CLI for CI
Use the Brandfetch CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write Bearer token auth
Brandfetch CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. The Brandfetch CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Brandfetch CLI for CI
kosmokrator integrations:configure brandfetch --set access_token="$BRANDFETCH_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call brandfetch.brandfetch_get_brand '{"domain":"example_domain"}' --json Discovery Before Execution
Agents and scripts can inspect Brandfetch docs and schemas before choosing a function.
kosmo integrations:docs brandfetch --json
kosmo integrations:docs brandfetch.brandfetch_get_brand --json
kosmo integrations:schema brandfetch.brandfetch_get_brand --json
kosmo integrations:search "Brandfetch" --json
kosmo integrations:list --json Useful Brandfetch CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
brandfetch.brandfetch_get_brand | Read | domain | Look up a brand by its domain (e.g., "spotify.com") to retrieve logos, colors, fonts, and other brand assets. Returns the complete brand profile with all available assets. |
brandfetch.brandfetch_search_brands | Read | query, limit | Search for brands by name or domain. Returns a list of matching brands with basic info. Use the brand ID from results to fetch detailed assets like logos, colors, and fonts. |
brandfetch.brandfetch_list_logos | Read | brand_id, limit | List all logo variants available for a brand. Returns logos in different formats (SVG, PNG), sizes, and themes (light, dark, icon). |
brandfetch.brandfetch_get_logo | Read | id | Get a single logo by its ID. Returns detailed information including download URL, format, dimensions, and theme. |
brandfetch.brandfetch_list_colors | Read | brand_id, limit | List the official brand colors (hex values) for a brand. Returns color types such as primary, secondary, accent, dark, and light. |
brandfetch.brandfetch_list_fonts | Read | brand_id, limit | List the fonts used by a brand. Returns font families, weights, and usage context (heading, body, etc.). |
brandfetch.brandfetch_get_current_user | Read | none | Get the authenticated user's Brandfetch account details, including name, email, plan, and usage information. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.