@vezham/icons-mcp 1.0.5 → 1.0.7

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/dist/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vezham/icons-mcp",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
- "description": "MCP server and CLI for browsing and applying Reicon icons.",
5
+ "description": "MCP server and CLI for browsing and applying Vezham icons.",
6
6
  "bin": {
7
- "reicon-mcp": "bin/run.cjs"
7
+ "vezham-icons-mcp": "bin/run.cjs"
8
8
  },
9
9
  "main": "./server/index.js",
10
10
  "types": "./server/index.d.ts",
@@ -5,12 +5,13 @@ import { handleApplyIcon } from './tools/apply-icon.js';
5
5
  import { handleListCategories } from './tools/list-categories.js';
6
6
  import { handleSearchIcons } from './tools/search-icons.js';
7
7
  import { handleViewIcon } from './tools/view-icon.js';
8
+ const ICON_WEIGHT_VALUES = ['outline', 'filled', 'duotone-outline', 'duotone-filled'];
8
9
  const server = new McpServer({
9
- name: 'reicon-mcp',
10
+ name: 'vezham-icons-mcp',
10
11
  version: '1.1.0',
11
12
  });
12
13
  server.tool('search_icons', [
13
- 'Search 2,700+ Reicon icons by any keyword, phrase, or description.',
14
+ 'Search 2,700+ Vezham icons by any keyword, phrase, or description.',
14
15
  'Understands synonyms ("round" → circle, "del" → delete/trash), misspellings ("calender" → calendar),',
15
16
  'multi-word queries ("user circle", "credit card", "volume up"), and name parts ("up" → arrow-up).',
16
17
  'Returns ranked matches. Short specific terms work best but full phrases also work.',
@@ -19,9 +20,9 @@ server.tool('search_icons', [
19
20
  ].join(' '), {
20
21
  query: z.string().describe('Keyword(s) or phrase — e.g. "cart", "user circle", "volume up", "credit card", "go back", "delete". Handles synonyms, misspellings, and multi-word queries.'),
21
22
  weight: z
22
- .enum(['Outline', 'Filled'])
23
+ .enum(ICON_WEIGHT_VALUES)
23
24
  .optional()
24
- .describe('Filter by weight. Omit to search both.'),
25
+ .describe('Filter by weight. Omit to search all weights.'),
25
26
  limit: z
26
27
  .number()
27
28
  .int()
@@ -36,12 +37,12 @@ server.tool('search_icons', [
36
37
  };
37
38
  });
38
39
  server.tool('view_icon', [
39
- 'Fetch raw SVG markup and metadata for a specific Reicon icon.',
40
+ 'Fetch raw SVG markup and metadata for a specific Vezham icon.',
40
41
  'Use this to inspect the SVG before applying, or when you only need the raw markup.',
41
42
  'For generating import/docs code, prefer apply_icon instead.',
42
43
  ].join(' '), {
43
44
  name: z.string().describe('Icon kebab-case name, e.g. "heart", "arrow-right", "user-circle"'),
44
- weight: z.enum(['Outline', 'Filled']).describe('Which weight variant to fetch'),
45
+ weight: z.enum(ICON_WEIGHT_VALUES).describe('Which weight variant to fetch'),
45
46
  }, async (args) => {
46
47
  const result = handleViewIcon(args);
47
48
  return {
@@ -49,14 +50,14 @@ server.tool('view_icon', [
49
50
  };
50
51
  });
51
52
  server.tool('apply_icon', [
52
- 'Generate ready-to-paste import and docs code for a Reicon icon.',
53
+ 'Generate ready-to-paste import and docs code for a Vezham icon.',
53
54
  'Returns importStatement and docsSnippet for the chosen framework.',
54
55
  'Supported frameworks: react, react-native, vue, svelte, html (CDN custom element), svg (raw markup).',
55
56
  'Insert importStatement at the top of the file and docsSnippet where the icon should appear.',
56
57
  'Always call search_icons first to confirm the icon name and weight exist.',
57
58
  ].join(' '), {
58
59
  name: z.string().describe('Icon kebab-case name, e.g. "heart"'),
59
- weight: z.enum(['Outline', 'Filled']).describe('Icon weight variant'),
60
+ weight: z.enum(ICON_WEIGHT_VALUES).describe('Icon weight variant'),
60
61
  framework: z
61
62
  .enum(['react', 'react-native', 'vue', 'svelte', 'html', 'svg'])
62
63
  .describe('Target framework or output format'),
@@ -82,7 +83,7 @@ server.tool('apply_icon', [
82
83
  };
83
84
  });
84
85
  server.tool('list_categories', [
85
- 'List all icon categories available in the Reicon dataset.',
86
+ 'List all icon categories available in the Vezham dataset.',
86
87
  'Use this to explore what types of icons exist before searching.',
87
88
  'Each category can be used as a search keyword with search_icons.',
88
89
  ].join(' '), {}, async () => {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vezham/icons-mcp",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "type": "module",
5
- "description": "MCP server and CLI for browsing and applying Reicon icons.",
5
+ "description": "MCP server and CLI for browsing and applying Vezham icons.",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/vezham/reicon",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "homepage": "https://vezham.com",
15
15
  "bin": {
16
- "reicon-mcp": "./dist/bin/run.cjs"
16
+ "vezham-icons-mcp": "./dist/bin/run.cjs"
17
17
  },
18
18
  "dependencies": {
19
19
  "@modelcontextprotocol/sdk": "^1.12.0",