Skip to main content
Glama
LINE & STONE Icon Picker

LINE & STONE Icon Picker

README.md
# LINE & STONE Icon Picker — MCP server

Let your AI coding assistant find the right icon by meaning and insert a real one — no hand-drawn SVG, no guessing names.

Ask *"add a pause button to each agent card"* and your assistant searches LINE & STONE, picks `agent-pause`, and pastes the SVG (or `<LsAgentPause />` if you use our React / Vue package).

- **Line icons on one 24 px grid**, round caps and joins, in **1, 1.25 and 1.5 px** strokes.
- **Search by meaning**: names, natural English titles and keywords for every icon.
- **100 free icons** work right away, no account, no API key (50 of them open source under CC BY 4.0).
- **The full set** (1,877 icons in 17 categories, including AI & Agents and Oriental Living) unlocks automatically from the download you already bought — locally, offline.
- Works with Cursor, Claude Code, Claude Desktop, VS Code (Copilot agent mode), Windsurf and any MCP client.

## Install (one click)

| App | How |
|---|---|
| **Claude Desktop** | Download [lineandstone-icons.mcpb](https://github.com/lineandstone/icons-mcp/releases/latest/download/lineandstone-icons.mcpb) and double-click it. Nothing else to install. |
| **Cursor** | [Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=lineandstone-icons&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBsaW5lYW5kc3RvbmUvaWNvbnMtbWNwIl19) |
| **VS Code** (Copilot agent mode) | [Install in VS Code](https://vscode.dev/redirect?url=vscode%3Amcp%2Finstall%3F%257B%2522name%2522%253A%2522lineandstone-icons%2522%252C%2522command%2522%253A%2522npx%2522%252C%2522args%2522%253A%255B%2522-y%2522%252C%2522%2540lineandstone%252Ficons-mcp%2522%255D%257D) |
| **Claude Code** | `claude mcp add lineandstone-icons -- npx -y @lineandstone/icons-mcp` |
| **Every app at once** | In a terminal: `npx -y @lineandstone/icons-mcp setup` — adds the tool to Cursor, Claude Code, Claude Desktop, Windsurf and VS Code, whichever you have. |

Cursor, VS Code, Claude Code and `setup` need [Node.js](https://nodejs.org) 18 or later. Claude Desktop does not.

Or just tell your assistant: *"Install the LINE & STONE icons MCP server: run `npx -y @lineandstone/icons-mcp setup`."*

<details><summary>Manual config</summary>

```json
{
  "mcpServers": {
    "lineandstone-icons": { "command": "npx", "args": ["-y", "@lineandstone/icons-mcp"] }
  }
}
```
Cursor: `~/.cursor/mcp.json` · Claude Desktop: `claude_desktop_config.json` · Windsurf: `~/.codeium/windsurf/mcp_config.json`. VS Code uses `"servers"` instead of `"mcpServers"` and adds `"type": "stdio"`.
</details>

## Unlock the full set (buyers): nothing to set up

Keep your LINE & STONE download in **Downloads** (or on the Desktop) — the `.zip` as it arrived, or the unzipped folder, any tier. The tool finds it the first time your assistant asks for an icon. When you download a newer version, it switches to the newest one.

Keep it somewhere else? Run `npx -y @lineandstone/icons-mcp setup /path/to/download`, choose the folder in Claude Desktop's extension settings, or set `LS_ICONS_DIR` yourself.

Not unlocking? Ask your assistant *"why are LINE & STONE icons locked?"* — the tool tells it where it looked and what to do. Or run `npx -y @lineandstone/icons-mcp --check`.

Icons are read from your own disk. Nothing is uploaded, and the tool never contacts our servers. On macOS your app may ask once for access to Downloads; allow it so the tool can see your download.

**Team / Dev:** if `@lineandstone/icons-react` or `@lineandstone/icons-vue` is in your project's `package.json`, the tool returns component code (`<LsAgentPause size={20} strokeWidth={1} />`) instead of inline SVG.

## What your assistant can do

| Tool | What it does |
|---|---|
| `search_icons` | Find icons by meaning ("checkout basket", "low battery", "stop the agent"); shows whether each is free, licensed or locked |
| `get_icon` | Return one icon as SVG (1 / 1.25 / 1.5 px, any size) or React / Vue usage |
| `map_icons` | Map icon names from Lucide, Heroicons, Tabler, Phosphor, Feather or Material (also react-icons names like `HiOutlineXMark`) to LINE & STONE in one call: exact, close or none |
| `list_categories` | List categories and how many icons you can use |

Locked icons return a preview and a link instead of artwork, so your assistant won't fake one.

### Switching from another icon library

Ask your assistant: *"Replace all the icons in this project with LINE & STONE."* It calls `map_icons` with every imported name, swaps each import for the LINE & STONE component, and leaves any icon without a match (for example brand logos) in place and tells you which ones. The name table (`data/aliases.json`) covers the everyday interface icons of Lucide, Heroicons, Tabler, Phosphor, Feather and Material Symbols; "close" means the nearest LINE & STONE symbol, which looks a little different.

## Licences

- **Code**: MIT (see `LICENSE`).
- **Free icons**: credit `Icons by LINE & STONE - lineandstoneco.com` in your README or credits. The 50 Essentials are [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) (use anywhere, including open source); the other 50 use the LINE & STONE Free License 1.0 (no redistribution as icons, no logos, no AI training). Details: `LICENSE-ICONS-FREE.txt`.
- **Paid icons**: never shipped in this package; they stay under the licence you bought. Get the full set at [lineandstoneco.com](https://lineandstoneco.com/pricing/?utm_source=github&utm_medium=readme&utm_campaign=icons-mcp).

LINE & STONE — From stone to work. · lineandstoneco@gmail.com