@wireweave/mcp-server 1.2.0 → 1.3.0-beta.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 +11 -13
- package/dist/index.js +18 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
## Overview
|
|
15
15
|
|
|
16
|
-
This MCP server enables AI assistants like Claude to generate wireframes using the Wireweave DSL. It provides **
|
|
16
|
+
This MCP server enables AI assistants like Claude to generate wireframes using the Wireweave DSL. It provides **30 tools** for parsing, rendering, validating, and managing wireframes.
|
|
17
17
|
|
|
18
18
|
## Prerequisites
|
|
19
19
|
|
|
@@ -58,9 +58,9 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
58
58
|
| `WIREWEAVE_API_KEY` | Yes | Your API key from Dashboard |
|
|
59
59
|
| `WIREWEAVE_API_URL` | No | API server URL (default: https://api.wireweave.org) |
|
|
60
60
|
|
|
61
|
-
## Available Tools (
|
|
61
|
+
## Available Tools (30)
|
|
62
62
|
|
|
63
|
-
### Core Tools (
|
|
63
|
+
### Core Tools (11)
|
|
64
64
|
|
|
65
65
|
| Tool | Description |
|
|
66
66
|
|------|-------------|
|
|
@@ -71,15 +71,12 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
71
71
|
| `wireweave_patterns` | Get common layout patterns |
|
|
72
72
|
| `wireweave_examples` | Get code examples by category |
|
|
73
73
|
| `wireweave_render_html` | Render DSL to HTML and CSS |
|
|
74
|
-
| `wireweave_render_svg` | Render DSL to SVG format |
|
|
75
74
|
| `wireweave_validate_ux` | Validate UX best practices |
|
|
76
75
|
| `wireweave_ux_rules` | Get UX rule categories |
|
|
77
76
|
| `wireweave_diff` | Compare two wireframe sources |
|
|
78
|
-
| `wireweave_export_json` | Export to JSON format |
|
|
79
|
-
| `wireweave_export_figma` | Export to Figma format |
|
|
80
77
|
| `wireweave_analyze` | Analyze wireframe statistics |
|
|
81
78
|
|
|
82
|
-
### Cloud Storage Tools (
|
|
79
|
+
### Cloud Storage Tools (15)
|
|
83
80
|
|
|
84
81
|
| Tool | Description |
|
|
85
82
|
|------|-------------|
|
|
@@ -94,6 +91,7 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
|
|
|
94
91
|
| `wireweave_cloud_delete_wireframe` | Delete a wireframe |
|
|
95
92
|
| `wireweave_cloud_get_versions` | Get version history |
|
|
96
93
|
| `wireweave_cloud_restore_version` | Restore to a previous version |
|
|
94
|
+
| `wireweave_cloud_diff_versions` | Compare two versions of a wireframe |
|
|
97
95
|
| `wireweave_cloud_create_share_link` | Create a shareable link |
|
|
98
96
|
| `wireweave_cloud_list_shares` | List share links |
|
|
99
97
|
| `wireweave_gallery` | Browse public wireframe gallery |
|
|
@@ -120,8 +118,8 @@ Once configured, you can ask Claude:
|
|
|
120
118
|
**Save to cloud:**
|
|
121
119
|
> "Save this wireframe as 'Dashboard v2' in my project"
|
|
122
120
|
|
|
123
|
-
**
|
|
124
|
-
> "
|
|
121
|
+
**Share:**
|
|
122
|
+
> "Create a shareable link for this wireframe"
|
|
125
123
|
|
|
126
124
|
## Architecture
|
|
127
125
|
|
|
@@ -137,7 +135,7 @@ Once configured, you can ask Claude:
|
|
|
137
135
|
```
|
|
138
136
|
|
|
139
137
|
The MCP server is a thin client that:
|
|
140
|
-
- Defines and exposes
|
|
138
|
+
- Defines and exposes 30 tools to AI assistants
|
|
141
139
|
- Forwards tool calls to the Wireweave API Server
|
|
142
140
|
- Returns results back to the AI
|
|
143
141
|
|
|
@@ -147,11 +145,11 @@ All authentication, rate limiting, and business logic runs on the API Server.
|
|
|
147
145
|
|
|
148
146
|
| Feature | Credits |
|
|
149
147
|
|---------|---------|
|
|
150
|
-
| Parse, Validate
|
|
151
|
-
|
|
|
148
|
+
| Parse, Validate | 1 |
|
|
149
|
+
| Grammar, Guide, Patterns, Examples, UX Rules | 0 (free) |
|
|
150
|
+
| Render HTML | 2 |
|
|
152
151
|
| UX Validation | 3 |
|
|
153
152
|
| Diff, Analyze | 2 |
|
|
154
|
-
| Export JSON/Figma | 3 |
|
|
155
153
|
| Cloud Save/Update | 1 |
|
|
156
154
|
| Create Share Link | 5 |
|
|
157
155
|
|
package/dist/index.js
CHANGED
|
@@ -28,13 +28,18 @@ var tools = [
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
name: "wireweave_validate",
|
|
31
|
-
description: "Validate Wireweave DSL syntax without generating output",
|
|
31
|
+
description: "Validate Wireweave DSL syntax without generating output. Use strict mode to also check for unknown attributes.",
|
|
32
32
|
inputSchema: {
|
|
33
33
|
"type": "object",
|
|
34
34
|
"properties": {
|
|
35
35
|
"source": {
|
|
36
36
|
"type": "string",
|
|
37
37
|
"description": "The Wireweave DSL source code to validate"
|
|
38
|
+
},
|
|
39
|
+
"strict": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"description": "Enable strict mode to also validate that only known attributes are used. Recommended for catching typos and incorrect attribute names.",
|
|
42
|
+
"default": false
|
|
38
43
|
}
|
|
39
44
|
},
|
|
40
45
|
"required": [
|
|
@@ -148,7 +153,11 @@ var tools = [
|
|
|
148
153
|
"form",
|
|
149
154
|
"touch-target",
|
|
150
155
|
"consistency",
|
|
151
|
-
"navigation"
|
|
156
|
+
"navigation",
|
|
157
|
+
"feedback",
|
|
158
|
+
"content",
|
|
159
|
+
"data-display",
|
|
160
|
+
"interaction"
|
|
152
161
|
]
|
|
153
162
|
},
|
|
154
163
|
"description": "UX rule categories to check. If not specified, all categories are checked."
|
|
@@ -166,6 +175,13 @@ var tools = [
|
|
|
166
175
|
"maxIssues": {
|
|
167
176
|
"type": "number",
|
|
168
177
|
"description": "Maximum number of issues to return"
|
|
178
|
+
},
|
|
179
|
+
"disabledRules": {
|
|
180
|
+
"type": "array",
|
|
181
|
+
"items": {
|
|
182
|
+
"type": "string"
|
|
183
|
+
},
|
|
184
|
+
"description": 'List of rule IDs to disable (e.g., ["a11y-input-label", "form-submit-button"])'
|
|
169
185
|
}
|
|
170
186
|
},
|
|
171
187
|
"required": [
|