MCP.so
Sign In
Servers

Favicon MCP Server

@elliotxx

A MCP server for converting input images into favicon

Overview

What is Favicon MCP Server?

Favicon MCP Server is a Model Context Protocol (MCP) server that converts SVG images into ICO and PNG favicon formats for web applications. It is designed for developers using LLM-powered tools (e.g., Windsurf, Cursor) who need to generate favicons programmatically.

How to use Favicon MCP Server?

Install Go 1.20+, clone the repository, run go run main.go. The server exposes a tool svg_to_favicon accepting parameters: svg_data (SVG string) or svg_file (path), optional output_formats (default ["ico", "png"]), and optional output_dir for file output. It returns base64‑encoded ICO and PNG data in the response. Integration configs for Windsurf and Cursor are provided.

Key features of Favicon MCP Server

  • Converts SVG to ICO format (16×16, 32×32, 48×48 pixels)
  • Converts SVG to PNG format (16×16, 32×32, 48×48 pixels)
  • Supports base64‑encoded output for easy integration
  • Seamless MCP protocol support for LLM applications
  • Accepts SVG as inline string or file path

Use cases of Favicon MCP Server

  • Generating favicons for websites from SVG source
  • Automating favicon creation in AI‑powered development workflows
  • Integrating favicon generation into CI/CD pipelines via MCP
  • Providing consistent, multi‑size favicons for web applications

FAQ from Favicon MCP Server

What input formats does the server accept?

The server accepts SVG data as a string (svg_data) or a path to an SVG file (svg_file).

What output formats and sizes are available?

Output formats are ICO and PNG. Both are generated at 16×16, 32×32, and 48×48 pixels.

How do I run the server?

Ensure Go 1.20+ is installed, clone the repository, and run go run main.go from the project directory.

How can I integrate with Windsurf or Cursor?

Add the server configuration to ~/.codeium/windsurf/mcp_config.json for Windsurf, or add it as an MCP server in Cursor settings using the command go run main.go.

What dependencies are required?

The server requires Go 1.20+ and the packages github.com/mark3labs/mcp-go v0.13.0, github.com/sergeymakinen/go-ico, and github.com/tdewolff/canvas.

More from Other