@lineandstone/icons-mcp 0.2.0 → 0.2.1

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 CHANGED
@@ -23,10 +23,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
23
  SOFTWARE.
24
24
 
25
25
  2. Icons and icon data (data/): NOT MIT.
26
- - The 100 free icons in data/free.json are licensed under LICENSE-ICONS-FREE.txt
27
- (free for personal and commercial projects, credit required, no resale or
28
- redistribution as icons, no logos, no AI training).
26
+ - The 100 free icons in data/free.json: the 50 Essentials are CC BY 4.0
27
+ (https://creativecommons.org/licenses/by/4.0/); the other 50 are under the
28
+ LINE & STONE Free License 1.0. Both need the credit "Icons by LINE & STONE -
29
+ lineandstoneco.com". See LICENSE-ICONS-FREE.txt.
29
30
  - data/index.json lists names, categories and keywords of the full set so
30
31
  your assistant can find icons; it contains no paid icon artwork.
31
32
  - Paid icons are never included in this package. When you point LS_ICONS_DIR
32
33
  at your own LINE & STONE download, they stay under the licence you bought.
34
+ - The LINE & STONE name and logo are not covered by either licence.
@@ -1,3 +1,38 @@
1
+ LINE & STONE Icons - free icons in this package (data/free.json)
2
+ Copyright (c) 2026 Pin Huang, trading as LINE & STONE.
3
+
4
+ The 100 free icons are under two licences. Both ask for the same credit:
5
+
6
+ Icons by LINE & STONE - lineandstoneco.com
7
+
8
+ in your credits, README or about page (it does not need to appear in your
9
+ interface). The LINE & STONE name and logo are not covered by these licences.
10
+ Used under a paid LINE & STONE licence, the free icons need no credit.
11
+ Summary: https://lineandstoneco.com/license/#free
12
+
13
+ PART A - Essentials (50 icons): CC BY 4.0
14
+ Creative Commons Attribution 4.0 International
15
+ https://creativecommons.org/licenses/by/4.0/ (legal code: .../by/4.0/legalcode)
16
+ You may use, share and adapt these icons for any purpose, including commercial
17
+ work and open-source projects, with credit and a link to the licence.
18
+ alert-triangle, arrow-down, arrow-left, arrow-right, arrow-up, bell, calendar, check
19
+ check-circle, chevron-down, chevron-left, chevron-right, chevron-up, clock, close, cloud
20
+ download, edit, external-link, eye, file, filter, folder, grid
21
+ help-circle, home, image, info, link, lock, logout, mail
22
+ map-pin, menu, minus, moon, more-horizontal, plus, refresh, search
23
+ send, settings, sliders, star, sun, trash, upload, user
24
+ users, x-circle
25
+
26
+ PART B - the other 50 free icons: LINE & STONE Free License 1.0 (below)
27
+ agent-team, ai-assistant, auto-feeder, bubble-tea, cable-car, campervan, candlestick, car-sedan
28
+ card-chip, cat, cloud-motif, coffee, drone, earring-pearl, exoskeleton, gaiwan
29
+ go-live, gps-collar, graduation-cap, green-screen, guardrail, headphones, heart-rate, herbal-medicine
30
+ home-battery, kayak, koi, lane-keep, lighthouse, live-shopping, longevity-lock, luban-lock
31
+ luggage, meditation, opera-mask, product-360, reasoning, ring-light, robo-advisor, robot-arm
32
+ skill-tree, smart-bulb, store, teapot, telescope, tent, trophy, turntable-dj
33
+ wind-turbine, xiaolongbao
34
+
35
+ ------------------------------------------------------------------------------
1
36
  LINE & STONE Icons - Free License
2
37
  Version 1.0 - effective 2026-11-28
3
38
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # LINE & STONE Icons — MCP server
1
+ # LINE & STONE Icon Picker — MCP server
2
2
 
3
3
  Let your AI coding assistant find the right icon by meaning and insert a real one — no hand-drawn SVG, no guessing names.
4
4
 
@@ -6,7 +6,7 @@ Ask *"add a pause button to each agent card"* and your assistant searches LINE &
6
6
 
7
7
  - **Line icons on one 24 px grid**, round caps and joins, in **1, 1.25 and 1.5 px** strokes.
8
8
  - **Search by meaning**: names, natural English titles and keywords for every icon.
9
- - **100 free icons** work right away, no account, no API key.
9
+ - **100 free icons** work right away, no account, no API key (50 of them open source under CC BY 4.0).
10
10
  - **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.
11
11
  - Works with Cursor, Claude Code, Claude Desktop, VS Code (Copilot agent mode), Windsurf and any MCP client.
12
12
 
@@ -61,7 +61,7 @@ Locked icons return a preview and a link instead of artwork, so your assistant w
61
61
  ## Licences
62
62
 
63
63
  - **Code**: MIT (see `LICENSE`).
64
- - **Free icons**: free for personal and commercial projects, **credit required** — add `Icons by LINE & STONE - lineandstoneco.com` to your README or credits. No resale or redistribution as icons, no logos, no AI training. Full terms: `LICENSE-ICONS-FREE.txt`.
64
+ - **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`.
65
65
  - **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).
66
66
 
67
67
  LINE & STONE — From stone to work. · lineandstoneco@gmail.com
package/bin/server.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  // LINE & STONE Icons — MCP server (stdio). No dependencies.
3
3
  // Free: the 100 free icons in 1 / 1.25 / 1.5 px. Full set: point LS_ICONS_DIR at your unzipped LINE & STONE download.
4
- // Code: MIT. Icons: free icons under LICENSE-ICONS-FREE.txt; paid icons under your own purchase licence.
4
+ // Code: MIT. Icons: free icons under LICENSE-ICONS-FREE.txt (Essentials CC BY 4.0, others LINE & STONE Free License); paid icons under your own purchase licence.
5
5
  import { readFileSync } from 'node:fs';
6
6
  import { join, dirname } from 'node:path';
7
7
  import { fileURLToPath } from 'node:url';
@@ -122,7 +122,7 @@ function getIcon({ name, strokeWidth = 1, format, size = 24 }) {
122
122
  out.format = 'svg'; out.svg = sized(svg, size);
123
123
  out.note = 'Inline as-is; color follows currentColor. Keep one stroke weight per screen. For an icon-only button, add an aria-label.';
124
124
  }
125
- if (st === 'free') out.credit = `Free icon. Credit required, e.g. in your README or credits: "${CREDIT}". License: ${SITE}/license/#free`;
125
+ if (st === 'free') { const cc = i.c === 'essentials'; out.license = cc ? 'CC-BY-4.0' : 'LINE & STONE Free License 1.0'; out.credit = `Free icon (${cc ? 'CC BY 4.0, https://creativecommons.org/licenses/by/4.0/' : 'LINE & STONE Free License 1.0: no redistribution as icons, no logos, no AI training; ' + SITE + '/license/#free-license'}). Credit it in your README or credits: "${CREDIT}".`; }
126
126
  return out;
127
127
  }
128
128
 
@@ -134,7 +134,7 @@ const TOOLS = [
134
134
  inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Icon name from search_icons, e.g. agent-pause' }, strokeWidth: { type: 'number', enum: [1, 1.25, 1.5], description: 'Default 1. Keep one weight per screen.' }, format: { type: 'string', enum: ['svg', 'react', 'vue'], description: 'Default: component if @lineandstone/icons-react or -vue is in package.json, else svg' }, size: { type: 'number', description: 'Pixel size, default 24' } }, required: ['name'] } },
135
135
  { name: 'list_categories', description: 'List the LINE & STONE icon categories with counts, how many icons are usable right now, and whether (and from where) the full set is unlocked. Use it when the user asks why paid icons are locked.', inputSchema: { type: 'object', properties: {} } },
136
136
  ];
137
- const INSTRUCTIONS = 'LINE & STONE line icons (24 px grid; 1, 1.25 and 1.5 px strokes; round caps). When the UI needs an icon: call search_icons with what the icon is for, then get_icon. Use only icons this tool returns; never draw or invent SVG icons. Keep one stroke weight per screen. Add aria-label to icon-only buttons. Free icons need a credit line in the project README.';
137
+ const INSTRUCTIONS = 'LINE & STONE line icons (24 px grid; 1, 1.25 and 1.5 px strokes; round caps). When the UI needs an icon: call search_icons with what the icon is for, then get_icon. Use only icons this tool returns; never draw or invent SVG icons. Keep one stroke weight per screen. Add aria-label to icon-only buttons. Free icons need the credit line "Icons by LINE & STONE - lineandstoneco.com" in the project README or credits.';
138
138
  const SUPPORTED = ['2025-06-18', '2025-03-26', '2024-11-05'];
139
139
 
140
140
  function call(name, args = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lineandstone/icons-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server for LINE & STONE line icons: your AI coding assistant searches icons by meaning and inserts real SVG or React/Vue components. 100 free icons; the full set unlocks automatically from your own download.",
5
5
  "type": "module",
6
6
  "bin": {