KosmoKrator

marketing

Brandfetch MCP Integration for OpenAI Agents SDK

Connect Brandfetch to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Brandfetch to OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Brandfetch MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "mcpServers": {
    "kosmokrator-brandfetch": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=brandfetch",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=brandfetch --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Brandfetch instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Brandfetch Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Brandfetch integration catalog.

MCP toolSource functionTypeDescription
integration__brandfetch__brandfetch_get_brand brandfetch.brandfetch_get_brand Read 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.
integration__brandfetch__brandfetch_search_brands brandfetch.brandfetch_search_brands Read 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.
integration__brandfetch__brandfetch_list_logos brandfetch.brandfetch_list_logos Read List all logo variants available for a brand. Returns logos in different formats (SVG, PNG), sizes, and themes (light, dark, icon).
integration__brandfetch__brandfetch_get_logo brandfetch.brandfetch_get_logo Read Get a single logo by its ID. Returns detailed information including download URL, format, dimensions, and theme.
integration__brandfetch__brandfetch_list_colors brandfetch.brandfetch_list_colors Read List the official brand colors (hex values) for a brand. Returns color types such as primary, secondary, accent, dark, and light.
integration__brandfetch__brandfetch_list_fonts brandfetch.brandfetch_list_fonts Read List the fonts used by a brand. Returns font families, weights, and usage context (heading, body, etc.).
integration__brandfetch__brandfetch_get_current_user brandfetch.brandfetch_get_current_user Read Get the authenticated user's Brandfetch account details, including name, email, plan, and usage information.

Related Brandfetch Pages