Cursor is an AI-powered code editor built on VS Code. With Yoku's MCP server, Cursor's AI assistant can access real-time brand data directly within your development workflow.
What you can do:
Before you begin, ensure you have:
Open Cursor and access the settings:
macOS:
Cmd + , (Command + Comma)Cursor > Settings... in the menu barWindows/Linux:
Ctrl + , (Control + Comma)File > Preferences > SettingsIn the Cursor settings interface:
Alternatively, you can:
Cmd/Ctrl + Shift + P to open the command palettemcpServers section, or create it if it doesn't existAdd the following configuration to your settings.json:
{
"mcpServers": {
"yoku": {
"url": "https://mcp.yoku.app",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}
Replace YOUR_API_KEY_HERE with your actual API key!
Get your API key from dashboard settings.
If you already have other MCP servers configured, add Yoku as a new entry:
{
"mcpServers": {
"existing-server": {
// ... your existing configuration
},
"yoku": {
"url": "https://mcp.yoku.app",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}
settings.json file (Cmd/Ctrl + S)To verify Yoku's MCP server is connected:
Cmd/Ctrl + L)brand.get and brand.search in the responseAlternatively, try a direct query:
"Use the brand.get tool to fetch information about stripe.com"
If successful, you'll see detailed brand information including logos, colors, and company data.
Once configured, you can use natural language to query brand data:
Get Brand Details:
"Get brand information for netflix.com"
"What are the brand colors for Spotify?"
"Show me details about Apple Inc."
"Fetch brand data for Tesla using ticker TSLA"
Search for Brands:
"Search for fintech companies"
"Find brands in the entertainment industry"
"Search for German tech companies"
"List companies similar to Stripe"
Development Use Cases:
"Create a React component with Netflix's brand colors"
"Generate a logo grid using brands from the search results"
"Build a brand comparison table for Stripe and Square"
"Write CSS variables using Airbnb's brand colors"
Example 1: Generate Branded UI Component
Prompt:
"Use Yoku to get Spotify's brand colors, then create a React card component using those colors"
Result:
// AI will first fetch Spotify's colors, then generate:
const SpotifyCard = () => {
return (
<div
className="card"
style={{
backgroundColor: "#1DB954", // Spotify green
color: "#FFFFFF",
}}
>
<h2>Spotify Premium</h2>
<p>Listen to your favorite music ad-free</p>
</div>
);
};
Example 2: Enrich Data Structure
Prompt:
"Get brand data for stripe.com and create a TypeScript interface for it"
Result:
interface Brand {
id: string;
title: string;
description: string;
canonicalDomain: string;
websiteUrl: string;
colors: Array<{
hex: string;
name: string;
usage: string;
}>;
socials: Array<{
type: string;
url: string;
handle: string;
}>;
// ... more fields
}
Problem: "Failed to connect to Yoku MCP server"
Solutions:
npx is available (run npx --version in terminal)Problem: Cursor AI doesn't see Yoku tools
Solutions:
Cmd/Ctrl + Shift + I to open DevToolsProblem: Getting 401 Unauthorized errors
Solutions:
Bearer prefix in the Authorization headerProblem: "API request limit reached"
Solutions:
Retry-After header)Be specific about what brand data you need:
❌ Vague: "Get brand info" ✅ Clear: "Use brand.get to fetch logo and colors for stripe.com"
Leverage brand data for immediate code generation:
"Get Netflix's brand colors and create a CSS file with custom properties"
For repeated use, store brand data locally:
// Fetch once
const stripeColors = await fetchBrandColors("stripe.com");
// Save to constants file
export const BRAND_COLORS = {
stripe: stripeColors,
// ... other brands
};
Keep track of MCP tool usage to stay within your plan limits. Each tool call counts as one API request.
If you're unsure of the exact domain, search first:
"Search for 'Spotify' to find the correct domain, then get full brand details"
Still having issues? We're here to help:
Pro Tip: Create Workspace-Specific Configurations
Use Cursor's workspace settings (.vscode/settings.json in your project) to configure different API keys per project while keeping your global settings clean.