@maz-ui/mcp 4.0.0-beta.26
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 +21 -0
- package/README.md +264 -0
- package/bin/maz-ui-mcp.mjs +7 -0
- package/dist/mcp.d.mts +13 -0
- package/dist/mcp.d.ts +13 -0
- package/dist/mcp.mjs +586 -0
- package/docs/generated-docs/maz-accordion.doc.md +21 -0
- package/docs/generated-docs/maz-animated-counter.doc.md +17 -0
- package/docs/generated-docs/maz-animated-element.doc.md +14 -0
- package/docs/generated-docs/maz-animated-text.doc.md +14 -0
- package/docs/generated-docs/maz-avatar.doc.md +44 -0
- package/docs/generated-docs/maz-backdrop.doc.md +61 -0
- package/docs/generated-docs/maz-badge.doc.md +16 -0
- package/docs/generated-docs/maz-bottom-sheet.doc.md +21 -0
- package/docs/generated-docs/maz-btn.doc.md +30 -0
- package/docs/generated-docs/maz-card-spotlight.doc.md +16 -0
- package/docs/generated-docs/maz-card.doc.md +39 -0
- package/docs/generated-docs/maz-carousel.doc.md +16 -0
- package/docs/generated-docs/maz-chart.doc.md +10 -0
- package/docs/generated-docs/maz-checkbox.doc.md +34 -0
- package/docs/generated-docs/maz-checklist.doc.md +30 -0
- package/docs/generated-docs/maz-circular-progress-bar.doc.md +27 -0
- package/docs/generated-docs/maz-date-picker.doc.md +52 -0
- package/docs/generated-docs/maz-dialog-confirm.doc.md +24 -0
- package/docs/generated-docs/maz-dialog.doc.md +22 -0
- package/docs/generated-docs/maz-drawer.doc.md +26 -0
- package/docs/generated-docs/maz-dropdown.doc.md +42 -0
- package/docs/generated-docs/maz-dropzone.doc.md +82 -0
- package/docs/generated-docs/maz-expand-animation.doc.md +12 -0
- package/docs/generated-docs/maz-fullscreen-loader.doc.md +13 -0
- package/docs/generated-docs/maz-gallery.doc.md +17 -0
- package/docs/generated-docs/maz-icon.doc.md +18 -0
- package/docs/generated-docs/maz-input-code.doc.md +25 -0
- package/docs/generated-docs/maz-input-number.doc.md +31 -0
- package/docs/generated-docs/maz-input-phone-number.doc.md +56 -0
- package/docs/generated-docs/maz-input-price.doc.md +26 -0
- package/docs/generated-docs/maz-input-tags.doc.md +24 -0
- package/docs/generated-docs/maz-input.doc.md +54 -0
- package/docs/generated-docs/maz-lazy-img.doc.md +31 -0
- package/docs/generated-docs/maz-link.doc.md +31 -0
- package/docs/generated-docs/maz-loading-bar.doc.md +6 -0
- package/docs/generated-docs/maz-pagination.doc.md +22 -0
- package/docs/generated-docs/maz-popover.doc.md +70 -0
- package/docs/generated-docs/maz-pull-to-refresh.doc.md +31 -0
- package/docs/generated-docs/maz-radio-buttons.doc.md +33 -0
- package/docs/generated-docs/maz-radio.doc.md +33 -0
- package/docs/generated-docs/maz-reading-progress-bar.doc.md +18 -0
- package/docs/generated-docs/maz-select-country.doc.md +44 -0
- package/docs/generated-docs/maz-select.doc.md +65 -0
- package/docs/generated-docs/maz-slider.doc.md +20 -0
- package/docs/generated-docs/maz-spinner.doc.md +6 -0
- package/docs/generated-docs/maz-stepper.doc.md +29 -0
- package/docs/generated-docs/maz-switch.doc.md +31 -0
- package/docs/generated-docs/maz-table-cell.doc.md +5 -0
- package/docs/generated-docs/maz-table-row.doc.md +11 -0
- package/docs/generated-docs/maz-table-title.doc.md +5 -0
- package/docs/generated-docs/maz-table.doc.md +66 -0
- package/docs/generated-docs/maz-tabs-bar.doc.md +18 -0
- package/docs/generated-docs/maz-tabs-content-item.doc.md +11 -0
- package/docs/generated-docs/maz-tabs-content.doc.md +5 -0
- package/docs/generated-docs/maz-tabs.doc.md +17 -0
- package/docs/generated-docs/maz-textarea.doc.md +41 -0
- package/docs/src/components/index.md +8 -0
- package/docs/src/components/maz-accordion.md +80 -0
- package/docs/src/components/maz-animated-counter.md +124 -0
- package/docs/src/components/maz-animated-element.md +36 -0
- package/docs/src/components/maz-animated-text.md +36 -0
- package/docs/src/components/maz-avatar.md +179 -0
- package/docs/src/components/maz-backdrop.md +16 -0
- package/docs/src/components/maz-badge.md +222 -0
- package/docs/src/components/maz-bottom-sheet.md +398 -0
- package/docs/src/components/maz-btn.md +526 -0
- package/docs/src/components/maz-card-spotlight.md +163 -0
- package/docs/src/components/maz-card.md +447 -0
- package/docs/src/components/maz-carousel.md +127 -0
- package/docs/src/components/maz-chart.md +346 -0
- package/docs/src/components/maz-checkbox.md +168 -0
- package/docs/src/components/maz-checklist.md +414 -0
- package/docs/src/components/maz-circular-progress-bar.md +147 -0
- package/docs/src/components/maz-date-picker.md +1078 -0
- package/docs/src/components/maz-dialog-confirm.md +240 -0
- package/docs/src/components/maz-dialog.md +208 -0
- package/docs/src/components/maz-drawer.md +177 -0
- package/docs/src/components/maz-dropdown.md +650 -0
- package/docs/src/components/maz-dropzone.md +442 -0
- package/docs/src/components/maz-expand-animation.md +99 -0
- package/docs/src/components/maz-fullscreen-loader.md +58 -0
- package/docs/src/components/maz-gallery.md +85 -0
- package/docs/src/components/maz-icon.md +85 -0
- package/docs/src/components/maz-input-code.md +61 -0
- package/docs/src/components/maz-input-number.md +81 -0
- package/docs/src/components/maz-input-phone-number.md +867 -0
- package/docs/src/components/maz-input-price.md +58 -0
- package/docs/src/components/maz-input-tags.md +114 -0
- package/docs/src/components/maz-input.md +453 -0
- package/docs/src/components/maz-lazy-img.md +24 -0
- package/docs/src/components/maz-link.md +156 -0
- package/docs/src/components/maz-loading-bar.md +26 -0
- package/docs/src/components/maz-pagination.md +81 -0
- package/docs/src/components/maz-popover.md +1414 -0
- package/docs/src/components/maz-pull-to-refresh.md +49 -0
- package/docs/src/components/maz-radio-buttons.md +456 -0
- package/docs/src/components/maz-radio.md +141 -0
- package/docs/src/components/maz-reading-progress-bar.md +74 -0
- package/docs/src/components/maz-select-country.md +636 -0
- package/docs/src/components/maz-select.md +439 -0
- package/docs/src/components/maz-slider.md +191 -0
- package/docs/src/components/maz-spinner.md +93 -0
- package/docs/src/components/maz-stepper.md +418 -0
- package/docs/src/components/maz-switch.md +92 -0
- package/docs/src/components/maz-table.md +571 -0
- package/docs/src/components/maz-tabs.md +231 -0
- package/docs/src/components/maz-textarea.md +218 -0
- package/docs/src/composables/use-aos.md +34 -0
- package/docs/src/composables/use-breakpoints.md +35 -0
- package/docs/src/composables/use-dialog.md +88 -0
- package/docs/src/composables/use-display-names.md +174 -0
- package/docs/src/composables/use-form-validator.md +1149 -0
- package/docs/src/composables/use-idle-timeout.md +256 -0
- package/docs/src/composables/use-reading-time.md +168 -0
- package/docs/src/composables/use-string-matching.md +63 -0
- package/docs/src/composables/use-swipe.md +223 -0
- package/docs/src/composables/use-timer.md +130 -0
- package/docs/src/composables/use-toast.md +71 -0
- package/docs/src/composables/use-user-visibility.md +169 -0
- package/docs/src/composables/use-wait.md +62 -0
- package/docs/src/composables/use-window-size.md +18 -0
- package/docs/src/demo/DemoAuthPage.vue +178 -0
- package/docs/src/demo/DemoDashboardPage.vue +298 -0
- package/docs/src/demo/DemoProductPage.vue +135 -0
- package/docs/src/directives/click-outside.md +275 -0
- package/docs/src/directives/fullscreen-img.md +101 -0
- package/docs/src/directives/lazy-img.md +184 -0
- package/docs/src/directives/tooltip.md +458 -0
- package/docs/src/directives/zoom-img.md +127 -0
- package/docs/src/guide/cli.md +144 -0
- package/docs/src/guide/getting-started.md +284 -0
- package/docs/src/guide/icon-set.md +60 -0
- package/docs/src/guide/icons.md +481 -0
- package/docs/src/guide/mcp.md +210 -0
- package/docs/src/guide/migration-v4.md +898 -0
- package/docs/src/guide/nuxt.md +411 -0
- package/docs/src/guide/resolvers.md +697 -0
- package/docs/src/guide/themes.md +789 -0
- package/docs/src/guide/translations.md +1173 -0
- package/docs/src/guide/vue.md +243 -0
- package/docs/src/helpers/camel-case.md +14 -0
- package/docs/src/helpers/capitalize.md +51 -0
- package/docs/src/helpers/check-availability.md +14 -0
- package/docs/src/helpers/country-code-to-unicode-flag.md +213 -0
- package/docs/src/helpers/currency.md +67 -0
- package/docs/src/helpers/date.md +67 -0
- package/docs/src/helpers/debounce-callback.md +14 -0
- package/docs/src/helpers/debounce-id.md +14 -0
- package/docs/src/helpers/debounce.md +14 -0
- package/docs/src/helpers/get-country-flag-url.md +156 -0
- package/docs/src/helpers/is-client.md +14 -0
- package/docs/src/helpers/is-equal.md +14 -0
- package/docs/src/helpers/is-standalone-mode.md +14 -0
- package/docs/src/helpers/kebab-case.md +14 -0
- package/docs/src/helpers/normalize-string.md +14 -0
- package/docs/src/helpers/number.md +65 -0
- package/docs/src/helpers/pascal-case.md +14 -0
- package/docs/src/helpers/script-loader.md +14 -0
- package/docs/src/helpers/sleep.md +14 -0
- package/docs/src/helpers/snake-case.md +14 -0
- package/docs/src/helpers/throttle-id.md +14 -0
- package/docs/src/helpers/throttle.md +14 -0
- package/docs/src/index.md +555 -0
- package/docs/src/made-with-maz-ui.md +58 -0
- package/docs/src/plugins/aos.md +347 -0
- package/docs/src/plugins/dialog.md +411 -0
- package/docs/src/plugins/toast.md +349 -0
- package/docs/src/plugins/wait.md +109 -0
- package/package.json +84 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 LouisMazel
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# Maz-UI MCP Server
|
|
2
|
+
|
|
3
|
+
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to the Maz-UI component library documentation. This server enables AI agents to help developers with Vue.js/Nuxt.js component implementation, usage examples, and best practices.
|
|
4
|
+
|
|
5
|
+
- [Maz-UI MCP Server](#maz-ui-mcp-server)
|
|
6
|
+
- [Features](#features)
|
|
7
|
+
- [AI Assistant Configuration](#ai-assistant-configuration)
|
|
8
|
+
- [Claude Code](#claude-code)
|
|
9
|
+
- [Claude Desktop](#claude-desktop)
|
|
10
|
+
- [Cursor IDE](#cursor-ide)
|
|
11
|
+
- [Windsurf](#windsurf)
|
|
12
|
+
- [Visual Studio Code (Copilot)](#visual-studio-code-copilot)
|
|
13
|
+
- [Cline](#cline)
|
|
14
|
+
- [Available Tools](#available-tools)
|
|
15
|
+
- [Available Resources](#available-resources)
|
|
16
|
+
- [Core Resources](#core-resources)
|
|
17
|
+
- [Development](#development)
|
|
18
|
+
- [Server Architecture](#server-architecture)
|
|
19
|
+
- [Running Tests](#running-tests)
|
|
20
|
+
- [Type Checking](#type-checking)
|
|
21
|
+
- [Debugging with MCP Inspector](#debugging-with-mcp-inspector)
|
|
22
|
+
- [License](#license)
|
|
23
|
+
- [Support](#support)
|
|
24
|
+
|
|
25
|
+
## Features
|
|
26
|
+
|
|
27
|
+
- **50+ Vue Components** - Complete documentation for all Maz-UI components
|
|
28
|
+
- **11 Comprehensive Guides** - Installation, theming, dark mode, and framework-specific guides
|
|
29
|
+
- **14 Vue Composables** - Reusable composition functions with usage examples
|
|
30
|
+
- **5 Vue Directives** - Custom directives for enhanced functionality
|
|
31
|
+
- **4 Vue Plugins** - Toast, dialog, AOS animations, and wait overlay plugins
|
|
32
|
+
- **20+ Utility Helpers** - Date formatting, currency handling, string manipulation, and more
|
|
33
|
+
- **Real-time Search** - Smart search across all documentation types
|
|
34
|
+
- **TypeScript Support** - Full type safety and IntelliSense integration
|
|
35
|
+
|
|
36
|
+
## AI Assistant Configuration
|
|
37
|
+
|
|
38
|
+
### Claude Code
|
|
39
|
+
|
|
40
|
+
1. Run the following command:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
claude mcp add maz-ui npx @maz-ui/mcp --scope (project | local | user)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
2. Will add the following to your `~/.mcp.json` (for project scope):
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"mcpServers": {
|
|
51
|
+
"maz-ui": {
|
|
52
|
+
"type": "stdio",
|
|
53
|
+
"command": "npx",
|
|
54
|
+
"args": ["@maz-ui/mcp"]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
3. Restart Claude code to apply the new configuration.
|
|
61
|
+
|
|
62
|
+
### Claude Desktop
|
|
63
|
+
|
|
64
|
+
1. Open Claude desktop and navigate to Settings.
|
|
65
|
+
|
|
66
|
+
2. Under the Developer tab, tap Edit Config to open the configuration file.
|
|
67
|
+
|
|
68
|
+
3. Add the following configuration:
|
|
69
|
+
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"mcpServers": {
|
|
73
|
+
"maz-ui": {
|
|
74
|
+
"type": "stdio",
|
|
75
|
+
"command": "npx",
|
|
76
|
+
"args": ["@maz-ui/mcp"]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
4. Save the configuration file and restart Claude desktop.
|
|
83
|
+
|
|
84
|
+
5. From the new chat screen, you should see a hammer (MCP) icon appear with the new MCP server available.
|
|
85
|
+
|
|
86
|
+
### Cursor IDE
|
|
87
|
+
|
|
88
|
+
1. Open Cursor and create a .cursor directory in your project root if it doesn't exist.
|
|
89
|
+
|
|
90
|
+
2. Create a .cursor/mcp.json file if it doesn't exist and open it.
|
|
91
|
+
|
|
92
|
+
3. Add the following configuration:
|
|
93
|
+
|
|
94
|
+
```json
|
|
95
|
+
{
|
|
96
|
+
"mcpServers": {
|
|
97
|
+
"maz-ui": {
|
|
98
|
+
"command": "npx",
|
|
99
|
+
"args": ["@maz-ui/mcp"]
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
4. Save the configuration file.
|
|
106
|
+
|
|
107
|
+
5. Open Cursor and navigate to Settings/MCP. You should see a green active status after the server is successfully connected.
|
|
108
|
+
|
|
109
|
+
### Windsurf
|
|
110
|
+
|
|
111
|
+
1. Open Windsurf and navigate to the Cascade assistant.
|
|
112
|
+
|
|
113
|
+
2. Tap on the hammer (MCP) icon, then Configure to open the configuration file.
|
|
114
|
+
|
|
115
|
+
3. Add the following configuration:
|
|
116
|
+
|
|
117
|
+
```json
|
|
118
|
+
{
|
|
119
|
+
"mcpServers": {
|
|
120
|
+
"maz-ui": {
|
|
121
|
+
"command": "npx",
|
|
122
|
+
"args": ["@maz-ui/mcp"]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
4. Save the configuration file and reload by tapping Refresh in the Cascade assistant.
|
|
129
|
+
|
|
130
|
+
5. You should see a green active status after the server is successfully connected.
|
|
131
|
+
|
|
132
|
+
### Visual Studio Code (Copilot)
|
|
133
|
+
|
|
134
|
+
1. Open VS Code and create a .vscode directory in your project root if it doesn't exist.
|
|
135
|
+
|
|
136
|
+
2. Create a .vscode/mcp.json file if it doesn't exist and open it.
|
|
137
|
+
|
|
138
|
+
3. Add the following configuration:
|
|
139
|
+
|
|
140
|
+
```json
|
|
141
|
+
{
|
|
142
|
+
"servers": {
|
|
143
|
+
"maz-ui": {
|
|
144
|
+
"command": "npx",
|
|
145
|
+
"args": ["@maz-ui/mcp"]
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
4. Save the configuration file.
|
|
152
|
+
|
|
153
|
+
5. Open Copilot chat and switch to "Agent" mode. You should see a tool icon that you can tap to confirm the MCP tools are available. Once you begin using the server, you will be prompted to enter your personal access token. Enter the token that you created earlier.
|
|
154
|
+
|
|
155
|
+
### Cline
|
|
156
|
+
|
|
157
|
+
1. Open the Cline extension in VS Code and tap the MCP Servers icon.
|
|
158
|
+
|
|
159
|
+
2. Tap Configure MCP Servers to open the configuration file.
|
|
160
|
+
|
|
161
|
+
3. Add the following configuration:
|
|
162
|
+
|
|
163
|
+
```json
|
|
164
|
+
{
|
|
165
|
+
"mcpServers": {
|
|
166
|
+
"maz-ui": {
|
|
167
|
+
"command": "npx",
|
|
168
|
+
"args": ["@maz-ui/mcp"]
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
4. Save the configuration file. Cline should automatically reload the configuration.
|
|
175
|
+
|
|
176
|
+
5. You should see a green active status after the server is successfully connected.
|
|
177
|
+
|
|
178
|
+
## Available Tools
|
|
179
|
+
|
|
180
|
+
The MCP server provides the following tools that AI assistants can use:
|
|
181
|
+
|
|
182
|
+
- **`get_getting_started`** - Get the getting started guide
|
|
183
|
+
- **`list_all_components`** - Get a complete list of available components
|
|
184
|
+
- **`list_guides`** - List all installation and usage guides
|
|
185
|
+
- **`list_composables`** - List all Vue composables
|
|
186
|
+
- **`list_directives`** - List all Vue directives
|
|
187
|
+
- **`list_plugins`** - List all Vue plugins
|
|
188
|
+
- **`list_helpers`** - List all utility helpers
|
|
189
|
+
|
|
190
|
+
## Available Resources
|
|
191
|
+
|
|
192
|
+
The server exposes documentation through MCP resources with the following URI patterns:
|
|
193
|
+
|
|
194
|
+
### Core Resources
|
|
195
|
+
|
|
196
|
+
- **`maz-ui://overview`** - Complete library overview and introduction
|
|
197
|
+
- **`maz-ui://component/{ComponentName}`** - Individual component documentation
|
|
198
|
+
- Examples: `maz-ui://component/MazBtn`, `maz-ui://component/MazInput`
|
|
199
|
+
- **`maz-ui://guide/{guideName}`** - Setup and usage guides
|
|
200
|
+
- Examples: `maz-ui://guide/getting-started`, `maz-ui://guide/vue`, `maz-ui://guide/nuxt`
|
|
201
|
+
- **`maz-ui://composable/{composableName}`** - Vue composable documentation
|
|
202
|
+
- Examples: `maz-ui://composable/use-toast`, `maz-ui://composable/use-dialog`
|
|
203
|
+
- **`maz-ui://directive/{directiveName}`** - Vue directive documentation
|
|
204
|
+
- Examples: `maz-ui://directive/tooltip`, `maz-ui://directive/click-outside`
|
|
205
|
+
- **`maz-ui://plugin/{pluginName}`** - Vue plugin documentation
|
|
206
|
+
- Examples: `maz-ui://plugin/toast`, `maz-ui://plugin/dialog`
|
|
207
|
+
- **`maz-ui://helper/{helperName}`** - Utility helper documentation
|
|
208
|
+
- Examples: `maz-ui://helper/currency`, `maz-ui://helper/date`
|
|
209
|
+
|
|
210
|
+
## Development
|
|
211
|
+
|
|
212
|
+
### Server Architecture
|
|
213
|
+
|
|
214
|
+
The MCP server is built with:
|
|
215
|
+
|
|
216
|
+
- **TypeScript** - Full type safety
|
|
217
|
+
- **STDIO Transport** - MCP 2025 specification compliance
|
|
218
|
+
- **Custom DocumentationService** - Combines manual and generated docs
|
|
219
|
+
|
|
220
|
+
### Running Tests
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
pnpm test:unit
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Type Checking
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
pnpm typecheck
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Debugging with MCP Inspector
|
|
233
|
+
|
|
234
|
+
1. Install the MCP Inspector:
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
npm install -g @modelcontextprotocol/inspector
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
2. Start the server:
|
|
241
|
+
|
|
242
|
+
```bash
|
|
243
|
+
pnpm dev
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
3. Run the inspector:
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
pnpm dev:inspector
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
4. Configure
|
|
253
|
+
- Transport Type: `STDIO`
|
|
254
|
+
- Command: `tsx`
|
|
255
|
+
- Args: `src/mcp.ts`
|
|
256
|
+
|
|
257
|
+
## License
|
|
258
|
+
|
|
259
|
+
This project is licensed under the MIT License - see the main Maz-UI repository for details.
|
|
260
|
+
|
|
261
|
+
## Support
|
|
262
|
+
|
|
263
|
+
- **Documentation**: [https://maz-ui.com](https://maz-ui.com)
|
|
264
|
+
- **Issues**: [GitHub Issues](https://github.com/LouisMazel/maz-ui/issues)
|
package/dist/mcp.d.mts
ADDED
package/dist/mcp.d.ts
ADDED