@nodo-icons/mcp 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +26 -0
- package/README.md +61 -2
- package/data/icons.json +1 -0
- package/data/shadcn-map.json +1 -0
- package/package.json +41 -4
- package/src/cli.js +39 -0
- package/src/core.js +117 -0
- package/src/migrate.js +67 -0
- package/src/render.js +66 -0
- package/src/server.js +95 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Nodo Icons Free — MIT License
|
|
2
|
+
|
|
3
|
+
This license applies only to the **Linear** style of Nodo Icons (the packages
|
|
4
|
+
`@nodo-icons/react`, `@nodo-icons/vue`, `@nodo-icons/static` and every file in a
|
|
5
|
+
folder or archive named `linear`). All other styles are Nodo Icons Pro and are
|
|
6
|
+
licensed under the Nodo Icons Pro License Agreement (https://nodoicons.com/license/pro/), not under this license. Contact: hello@nodoicons.com
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Davide
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,62 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @nodo-icons/mcp
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Let AI agents use Nodo Icons. An MCP server (and a small CLI) that searches 5,000 icons and returns ready-to-paste SVG, React or Vue code. The Linear style is free and bundled; Pro styles work with your Pro download.
|
|
4
|
+
|
|
5
|
+
## Add it to your agent
|
|
6
|
+
|
|
7
|
+
**Claude Code**
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
claude mcp add nodo-icons -- npx -y @nodo-icons/mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
**Claude Desktop, Cursor, Windsurf and other MCP clients** (`mcpServers` config):
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"nodo-icons": { "command": "npx", "args": ["-y", "@nodo-icons/mcp"] }
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Then ask things like *"add a delete button with the Nodo trash icon"* or *"which Nodo icon fits 'export to PDF'?"*.
|
|
24
|
+
|
|
25
|
+
## Tools
|
|
26
|
+
|
|
27
|
+
| Tool | What it does |
|
|
28
|
+
|---|---|
|
|
29
|
+
| `search_icons` | Find icons by name, keyword or synonym |
|
|
30
|
+
| `get_icon` | SVG, React, Vue or sprite code for one icon, in any style |
|
|
31
|
+
| `list_styles` | The ten styles and which are free or Pro |
|
|
32
|
+
| `list_categories` | Categories with icon counts |
|
|
33
|
+
|
|
34
|
+
## Nodo Icons Pro
|
|
35
|
+
|
|
36
|
+
With a Pro license, unzip the Pro download and point the server at it to get SVGs in every style:
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{ "command": "npx", "args": ["-y", "@nodo-icons/mcp"], "env": { "NODO_PRO_DIR": "/path/to/nodo-icons-pro" } }
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
React and Vue packages for the Pro styles are not released yet: for a Pro style, `get_icon` returns its SVG (from your Pro download), ready to paste or wrap in a component.
|
|
43
|
+
|
|
44
|
+
## CLI
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
npx @nodo-icons/mcp search credit card
|
|
48
|
+
npx @nodo-icons/mcp get credit-card --format react
|
|
49
|
+
npx @nodo-icons/mcp get home --format svg --size 20 --color "#0a84ff"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Switch a shadcn/ui (or any lucide-react) project to Nodo
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx @nodo-icons/mcp migrate-lucide ./src --dry # preview
|
|
56
|
+
npx @nodo-icons/mcp migrate-lucide ./src # rewrite imports, JSX stays the same
|
|
57
|
+
npm install @nodo-icons/react
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
License: MIT (code and Linear icons). Pro styles are not included.
|
|
61
|
+
|
|
62
|
+
Docs: https://nodoicons.com/docs/ · Support: support@nodoicons.com
|