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.
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.
Cursor's agent decides which of these to call and when — you just describe what you want in chat.
One JSON block and an API key — Cursor's agent takes it from there. Need the full parameter tables, response shapes and error codes?