Fonts of a website
make_font_kitRead a web page to extract the fonts it uses, save each loaded font file with its license, and identify free alternatives for non-free fonts.
Instructions
Use it when the user wants the fonts a site uses, their files and licenses, or free fonts that match a site's type. Reads one page of a website in a headless browser and saves its fonts in one folder: which font draws its headings, body text, buttons and code, every font file the page loads, how each one is licensed, and the closest free font for each one that is not free. FONTS.md is the file to read first, fonts.css is for pages, with a variable for each role, and fonts.json for tools. The license of each font is written next to it so the user can decide what to use. It reads only the page at url, so a font used only on another page needs a run on that page, and a page that answers with an error gets no kit. For a whole brand kit with logos and colors, use make_brand_kit instead. The fonts playbook (makersmcp_playbook) has the whole job. (easyfontkit 0.1.5, on this machine.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "make_font_kit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page whose fonts to read, like https://linear.app. Only that page is read, and fonts can differ between pages, so give the one whose look is needed. | |
| files | No | Save every font file the page loads in files/ (default true). Set to false to read the font files without saving them; fonts.css then loads none of the site's own files. | |
| out_dir | No | Folder to save into, absolute or relative to /app. Default: easyfontkit-<host>, where <host> is the site's host without www or the port. A run replaces what an earlier run of this tool left there once it has ended well, and one that fails or is canceled leaves it as it was: give each version its own out_dir. The folder must be empty or hold an earlier run of this tool: any other folder stops it. | |
| wait_seconds | No | How long to wait for the result, counted from the start of the call, before returning a job_id to wait on. Some clients end a call after 60 or 240 seconds; 45 is safe in all of them. | |
| timeout_seconds | No | Give up after this many seconds (default 120). When a role shows a system font where the site's own was expected, its fonts may load late: try 240. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | ||
| docs | No | The notes the text shows, and where each one is. | |
| next | No | What to do next, as the Next line says. | |
| tool | Yes | ||
| files | No | ||
| folder | No | Where the kit saved its files. | |
| job_id | Yes | ||
| passed | No | For checks: whether the check passed. | |
| status | Yes | ||
| continued | No | True when this call continued the job of an identical call whose answer did not reach the client, instead of starting another. | |
| exit_code | No | ||
| last_line | No | What the kit was doing last. | |
| expires_at | No | When the download links stop working. | |
| next_action | No | ||
| elapsed_seconds | Yes |