KosmoKrator

marketing

Brandfetch CLI for Coding Agents

Use the Brandfetch CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

Brandfetch CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. 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 Coding Agents
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

FunctionTypeParametersDescription
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

Related Brandfetch CLI Pages