
Mcp Icon Visual
io.github.n0isyPublished by GitHub account n0isyv0.1.1Updated Oct 24, 2026
Search, retrieve, compare, and render SVG icons visually for AI agents.
Overview
A local MCP server that lets a vision-capable assistant search, fetch, compare and visually render SVG icons as PNG grids.
- What you can do
- Search icons by keyword and get a 4x4 PNG grid with cell numbers mapped to SVG URLs, so the assistant can pick visually rather than by guesswork. Fetch raw SVG markup from a URL, an Iconify ID, a local file path or an inline SVG string. Render 1 to 16 SVG sources onto a 512x512 comparison grid with a configurable background, for side-by-side style checks or iterative edits.
- When to use it
- Useful when an assistant with vision needs to choose icons for a UI, match new icons to an existing project's visual style, or visually diff SVG edits across iterations. Less useful for text-only models, since the tools return images.
- Requirements
- Runs locally over stdio, typically via npx with the npm package, or as a Rust-built binary. Needs network access to a remote icon rendering API (default upstream, or a custom endpoint set with the api-base argument). No accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Mcp Icon Visual in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
mcp-icon-visual
[MCP Registry] [npm] [License: MIT]
MCP server that gives AI agents the ability to search, retrieve, compare, and render SVG icons. Built with Rust and the rmcp SDK.
Combines local filesystem access with a remote rendering API to resolve SVGs from any source — inline strings, URLs, local files, or Iconify IDs — and render them onto visual comparison grids.
The key insight: every tool returns images. A vision-capable LLM doesn't just get metadata — it sees the icons. This turns icon selection from guesswork into a visual conversation.
[search_icons result for 'machine learning' — 4x4 grid with 16 icons]
search_icons("machine learning") — 4x4 grid, cells 0–15, returned as PNG
Agent Pipelines
These tools are designed to be composed by AI agents with vision. Below are three proven patterns.
1. Visual Search & Selection
An agent searches for icons and visually picks the best match — no blind URL selection.
The agent runs multiple searches, looks at each grid, picks candidates by cell number, then renders a final side-by-side comparison to make the choice. Works especially well when the agent has context about the project's visual style.
2. Iterative Icon Editing
An agent modifies SVG code and uses render_grid as a visual diff to track progress across iterations.
Each iteration, the agent passes all versions (original + edits) as inline SVGs to render_grid. It sees them side-by-side in one image and decides whether to keep iterating or stop. The original always stays in cell 0 as a reference.
3. Style Matching & Consistency
An agent ensures new icons match the visual style of existing project icons.
By mixing local file paths and remote sources in a single grid, the agent can visually compare existing project icons against candidates in one shot. The grid becomes a style audit tool.
Combining Pipelines
These patterns compose naturally. A real-world workflow might:
- Search across multiple keywords (pipeline 1)
- Compare top candidates against existing project icons (pipeline 3)
- Edit the closest match to fix style inconsistencies (pipeline 2)
- Verify the final icon one more time against the full icon set (pipeline 3)
All driven by a single agent with vision, using three tools.
Tools
search_icons
Semantic icon search. Returns a 4x4 PNG grid (512x512, cells 0-15) and a mapping of cell numbers to SVG URLs.
get_svg
Retrieve raw SVG markup from any source. Returns the complete SVG string for inspection or modification.
render_grid
Render 1-16 SVGs onto a 4x4 comparison grid (512x512, cells 0-15). Useful for comparing icon variants side-by-side or previewing local icons alongside search results.
Source Resolution
All tools share a unified resolution pipeline that classifies sources automatically:
File paths are detected by prefix (/, ./, ~/) or .svg extension. Everything else without http:///https:// is treated as an Iconify ID.
Grid Format
All grid outputs are 512x512 PNG images with a 4x4 layout (128x128 cells), numbered 0-15 left-to-right, top-to-bottom:
Cell numbers appear at the bottom-left of each cell. Unused cells show the number only.
Installation
npx (recommended)
No build needed. Works on Linux (x64/arm64), macOS (Intel/Apple Silicon), and Windows (x64).
From source
Requires Rust (edition 2024):
The release profile produces a fully static binary (musl libc, rustls-tls, LTO, stripped).
Usage
The server communicates over stdio using the MCP protocol.
MCP Client Configuration
Claude Desktop / Cursor
Custom API endpoint
Project Structure
Testing
Dependencies
License
MIT License
Copyright (c) 2025
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Source: README.md at commit 92d593c
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.