MCP.so
Sign In

MCP SVG to Font

@omy13

Basic information

Category

Other

Transports

stdio

Author

omy13

About MCP SVG to Font

🎨 MCP Server that converts SVG icons into web fonts with CSS and TypeScript support. Generate icon fonts from directories of SVG files.

#css#svg#typescript#web-development#frontend#mcp#icons#webfonts#web-fonts#icon-font#woff#ttf#font-generator#desing-system#mcp-server

MCP SVG to Font config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-svg-to-fonts": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "npx",
        "tsx",
        "src/main.ts"
      ]
    }
  }
}

MCP SVG to Font tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is MCP SVG to Font?

MCP SVG to Font is a Model Context Protocol (MCP) server that converts SVG icons into multiple font formats (TTF, WOFF, WOFF2) and generates CSS and TypeScript definitions. It is designed for developers and AI agents who need to create, extend, or manage icon fonts while preserving backward compatibility.

How to use MCP SVG to Font?

Install Node.js 20.x+ and pnpm 10.x+, clone the repository, run pnpm install and pnpm build. Configure your MCP client (e.g., Claude Desktop) with the command npx tsx src/main.ts for development or node ./dist/main.js for production. Use the tools list-svgs, generate-font-from-svgs, extend-existing-font, or extend-font-advanced to scan directories, create fonts, or extend existing ones.

Key features of MCP SVG to Font

  • Converts SVG icons to TTF, WOFF, and WOFF2 formats.
  • Generates CSS with font-face declarations and icon classes.
  • Creates TypeScript type definitions for type-safe usage.
  • Extends existing fonts with new icons while preserving backward compatibility.
  • Extracts glyphs from TTF files without requiring original SVGs.
  • Fully compatible with MCP for AI agent integration.

Use cases of MCP SVG to Font

  • Creating a new custom icon system from a set of SVG files.
  • Adding new icons to an existing icon font while keeping all current icons intact.
  • Extending a third-party or legacy icon font when original SVG sources are unavailable.

Frequently asked questions

1

What font formats does MCP SVG to Font generate?

It can generate TTF, WOFF, and WOFF2 font files.

2

What are the prerequisites to run MCP SVG to Font?

Node.js version 20.x or later and pnpm version 10.x or later are required.

3

How does `extend-font-advanced` differ from `extend-existing-font`?

`extend-existing-font` requires the original SVG files, while `extend-font-advanced` extracts glyphs directly from the TTF file, meaning original SVGs are not needed.

4

Does extending a font break existing projects?

No, both extension methods guarantee 100% backward compatibility—existing icons keep their Unicode values, so existing code continues to work without changes.

5

What transport does MCP SVG to Font use for communication?

It is configured via MCP client settings using a `command` and `args`, running as a subprocess (standard stdio-based MCP transport).

Comments

More Other MCP servers