Skip to main content
Glama

MCP Icon Generator

An MCP (Model Context Protocol) server that provides tools for generating app icons with custom text, colors, and sizes.

Installation

Clone this repository:

git clone https://github.com/chacebot/mcp-icon-generator.git
cd mcp-icon-generator
npm install

For PNG generation (recommended), install Sharp:

npm install sharp

Related MCP server: Web Icons Generator CLI MCP

Features

This server provides the following tools for icon generation:

  • generate_app_icon - Generate a single app icon image with custom text and colors

  • generate_ios_app_icon_set - Generate a complete iOS AppIcon.appiconset with all required sizes

Quick Start

  1. Install dependencies:

    npm install
    npm install sharp  # Optional but recommended for PNG generation
  2. Configure your MCP client (Claude Desktop, Cursor, etc.):

    {
      "mcpServers": {
        "icon-generator": {
          "command": "node",
          "args": ["/path/to/mcp-icon-generator/src/index.js"]
        }
      }
    }

Tools

generate_app_icon

Generate a single app icon image with customizable properties.

Parameters:

  • text (required): Text to display on the icon (e.g., "K" for Kanban)

  • outputPath (required): Full path where the icon PNG file should be saved

  • size (optional): Icon size in pixels (default: 1024)

  • backgroundColor (optional): Background color in hex format (default: "#FFFFFF")

  • textColor (optional): Text color in hex format (default: "#000000")

  • fontSize (optional): Font size as a percentage of icon size, 0.0-1.0 (default: 0.7)

  • fontFamily (optional): Font family name (uses system default if not specified)

Example:

{
  "text": "K",
  "outputPath": "/path/to/icon.png",
  "size": 1024,
  "backgroundColor": "#FFFFFF",
  "textColor": "#000000",
  "fontSize": 0.7
}

generate_ios_app_icon_set

Generate a complete iOS AppIcon.appiconset directory with all required icon sizes and Contents.json.

Parameters:

  • text (required): Text to display on the icon

  • appiconsetPath (required): Path to the AppIcon.appiconset directory

  • backgroundColor (optional): Background color in hex format (default: "#FFFFFF")

  • textColor (optional): Text color in hex format (default: "#000000")

  • fontSize (optional): Font size as a percentage (default: 0.7)

Example:

{
  "text": "K",
  "appiconsetPath": "/path/to/AppIcon.appiconset",
  "backgroundColor": "#FFFFFF",
  "textColor": "#000000"
}

Output Formats

  • With Sharp installed: Generates PNG files directly

  • Without Sharp: Generates SVG files (can be converted to PNG with external tools)

Use Cases

  • Generate app icons for iOS/Android apps

  • Create placeholder icons during development

  • Generate branded icons with custom text

  • Batch generate icons for multiple apps

License

MIT

Available Tools

2 tools
generate_app_iconC

Generate an app icon image with custom text, colors, and size

Inputs: text (required), outputPath (required), size, fontSize, +3 more.

generate_ios_app_icon_setC

Generate a complete iOS AppIcon.appiconset with all required sizes from a single source icon

Inputs: text (required), appiconsetPath (required), fontSize, textColor, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools are clearly distinct: generate_app_icon creates a single custom icon, while generate_ios_app_icon_set produces a complete iOS icon set from an existing source icon. There is no functional overlap; each serves a different stage in the icon creation workflow.

    Naming Consistency5/5

    Both tools follow a consistent 'generate_' prefix with a descriptive object ('app_icon', 'ios_app_icon_set'). This creates a predictable and recognizable naming pattern that aligns with common MCP server conventions.

    Tool Count3/5

    With only two tools, the server feels lightweight and minimally scoped. While the pair covers a specific workflow (single icon generation then iOS set creation), the count is at the lower boundary of what is reasonable and may be insufficient for broader icon generation needs.

    Completeness2/5

    The server name 'MCP Icon Generator' suggests a general-purpose icon generation tool, yet it only supports iOS icon sets. There is no Android, web favicon, or other platform support, and no functionality to resize or convert existing icons beyond the iOS set. This leaves significant gaps for a generic icon generator.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Automatically generates complete favicon sets from PNG images or URLs, creating multiple sizes, ICO files, Apple touch icons, and manifest.json for web applications.
      2
      34
      MIT
    • A
      license
      C
      quality
      C
      maintenance
      Generate deployment-ready PWA, iOS, and Android app icon sets from a text description. Produces all 27 required sizes, maskable icons, Xcode-ready iOS icons, Android mipmap folders, splash screens, and manifest.json packaged as a ZIP. Powered by Google Imagen 4.
      6
      2
      MIT