@easingwizard/mcp-server 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 +24 -6
- package/dist/index.js +2 -2
- package/package.json +3 -2
package/Readme.md
CHANGED
|
@@ -22,7 +22,7 @@ Add to your `claude_desktop_config.json`:
|
|
|
22
22
|
"mcpServers": {
|
|
23
23
|
"easingwizard": {
|
|
24
24
|
"command": "npx",
|
|
25
|
-
"args": ["@easingwizard/mcp-server"]
|
|
25
|
+
"args": ["-y", "@easingwizard/mcp-server"]
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -37,7 +37,7 @@ Add to your MCP configuration `.vscode/mcp.json`:
|
|
|
37
37
|
"servers": {
|
|
38
38
|
"easingwizard": {
|
|
39
39
|
"command": "npx",
|
|
40
|
-
"args": ["@easingwizard/mcp-server"]
|
|
40
|
+
"args": ["-y", "@easingwizard/mcp-server"]
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -52,7 +52,7 @@ For other MCP-compatible applications, use the standard configuration format:
|
|
|
52
52
|
"mcpServers": {
|
|
53
53
|
"easingwizard": {
|
|
54
54
|
"command": "npx",
|
|
55
|
-
"args": ["@easingwizard/mcp-server"]
|
|
55
|
+
"args": ["-y", "@easingwizard/mcp-server"]
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -63,12 +63,15 @@ For other MCP-compatible applications, use the standard configuration format:
|
|
|
63
63
|
The MCP server provides the following tools for AI assistants:
|
|
64
64
|
|
|
65
65
|
### `getPresets`
|
|
66
|
+
|
|
66
67
|
Retrieves available preset easing curves, optionally filtered by type.
|
|
67
68
|
|
|
68
69
|
**Parameters:**
|
|
70
|
+
|
|
69
71
|
- `type` (optional): Filter by easing type (`BEZIER`, `SPRING`, `BOUNCE`, `WIGGLE`, `OVERSHOOT`)
|
|
70
72
|
|
|
71
73
|
**Example:**
|
|
74
|
+
|
|
72
75
|
```json
|
|
73
76
|
{
|
|
74
77
|
"name": "getPresets",
|
|
@@ -79,12 +82,15 @@ Retrieves available preset easing curves, optionally filtered by type.
|
|
|
79
82
|
```
|
|
80
83
|
|
|
81
84
|
### `getCurveById`
|
|
85
|
+
|
|
82
86
|
Retrieves a specific easing curve by its unique ID.
|
|
83
87
|
|
|
84
88
|
**Parameters:**
|
|
89
|
+
|
|
85
90
|
- `id` (required): The unique ID of the easing curve
|
|
86
91
|
|
|
87
92
|
**Example:**
|
|
93
|
+
|
|
88
94
|
```json
|
|
89
95
|
{
|
|
90
96
|
"name": "getCurveById",
|
|
@@ -95,15 +101,18 @@ Retrieves a specific easing curve by its unique ID.
|
|
|
95
101
|
```
|
|
96
102
|
|
|
97
103
|
### `createBezierCurve`
|
|
104
|
+
|
|
98
105
|
Creates a custom cubic Bézier easing curve.
|
|
99
106
|
|
|
100
107
|
**Parameters:**
|
|
108
|
+
|
|
101
109
|
- `x1` (0-1): First control point X coordinate
|
|
102
|
-
- `y1` (-1 to 2): First control point Y coordinate
|
|
110
|
+
- `y1` (-1 to 2): First control point Y coordinate
|
|
103
111
|
- `x2` (0-1): Second control point X coordinate
|
|
104
112
|
- `y2` (-1 to 2): Second control point Y coordinate
|
|
105
113
|
|
|
106
114
|
**Example:**
|
|
115
|
+
|
|
107
116
|
```json
|
|
108
117
|
{
|
|
109
118
|
"name": "createBezierCurve",
|
|
@@ -117,15 +126,18 @@ Creates a custom cubic Bézier easing curve.
|
|
|
117
126
|
```
|
|
118
127
|
|
|
119
128
|
### `createSpringCurve`
|
|
129
|
+
|
|
120
130
|
Creates a spring-based easing curve with physics parameters.
|
|
121
131
|
|
|
122
132
|
**Parameters:**
|
|
133
|
+
|
|
123
134
|
- `mass` (1-5): Mass of the spring system
|
|
124
135
|
- `stiffness` (0-100): Spring stiffness
|
|
125
136
|
- `damping` (0-100): Damping force
|
|
126
137
|
- `accuracy` (`LOW`, `MEDIUM`, `HIGH`, `ULTRA`): Calculation precision
|
|
127
138
|
|
|
128
139
|
**Example:**
|
|
140
|
+
|
|
129
141
|
```json
|
|
130
142
|
{
|
|
131
143
|
"name": "createSpringCurve",
|
|
@@ -139,25 +151,31 @@ Creates a spring-based easing curve with physics parameters.
|
|
|
139
151
|
```
|
|
140
152
|
|
|
141
153
|
### `createBounceCurve`
|
|
154
|
+
|
|
142
155
|
Creates a bouncing easing curve.
|
|
143
156
|
|
|
144
157
|
**Parameters:**
|
|
158
|
+
|
|
145
159
|
- `bounces` (1-10): Number of bounces
|
|
146
160
|
- `damping` (0-100): Bounce damping
|
|
147
161
|
- `accuracy` (`LOW`, `MEDIUM`, `HIGH`, `ULTRA`): Calculation precision
|
|
148
162
|
|
|
149
163
|
### `createWiggleCurve`
|
|
164
|
+
|
|
150
165
|
Creates an oscillating wiggle curve.
|
|
151
166
|
|
|
152
167
|
**Parameters:**
|
|
168
|
+
|
|
153
169
|
- `wiggles` (1-10): Number of oscillations
|
|
154
170
|
- `damping` (0-100): Oscillation damping
|
|
155
171
|
- `accuracy` (`LOW`, `MEDIUM`, `HIGH`, `ULTRA`): Calculation precision
|
|
156
172
|
|
|
157
173
|
### `createOvershootCurve`
|
|
174
|
+
|
|
158
175
|
Creates an overshoot easing curve.
|
|
159
176
|
|
|
160
177
|
**Parameters:**
|
|
178
|
+
|
|
161
179
|
- `style` (`IN`, `OUT`, `IN_OUT`): Animation style
|
|
162
180
|
- `mass` (1-5): Mass parameter
|
|
163
181
|
- `damping` (0-100): Damping force
|
|
@@ -199,7 +217,7 @@ pnpm inspect
|
|
|
199
217
|
The server provides detailed error messages for:
|
|
200
218
|
|
|
201
219
|
- Invalid parameter ranges or types
|
|
202
|
-
- Malformed curve configurations
|
|
220
|
+
- Malformed curve configurations
|
|
203
221
|
- MCP protocol errors
|
|
204
222
|
- Internal processing failures
|
|
205
223
|
|
|
@@ -212,4 +230,4 @@ MIT License - see [LICENSE](LICENSE) file for details.
|
|
|
212
230
|
- **Website**: [Easing Wizard](https://easingwizard.com)
|
|
213
231
|
- **Repository**: [GitHub](https://github.com/roydigerhund/easingwizard)
|
|
214
232
|
- **Issues**: [Report bugs](https://github.com/roydigerhund/easingwizard/issues)
|
|
215
|
-
- **MCP Protocol**: [Model Context Protocol](https://modelcontextprotocol.io)
|
|
233
|
+
- **MCP Protocol**: [Model Context Protocol](https://modelcontextprotocol.io)
|