@vezham/icons-mcp 1.0.4 → 1.0.6
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/README.md +11 -11
- package/dist/README.md +11 -11
- package/dist/cli/index.js +4 -4
- package/dist/core/codegen.js +4 -4
- package/dist/data/icon-index.json +1 -1
- package/dist/package.json +3 -3
- package/dist/server/index.js +5 -5
- package/package.json +3 -3
package/dist/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vezham/icons-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "MCP server and CLI for browsing and applying
|
|
5
|
+
"description": "MCP server and CLI for browsing and applying Vezham icons.",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"vezham-icons-mcp": "bin/run.cjs"
|
|
8
8
|
},
|
|
9
9
|
"main": "./server/index.js",
|
|
10
10
|
"types": "./server/index.d.ts",
|
package/dist/server/index.js
CHANGED
|
@@ -6,11 +6,11 @@ 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
8
|
const server = new McpServer({
|
|
9
|
-
name: '
|
|
9
|
+
name: 'vezham-icons-mcp',
|
|
10
10
|
version: '1.1.0',
|
|
11
11
|
});
|
|
12
12
|
server.tool('search_icons', [
|
|
13
|
-
'Search 2,700+
|
|
13
|
+
'Search 2,700+ Vezham icons by any keyword, phrase, or description.',
|
|
14
14
|
'Understands synonyms ("round" → circle, "del" → delete/trash), misspellings ("calender" → calendar),',
|
|
15
15
|
'multi-word queries ("user circle", "credit card", "volume up"), and name parts ("up" → arrow-up).',
|
|
16
16
|
'Returns ranked matches. Short specific terms work best but full phrases also work.',
|
|
@@ -36,7 +36,7 @@ server.tool('search_icons', [
|
|
|
36
36
|
};
|
|
37
37
|
});
|
|
38
38
|
server.tool('view_icon', [
|
|
39
|
-
'Fetch raw SVG markup and metadata for a specific
|
|
39
|
+
'Fetch raw SVG markup and metadata for a specific Vezham icon.',
|
|
40
40
|
'Use this to inspect the SVG before applying, or when you only need the raw markup.',
|
|
41
41
|
'For generating import/docs code, prefer apply_icon instead.',
|
|
42
42
|
].join(' '), {
|
|
@@ -49,7 +49,7 @@ server.tool('view_icon', [
|
|
|
49
49
|
};
|
|
50
50
|
});
|
|
51
51
|
server.tool('apply_icon', [
|
|
52
|
-
'Generate ready-to-paste import and docs code for a
|
|
52
|
+
'Generate ready-to-paste import and docs code for a Vezham icon.',
|
|
53
53
|
'Returns importStatement and docsSnippet for the chosen framework.',
|
|
54
54
|
'Supported frameworks: react, react-native, vue, svelte, html (CDN custom element), svg (raw markup).',
|
|
55
55
|
'Insert importStatement at the top of the file and docsSnippet where the icon should appear.',
|
|
@@ -82,7 +82,7 @@ server.tool('apply_icon', [
|
|
|
82
82
|
};
|
|
83
83
|
});
|
|
84
84
|
server.tool('list_categories', [
|
|
85
|
-
'List all icon categories available in the
|
|
85
|
+
'List all icon categories available in the Vezham dataset.',
|
|
86
86
|
'Use this to explore what types of icons exist before searching.',
|
|
87
87
|
'Each category can be used as a search keyword with search_icons.',
|
|
88
88
|
].join(' '), {}, async () => {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vezham/icons-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "MCP server and CLI for browsing and applying
|
|
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
|
-
"
|
|
16
|
+
"vezham-icons-mcp": "./dist/bin/run.cjs"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@modelcontextprotocol/sdk": "^1.12.0",
|