Software / Cursor
Software · MCP

Cursor

Available now

Add YoFont as an MCP server in Cursor and ask its agent for fonts the same way you ask it for code — describe what you need, or point it at a reference image, and a ready-to-use font family lands in your project. No dashboard required.

Setup

Connect Cursor in 3 steps

YoFont's MCP server is a standard Streamable HTTP endpoint — Cursor talks to it directly, nothing else to install.

Get an API key

It's the same Bearer token the REST API uses (starts with yf_live_) — create one for free from your profile →

Add YoFont to Cursor's MCP config

Create or edit the file below with the JSON config — globally for every project, or scoped to a single one — and paste in the YoFont server block.

~/.cursor/mcp.json or .cursor/mcp.json

Reload and ask for a font

Restart Cursor (or just reload its MCP servers from the command palette), then describe the font you need in chat — the agent calls YoFont's tools on its own.

{
  "mcpServers": {
    "yofont": {
      "url": "https://yofont.com/api/public/mcp",
      "headers": { "Authorization": "Bearer ${env:YOFONT_KEY}" }
    }
  }
}

${env:YOFONT_KEY} pulls the key from your shell's YOFONT_KEY environment variable — set it before launching Cursor, or paste your key directly into the headers field instead.

Tools

5 tools, called automatically

Cursor's agent decides which of these to call and when — you just describe what you want in chat.

generate_font
Generate a brand-new font family from a prompt and/or a reference image URL — pick languages, weights, glyph types and a model tier (standard = Epicur, 1x cost; pro = Spinoza, 3x; ultra = Nietzsche, 5x). Returns immediately with a link to poll; it's an async job.
check_font_status
Poll a font job by its link. Once ready, returns direct ttf/otf/woff/woff2 URLs — fetch those directly, no auth needed for the file itself.
download_font
Fetch a font file's bytes inline as an MCP resource for a given link and format (ttf/otf/woff/woff2, default ttf), so the agent can write it straight to disk in your project. Falls back to a plain URL if the file is unusually large.
list_languages
List every supported ISO-2 language code with glyph counts and text direction.
list_my_fonts
List your last 100 font jobs — status, model, source, and a link to each font's page.

Full MCP tool reference →

Try it

Prompts to paste into Cursor's chat

🔤
"Generate a geometric monospace font for our code editor theme, English only, normal and bold weights."
Calls generate_font with model_tier: standard and glyph types focused on letters, digits and punctuation.
🌍
"What Cyrillic and Greek languages does YoFont support? I need a font covering Russian, Ukrainian and Greek."
Calls list_languages first, then generate_font with the right ISO-2 codes.
🖼️
"Generate a font from this logo screenshot [url], wait for it to finish, then download it and wire it into our Tailwind config."
Chains generate_font → check_font_status → download_font, then edits your project files directly.

That's the whole setup

One JSON block and an API key — Cursor's agent takes it from there. Need the full parameter tables, response shapes and error codes?

← Back to Software Full MCP tool reference →