Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

icogenie-mcp MCP server](https://glama.ai/mcp/servers/@albertnahas/icogenie-mcp/badges/score.svg)](https://glama.ai/mcp/servers/@albertnahas/icogenie-mcp) πŸ“‡ ☁️ - AI-powered SVG icon generation MCP server.

README.md

@icogenie/mcp

![npm version](https://www.npmjs.com/package/@icogenie/mcp) ![npm downloads](https://www.npmjs.com/package/@icogenie/mcp) ![MCP Protocol](https://modelcontextprotocol.io) ![License: MIT](https://opensource.org/licenses/MIT)

MCP (Model Context Protocol) server for IcoGenie. Enables AI agents like Claude to generate production-ready SVG icons programmatically.

Installation

npm install -g @icogenie/mcp
# or use directly with npx
npx @icogenie/mcp

Configuration

Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "icogenie": {
      "command": "npx",
      "args": ["-y", "@icogenie/mcp"]
    }
  }
}

Claude Code

The server works automatically when installed globally or via npx.

Authentication

On first use, the MCP server will:

  1. Open your browser for authentication
  2. Ask you to approve access
  3. Save the session token to ~/.icogenie/config.json

Subsequent uses are automatic - the token is shared with the IcoGenie CLI.

CI/CD Environments

Set ICOGENIE_SESSION_TOKEN environment variable to skip browser authentication:

export ICOGENIE_SESSION_TOKEN="your-session-token"

Available Tools

generate_icon

Generate a single icon preview from a text description.

Cost: 1 credit

generate_icon({
  prompt: "home icon",
  style: "solid",       // or "outline"
  variations: 1,        // 1, 2, or 4
  referenceImagePath: "/path/to/reference.png"  // optional
})

Returns: { sessionId, preview, previews, creditsRemaining, sessionData, suggestions }

regenerate_icon

Regenerate a specific icon variation. Returns 4 candidate previews β€” use confirm_regeneration to finalize your choice (two-phase flow).

Cost: 1 credit

regenerate_icon({
  sessionId: "abc123",       // for single icons
  bundleId: "xyz789",        // for bundles (use one or the other)
  index: 0,                  // which variation (0-based)
  prompt: "Make it more 3D"  // optional refinement
})

Returns: { candidates, regenToken, creditsRemaining }

confirm_regeneration

Finalize a regeneration by selecting one of the 4 candidates.

Cost: Free (included in regenerate_icon)

confirm_regeneration({
  regenToken: "tok_abc123",
  selectedIndex: 2           // 0-3, which candidate to keep
})

Returns: { success, preview, creditsRemaining }

check_credits

Check your current credit balance.

Cost: Free

check_credits()

Returns: { credits, team, user }

download_icon

Download the final SVG + PNG package for an icon or bundle.

Cost: 5 credits (single) or 4 credits/icon (bundle)

download_icon({
  generationId: "abc123",  // or bundleId
  outputPath: "./icons.zip"  // optional, returns base64 if omitted
})

normalize_bundle

Plan an icon bundle by generating an AI-enhanced icon list from a description.

Cost: Free (rate-limited)

normalize_bundle({
  description: "food delivery app",
  targetCount: 10,
  style: "solid"
})

Returns: { bundleId, icons, bundleType, styleRecommendation, reasoning }

generate_bundle

Generate a bundle of icons from an icon list.

Cost: 1 credit per icon

generate_bundle({
  icons: [
    { name: "home", description: "Home navigation icon" },
    { name: "cart", description: "Shopping cart icon" }
  ],
  style: "solid",
  bundleId: "bundle_abc123"  // optional, from normalize_bundle
})

Returns: { bundleId, iconCount, icons: [{ name, description, preview }], pricing, creditsUsed, creditsRemaining }

save_to_library

Save a generated icon to your personal library.

Cost: Free

save_to_library({
  generationId: "abc123",
  name: "notification-bell",  // optional display name
  tags: ["ui", "alerts"]      // optional tags
})

Returns: { success, libraryItemId }

list_library

List icons saved in your library.

Cost: Free

list_library({
  page: 1,       // optional, default 1
  limit: 20,     // optional, default 20
  tag: "ui"      // optional filter
})

Returns: { items: [{ id, name, tags, preview, createdAt }], total, page }

download_from_library

Download an icon from your library as SVG + PNG.

Cost: Free

download_from_library({
  libraryItemId: "lib_abc123",
  outputPath: "./bell-icon.zip"  // optional, returns base64 if omitted
})

Returns: { savedTo } or { base64, filename }

claim_daily_credits

Claim 2 free credits, available once every 24 hours.

Cost: Free

claim_daily_credits()

Returns: { credited, creditsRemaining, nextClaimAt }

Example Workflow

  1. Check credits:
   check_credits()
   β†’ { credits: 50, team: { name: "Personal" } }
  1. Generate a single icon:
   generate_icon({ prompt: "notification bell icon", style: "outline" })
   β†’ { sessionId: "abc123", preview: "...", creditsRemaining: 49 }
  1. Refine if needed (two-phase):
   regenerate_icon({ sessionId: "abc123", index: 0, prompt: "Add a dot indicator" })
   β†’ { candidates: ["...", "...", "...", "..."], regenToken: "tok_xyz", creditsRemaining: 48 }

   confirm_regeneration({ regenToken: "tok_xyz", selectedIndex: 1 })
   β†’ { success: true, preview: "...", creditsRemaining: 48 }
  1. Download final package:
   download_icon({ generationId: "abc123", outputPath: "./bell-icon.zip" })
   β†’ { savedTo: "./bell-icon.zip" }

Bundle Workflow

  1. Plan the bundle (free):
   normalize_bundle({ description: "e-commerce app icons", targetCount: 8 })
   β†’ { icons: [{ name: "cart", ... }, ...], styleRecommendation: "outline" }
  1. Review and generate (pass bundleId for traceability):
   generate_bundle({ icons: [...], style: "outline", bundleId: "bundle_abc" })
   β†’ { bundleId: "bundle_abc", icons: [...], credits: { previewUsed: 8 } }
  1. Download bundle:
   download_icon({ bundleId: "xyz789", outputPath: "./ecommerce-icons.zip" })

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | ICOGENIE_API_URL | API endpoint | https://www.icogenie.xyz | | ICOGENIE_SESSION_TOKEN | Session token (for CI/CD) | - | | ICOGENIE_CONFIG_DIR | Config directory | ~/.icogenie |

Credit Pricing

| Action | Cost | |--------|------| | Preview (single) | 1 credit | | Preview (bundle) | 1 credit/icon | | Download (single) | 5 credits | | Download (bundle) | 4 credits/icon | | Regenerate | 1 credit | | Daily claim | 2 free credits/day | | Library ops | Free |

Purchase credits at www.icogenie.xyz.

When to Use MCP vs CLI vs Web

| Use Case | Best Option | |----------|-------------| | Generate icons inside Claude/Cursor | MCP | | Automate in CI/CD pipelines | CLI | | Quick one-off generation | Web | | Batch generate icon bundles | CLI or MCP | | Browse and manage icon library | Web |

Related

License

MIT

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Other servers.