Favicon MCP Server

Favicon MCP Server

favicon-mcp-server•byelliotxx

A Model Context Protocol server that converts SVG images into ICO and PNG favicon formats for web applications.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Converts SVG images into ICO format at 16x16, 32x32, and 48x48 pixels.
  • •Converts SVG images into PNG format at 16x16, 32x32, and 48x48 pixels.
  • •Exposes an svg_to_favicon MCP tool that accepts SVG content as a string or a file path and optional output formats.
  • •Returns base64 encoded favicon data or writes files to an output directory as favicon.ico and sized PNG files.

BEST FOR

  • •Generating favicon assets for web applications from SVG source images.
  • •LLM-powered applications that need favicon conversion through MCP tool calls.

ABOUT FAVICON-MCP-SERVER

Favicon MCP Server is cataloged as an MCP server attributed to elliotxx. A Model Context Protocol server that converts SVG images into ICO and PNG favicon formats for web applications. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Favicon MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What input formats does the svg_to_favicon tool accept?

It accepts SVG content either as a string via svg_data or as a file path via svg_file.

How does the server return the generated favicons?

By default it returns base64 encoded ICO and PNG data in the response; if an output directory is given, it writes favicon files instead.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 477c40b20ec7 · 采集于 2026-11-13 10:38:11 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Favicon MCP Server

A Model Control Protocol (MCP) server that converts SVG images into various favicon formats (ICO and PNG) for web applications.

https://github.com/user-attachments/assets/7dcab05c-2340-4f8b-befc-7614b495685f

Features

  • SVG to ICO Conversion: Convert SVG images to ICO format (16x16, 32x32, 48x48 pixels).
  • SVG to PNG Conversion: Convert SVG images to PNG format (16x16, 32x32, 48x48 pixels).
  • Base64 Encoded Output: Easy integration with base64 encoded output.
  • MCP Protocol Support: Seamless integration with LLM-powered applications.

Prerequisites

  • Go 1.20 or higher
  • Dependencies:
    • github.com/mark3labs/mcp-go v0.13.0
    • github.com/sergeymakinen/go-ico
    • github.com/tdewolff/canvas

Installation

git clone https://github.com/elliotxx/favicon-mcp-server.git
cd favicon-mcp-server
go mod download

Usage

  • Start the server:
go run main.go
  • Tool Parameters:
    • svg_data: SVG icon content provided as a string.
    • output_formats: Array of strings specifying the desired output formats (ico, png). Default: ["ico", "png"].

Example Response

The server returns base64 encoded favicon data in the requested formats:

{
  "content": [
    {
      "type": "text",
      "text": "Successfully generated favicons"
    }
  ],
  "meta": {
    "ico": "base64_encoded_ico_data",
    "png": "base64_encoded_png_data"
  }
}

Usage

Input Methods

  1. Direct SVG Input:
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "svg_to_favicon",
    "arguments": {
      "svg_data": "<svg width=\"32\" height=\"32\"><rect width=\"32\" height=\"32\" fill=\"red\"/></svg>"
    }
  }
}
  1. SVG File Input:
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "svg_to_favicon",
    "arguments": {
      "svg_file": "path/to/your/icon.svg"
    }
  }
}

Output Methods

  1. Base64 Encoded Output (Default):

    • Returns base64 encoded ICO and PNG data in the response
  2. File Output:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "svg_to_favicon",
    "arguments": {
      "svg_data": "<svg width=\"32\" height=\"32\"><rect width=\"32\" height=\"32\" fill=\"red\"/></svg>",
      "output_dir": "path/to/output/directory",
      "output_formats": ["ico", "png"]
    }
  }
}

When using file output:

  • ICO file will be saved as favicon.ico
  • PNG files will be saved as favicon-{size}x{size}.png (e.g., favicon-32x32.png)

Testing

The simplest way to test with direct SVG input:

echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"svg_to_favicon","arguments":{"svg_data":"<svg width=\"32\" height=\"32\"><rect width=\"32\" height=\"32\" fill=\"red\"/></svg>"}}}' | go run main.go

Using Test File

If you prefer using a test file:

  1. Create a test file test.json with your test case
  2. Run the command:
echo $(tr -d '\n' < test/test.json) | go run main.go

Parameters

  • svg_data: SVG content as a string
  • svg_file: Path to an SVG file
  • output_dir: Directory to save the output files
  • output_formats: Array of desired formats (["ico", "png"])

Development

The project follows standard Go project layout and uses Go modules for dependency management.

Project Structure

favicon-mcp-server/
├── main.go         # Main server implementation
├── go.mod         # Go module definition
├── go.sum         # Go module checksums
└── README.md      # This file

Building from Source

go build

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Integration with Windsurf

To integrate this MCP server with Windsurf, follow these steps:

  1. Open Windsurf and navigate to the Cascade interface.
  2. Configure MCP Servers:
    • Open the ~/.codeium/windsurf/mcp_config.json file by clicking the hammer icon and selecting "Configure".
    • Add the following configuration:
"mcpServers": {
  "favicon-mcp-server": {
    "command": "go",
    "args": ["run", "main.go"],
    "cwd": "/path/to/favicon-mcp-server",
    "env": {}
  }
}

Replace /path/to/favicon-mcp-server with the actual path to your project directory. 3. Refresh Windsurf: - Click the "Refresh" button in the MCP toolbar to load the new configuration.

Integration with Cursor

To integrate this MCP server with Cursor, follow these steps:

  1. Enable MCP Servers:
    • Navigate to Cursor settings and find the MCP servers option.
    • Enable MCP servers if not already enabled.
  2. Add New MCP Server:
    • Click "Add new MCP server".
    • Provide the path to your executable or command to run the server.
    • For this project, you might need to create a standalone executable or use a bundling tool to simplify integration.
  3. Configure Server Details:
    • Enter the command to run your MCP server. For example:
go run main.go
- Ensure the path to the executable is correct.

4. Enable the Server: - After adding the server, click "Enable" to activate it.

By following these steps, you can integrate the Favicon MCP Server with both Windsurf and Cursor, enhancing your development workflow with AI-powered tools.

License

This project is licensed under the MIT License - see the LICENSE file for details

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Favicon MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/favicon-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools