The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Icogenie MCP listing page.
MCP (Model Context Protocol) server for IcoGenie. Enables AI agents like Claude to generate production-ready SVG icons programmatically.
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
The server works automatically when installed globally or via npx.
On first use, the MCP server will:
~/.icogenie/config.jsonSubsequent uses are automatic - the token is shared with the IcoGenie CLI.
Set ICOGENIE_SESSION_TOKEN environment variable to skip browser authentication:
Generate a single icon preview from a text description.
Cost: 1 credit
Returns: { sessionId, preview, previews, creditsRemaining, sessionData, suggestions }
Regenerate a specific icon variation. Returns 4 candidate previews — use confirm_regeneration to finalize your choice (two-phase flow).
Cost: 1 credit
Returns: { candidates, regenToken, creditsRemaining }
Finalize a regeneration by selecting one of the 4 candidates.
Cost: Free (included in regenerate_icon)
Returns: { success, preview, creditsRemaining }
Check your current credit balance.
Cost: Free
Returns: { credits, team, user }
Download the final SVG + PNG package for an icon or bundle.
Cost: 5 credits (single) or 4 credits/icon (bundle)
Plan an icon bundle by generating an AI-enhanced icon list from a description.
Cost: Free (rate-limited)
Returns: { bundleId, icons, bundleType, styleRecommendation, reasoning }
Generate a bundle of icons from an icon list.
Cost: 1 credit per icon
Returns: { bundleId, iconCount, icons: [{ name, description, preview }], pricing, creditsUsed, creditsRemaining }
Save a generated icon to your personal library.
Cost: Free
Returns: { success, libraryItemId }
List icons saved in your library.
Cost: Free
Returns: { items: [{ id, name, tags, preview, createdAt }], total, page }
Download an icon from your library as SVG + PNG.
Cost: Free
Returns: { savedTo } or { base64, filename }
Claim 2 free credits, available once every 24 hours.
Cost: Free
Returns: { credited, creditsRemaining, nextClaimAt }
Check credits:
Generate a single icon:
Refine if needed (two-phase):
Download final package:
Plan the bundle (free):
Review and generate (pass bundleId for traceability):
Download bundle:
| 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 |
| 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.
| 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 |
MIT