elij-ui-library-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/README.md +59 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Elij UI Library MCP
|
|
2
|
+
|
|
3
|
+
An MCP server that lets AI clients discover components from the published Elij UI Library registry.
|
|
4
|
+
|
|
5
|
+
## Quick start
|
|
6
|
+
|
|
7
|
+
Run it without installing globally:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx -y elij-ui-library-mcp
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The server uses the MCP stdio transport. Keep stdout reserved for MCP messages; diagnostic output is written to stderr.
|
|
14
|
+
|
|
15
|
+
## MCP client configuration
|
|
16
|
+
|
|
17
|
+
Add the following server entry to an MCP-compatible client such as Claude Desktop, Cursor, or VS Code:
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"mcpServers": {
|
|
22
|
+
"elij-ui-library": {
|
|
23
|
+
"command": "npx",
|
|
24
|
+
"args": ["-y", "elij-ui-library-mcp"]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
If the client supports a local executable configuration, the equivalent command is:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
elij-ui-library-mcp
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Available tools
|
|
37
|
+
|
|
38
|
+
### `list_components`
|
|
39
|
+
|
|
40
|
+
Lists all components in the registry. Pass an optional `category` to filter the result.
|
|
41
|
+
|
|
42
|
+
### `search_components`
|
|
43
|
+
|
|
44
|
+
Searches component names, categories, and descriptions. It accepts `query`, an optional `category`, and an optional `limit` from 1 to 50.
|
|
45
|
+
|
|
46
|
+
### `get_component`
|
|
47
|
+
|
|
48
|
+
Returns the import path, category, description, props, and Storybook story for a component by name.
|
|
49
|
+
|
|
50
|
+
## Development
|
|
51
|
+
|
|
52
|
+
From the monorepo root:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
corepack yarn workspace elij-ui-library-mcp build
|
|
56
|
+
corepack yarn workspace elij-ui-library-mcp test
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The server depends on the published `elij-ui-library` registry package, so the registry data remains versioned with the UI library release.
|