Sponsored by Deepsite.site

MCP SVG to Fonts 🎨

Created By
Supr3me06 months ago
This repository provides a tool for converting SVG files into various font formats, streamlining icon management. With features like automatic CSS generation and TypeScript support, it simplifies the process for developers. 🐙🌟
Content

MCP SVG to Fonts 🎨

Welcome to the MCP SVG to Fonts repository! This project allows you to convert SVG icons into web fonts seamlessly. With support for CSS and TypeScript, you can easily generate icon fonts from directories of SVG files.

Download Releases

Table of Contents

Features

  • SVG to Font Conversion: Convert multiple SVG files into web fonts.
  • CSS and TypeScript Support: Easily integrate generated fonts into your web projects.
  • Flexible Directory Input: Specify directories to batch process SVG files.
  • Multiple Font Formats: Generate TTF, WOFF, and other formats for broad compatibility.
  • Design System Integration: Use the generated icons in design systems and UI libraries.

Installation

To get started, clone the repository to your local machine:

git clone https://github.com/Supr3me0/mcp-svg-to-fonts.git
cd mcp-svg-to-fonts

Next, install the required dependencies:

npm install

Usage

Once installed, you can use the MCP SVG to Fonts tool from the command line. Here’s how to do it:

  1. Prepare your SVG files in a directory.
  2. Run the conversion command:
npm run convert --path=path/to/your/svg/files

This command will generate the font files and corresponding CSS.

Supported Formats

The MCP SVG to Fonts tool supports various font formats:

  • TTF: TrueType Font
  • WOFF: Web Open Font Format
  • WOFF2: Optimized version of WOFF
  • SVG: Scalable Vector Graphics

You can specify the desired formats in your configuration.

Examples

Basic Conversion

To convert a single SVG file:

npm run convert --path=path/to/your/icon.svg

Batch Conversion

To convert all SVG files in a directory:

npm run convert --path=path/to/your/svg/files

Custom CSS Output

You can customize the CSS output by modifying the config.json file. This allows you to set class names, font-family, and more.

Contributing

We welcome contributions! If you want to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes.
  4. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or feedback, please open an issue in the repository or contact the maintainer.

For the latest releases, visit our Releases page.

Download Releases


Thank you for checking out the MCP SVG to Fonts project! We hope it helps you streamline your icon font generation process.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
WindsurfThe new purpose-built IDE to harness magic
Amap Maps高德地图官方 MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。