kodza-mcp 0.1.0 → 0.1.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 +1 -1
- package/kodza.js +4 -4
- package/package.json +5 -1
package/LICENSE
CHANGED
package/kodza.js
CHANGED
|
@@ -10,7 +10,7 @@ import fs from 'node:fs/promises';
|
|
|
10
10
|
import path from 'node:path';
|
|
11
11
|
import { pathToFileURL } from 'node:url';
|
|
12
12
|
|
|
13
|
-
export const VERSION = '0.1.
|
|
13
|
+
export const VERSION = '0.1.1';
|
|
14
14
|
export const TARGETS = ['html', 'artifact', 'wordpress', 'shopify', 'react'];
|
|
15
15
|
const INDEX_TTL = 30 * 60 * 1000;
|
|
16
16
|
// Where a missing component is requested and voted for (a public repo, no code)
|
|
@@ -34,12 +34,12 @@ export const TOOLS = [
|
|
|
34
34
|
limit: { type: 'integer', minimum: 1, maximum: 50, description: 'How many results, 12 by default' },
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
|
-
annotations: { readOnlyHint: true, openWorldHint: false },
|
|
37
|
+
annotations: { title: 'Search Kodza components', readOnlyHint: true, openWorldHint: false },
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
name: 'get_component',
|
|
41
41
|
title: 'Get a Kodza component',
|
|
42
|
-
description: 'The full code of one Kodza component (HTML, CSS and, when it has one, vanilla JS), its API (CSS variables with defaults, modifier classes, data attributes, events), what each key does when it takes the keyboard, its dark-mode values and how to install it. Its CSS and JS are also served as exact files, with
|
|
42
|
+
description: 'The full code of one Kodza component (HTML, CSS and, when it has one, vanilla JS), its API (CSS variables with defaults, modifier classes, data attributes, events), what each key does when it takes the keyboard, its dark-mode values and how to install it. Its CSS and JS are also served as exact files, listed with their curl download commands; inline: false leaves them out of the answer. target narrows the install notes to one stack.',
|
|
43
43
|
inputSchema: {
|
|
44
44
|
type: 'object',
|
|
45
45
|
properties: {
|
|
@@ -49,7 +49,7 @@ export const TOOLS = [
|
|
|
49
49
|
},
|
|
50
50
|
required: ['slug'],
|
|
51
51
|
},
|
|
52
|
-
annotations: { readOnlyHint: true, openWorldHint: false },
|
|
52
|
+
annotations: { title: 'Get a Kodza component', readOnlyHint: true, openWorldHint: false },
|
|
53
53
|
},
|
|
54
54
|
];
|
|
55
55
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kodza-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server for Kodza: free premium UI components in plain HTML, CSS and vanilla JS, ready for AI coding assistants.",
|
|
5
5
|
"mcpName": "dev.kodza/kodza",
|
|
6
6
|
"homepage": "https://kodza.dev/docs/",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/kodza-dev/kodza.git"
|
|
10
|
+
},
|
|
7
11
|
"type": "module",
|
|
8
12
|
"bin": {
|
|
9
13
|
"kodza-mcp": "index.js"
|