@trishchuk/coolors-mcp 1.0.0 → 1.0.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/.claude/settings.local.json +2 -6
- package/.github/ISSUE_TEMPLATE/bug_report.md +20 -8
- package/.github/ISSUE_TEMPLATE/feature_request.md +22 -8
- package/.github/pull_request_template.md +33 -8
- package/.github/workflows/ci.yml +97 -97
- package/.github/workflows/deploy-docs.yml +9 -9
- package/.github/workflows/release.yml +15 -15
- package/README.md +26 -1
- package/TOOLS_UK.md +233 -0
- package/docs/.vitepress/cache/deps/@braintree_sanitize-url.js +30 -12
- package/docs/.vitepress/cache/deps/_metadata.json +1 -1
- package/docs/.vitepress/cache/deps/chunk-BUSYA2B4.js +9 -6
- package/docs/.vitepress/cache/deps/chunk-JD3CXNQ6.js +2543 -1612
- package/docs/.vitepress/cache/deps/chunk-SYPOPCWC.js +3508 -2529
- package/docs/.vitepress/cache/deps/cytoscape-cose-bilkent.js +1902 -1003
- package/docs/.vitepress/cache/deps/cytoscape.js +13303 -7347
- package/docs/.vitepress/cache/deps/dayjs.js +494 -272
- package/docs/.vitepress/cache/deps/debug.js +82 -38
- package/docs/.vitepress/cache/deps/prismjs.js +444 -272
- package/docs/.vitepress/cache/deps/prismjs_components_prism-bash.js +80 -73
- package/docs/.vitepress/cache/deps/prismjs_components_prism-javascript.js +93 -62
- package/docs/.vitepress/cache/deps/prismjs_components_prism-json.js +13 -13
- package/docs/.vitepress/cache/deps/prismjs_components_prism-python.js +34 -27
- package/docs/.vitepress/cache/deps/prismjs_components_prism-typescript.js +20 -17
- package/docs/.vitepress/cache/deps/prismjs_components_prism-yaml.js +75 -41
- package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +2005 -1438
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +2 -2
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js +566 -229
- package/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js +382 -270
- package/docs/.vitepress/cache/deps/vitepress___minisearch.js +334 -125
- package/docs/.vitepress/cache/deps/vue.js +2 -2
- package/docs/.vitepress/components/ClientGrid.vue +9 -3
- package/docs/.vitepress/components/CodeBlock.vue +51 -44
- package/docs/.vitepress/components/ConfigModal.vue +151 -67
- package/docs/.vitepress/components/DiagramModal.vue +186 -154
- package/docs/.vitepress/components/TroubleshootingModal.vue +101 -96
- package/docs/.vitepress/config.js +171 -141
- package/docs/.vitepress/theme/FundingLayout.vue +65 -54
- package/docs/.vitepress/theme/Layout.vue +21 -21
- package/docs/.vitepress/theme/components/AdBanner.vue +73 -52
- package/docs/.vitepress/theme/components/AdPlaceholder.vue +3 -3
- package/docs/.vitepress/theme/components/FundingEffects.vue +77 -53
- package/docs/.vitepress/theme/components/FundingHero.vue +78 -63
- package/docs/.vitepress/theme/components/SupportSection.vue +106 -89
- package/docs/.vitepress/theme/custom-app.css +19 -12
- package/docs/.vitepress/theme/custom.css +33 -25
- package/docs/.vitepress/theme/index.js +19 -16
- package/docs/concepts/accessibility.md +59 -47
- package/docs/concepts/color-spaces.md +28 -6
- package/docs/concepts/distance-metrics.md +45 -30
- package/docs/concepts/hct.md +30 -27
- package/docs/concepts/image-analysis.md +52 -21
- package/docs/concepts/material-design.md +43 -17
- package/docs/concepts/theme-matching.md +64 -40
- package/docs/examples/basic-colors.md +92 -108
- package/docs/examples/creating-themes.md +104 -108
- package/docs/examples/css-refactoring.md +33 -29
- package/docs/examples/image-extraction.md +145 -138
- package/docs/getting-started.md +45 -34
- package/docs/index.md +5 -1
- package/docs/installation.md +15 -1
- package/docs/tools/accessibility.md +74 -68
- package/docs/tools/image-extraction.md +62 -54
- package/docs/tools/theme-matching.md +45 -42
- package/note.md +1 -2
- package/package.json +2 -2
package/docs/getting-started.md
CHANGED
|
@@ -7,12 +7,15 @@ Get up and running with Coolors MCP in minutes. This guide covers installation,
|
|
|
7
7
|
### 1. Install Coolors MCP
|
|
8
8
|
|
|
9
9
|
#### For Claude Code
|
|
10
|
+
|
|
10
11
|
```bash
|
|
11
12
|
claude mcp add coolors -- npx -y @trishchuk/coolors-mcp
|
|
12
13
|
```
|
|
13
14
|
|
|
14
15
|
#### For Claude Desktop
|
|
16
|
+
|
|
15
17
|
Add to your configuration:
|
|
18
|
+
|
|
16
19
|
```json
|
|
17
20
|
{
|
|
18
21
|
"mcpServers": {
|
|
@@ -27,6 +30,7 @@ Add to your configuration:
|
|
|
27
30
|
### 2. Verify Installation
|
|
28
31
|
|
|
29
32
|
Check that Coolors MCP is available:
|
|
33
|
+
|
|
30
34
|
```
|
|
31
35
|
/mcp
|
|
32
36
|
```
|
|
@@ -36,6 +40,7 @@ You should see `coolors` in the list of available servers.
|
|
|
36
40
|
### 3. Your First Color Operation
|
|
37
41
|
|
|
38
42
|
Try a simple color conversion:
|
|
43
|
+
|
|
39
44
|
```
|
|
40
45
|
Convert #6366f1 to HSL format
|
|
41
46
|
```
|
|
@@ -50,19 +55,19 @@ Convert between any supported format:
|
|
|
50
55
|
|
|
51
56
|
```javascript
|
|
52
57
|
// Hex to RGB
|
|
53
|
-
"Convert #6366f1 to RGB"
|
|
58
|
+
"Convert #6366f1 to RGB";
|
|
54
59
|
// Result: rgb(99, 102, 241)
|
|
55
60
|
|
|
56
61
|
// RGB to HSL
|
|
57
|
-
"Convert rgb(99, 102, 241) to HSL"
|
|
62
|
+
"Convert rgb(99, 102, 241) to HSL";
|
|
58
63
|
// Result: hsl(239, 84%, 67%)
|
|
59
64
|
|
|
60
65
|
// HSL to LAB
|
|
61
|
-
"Convert hsl(239, 84%, 67%) to LAB"
|
|
66
|
+
"Convert hsl(239, 84%, 67%) to LAB";
|
|
62
67
|
// Result: lab(47.9, 35.2, -65.7)
|
|
63
68
|
|
|
64
69
|
// Any color to HCT
|
|
65
|
-
"Convert #6366f1 to HCT"
|
|
70
|
+
"Convert #6366f1 to HCT";
|
|
66
71
|
// Result: hct(265.8, 87.2, 47.9)
|
|
67
72
|
```
|
|
68
73
|
|
|
@@ -71,11 +76,11 @@ Convert between any supported format:
|
|
|
71
76
|
Calculate perceptual difference between colors:
|
|
72
77
|
|
|
73
78
|
```javascript
|
|
74
|
-
"What's the perceptual distance between #6366f1 and #5355d1?"
|
|
79
|
+
"What's the perceptual distance between #6366f1 and #5355d1?";
|
|
75
80
|
// Uses Delta E 2000 algorithm
|
|
76
81
|
// Result: 5.2 (very similar colors)
|
|
77
82
|
|
|
78
|
-
"Compare #ff0000 and #00ff00 using Delta E"
|
|
83
|
+
"Compare #ff0000 and #00ff00 using Delta E";
|
|
79
84
|
// Result: 86.6 (very different colors)
|
|
80
85
|
```
|
|
81
86
|
|
|
@@ -84,13 +89,13 @@ Calculate perceptual difference between colors:
|
|
|
84
89
|
Verify accessibility compliance:
|
|
85
90
|
|
|
86
91
|
```javascript
|
|
87
|
-
"Check contrast between #1f2937 and #ffffff"
|
|
92
|
+
"Check contrast between #1f2937 and #ffffff";
|
|
88
93
|
// Result: 15.74:1 - Passes AAA for all text sizes
|
|
89
94
|
|
|
90
|
-
"Is #6366f1 accessible on white background?"
|
|
95
|
+
"Is #6366f1 accessible on white background?";
|
|
91
96
|
// Result: 3.03:1 - Passes AA for large text only
|
|
92
97
|
|
|
93
|
-
"What text color works on #6366f1 background?"
|
|
98
|
+
"What text color works on #6366f1 background?";
|
|
94
99
|
// Result: #ffffff (white) provides 4.6:1 contrast
|
|
95
100
|
```
|
|
96
101
|
|
|
@@ -101,13 +106,13 @@ Verify accessibility compliance:
|
|
|
101
106
|
Generate harmonious color sets:
|
|
102
107
|
|
|
103
108
|
```javascript
|
|
104
|
-
"Create a monochromatic palette from #6366f1"
|
|
109
|
+
"Create a monochromatic palette from #6366f1";
|
|
105
110
|
// Result: 5 shades of the same hue
|
|
106
111
|
|
|
107
|
-
"Generate complementary colors for #6366f1"
|
|
112
|
+
"Generate complementary colors for #6366f1";
|
|
108
113
|
// Result: #6366f1 and its opposite
|
|
109
114
|
|
|
110
|
-
"Create a triadic color scheme from #6366f1"
|
|
115
|
+
"Create a triadic color scheme from #6366f1";
|
|
111
116
|
// Result: 3 colors 120° apart
|
|
112
117
|
```
|
|
113
118
|
|
|
@@ -116,7 +121,7 @@ Generate harmonious color sets:
|
|
|
116
121
|
Generate complete Material Design 3 themes:
|
|
117
122
|
|
|
118
123
|
```javascript
|
|
119
|
-
"Create a Material Design theme from #6366f1"
|
|
124
|
+
"Create a Material Design theme from #6366f1";
|
|
120
125
|
// Generates:
|
|
121
126
|
// - Primary, secondary, tertiary palettes
|
|
122
127
|
// - Surface and background colors
|
|
@@ -129,10 +134,10 @@ Generate complete Material Design 3 themes:
|
|
|
129
134
|
Create smooth color transitions:
|
|
130
135
|
|
|
131
136
|
```javascript
|
|
132
|
-
"Create a gradient from #6366f1 to #ec4899 with 10 steps"
|
|
137
|
+
"Create a gradient from #6366f1 to #ec4899 with 10 steps";
|
|
133
138
|
// Result: 10 colors smoothly transitioning
|
|
134
139
|
|
|
135
|
-
"Generate a gradient using LAB interpolation"
|
|
140
|
+
"Generate a gradient using LAB interpolation";
|
|
136
141
|
// Result: Perceptually smooth gradient
|
|
137
142
|
```
|
|
138
143
|
|
|
@@ -143,7 +148,7 @@ Create smooth color transitions:
|
|
|
143
148
|
Match colors to existing CSS variables:
|
|
144
149
|
|
|
145
150
|
```javascript
|
|
146
|
-
"Find the closest theme variable for #6365f0 in my CSS"
|
|
151
|
+
"Find the closest theme variable for #6365f0 in my CSS";
|
|
147
152
|
// Analyzes your theme CSS and finds best match
|
|
148
153
|
// Result: --color-primary-500 (99% confidence)
|
|
149
154
|
```
|
|
@@ -173,7 +178,7 @@ Automatically replace hardcoded colors:
|
|
|
173
178
|
Get dominant colors from images:
|
|
174
179
|
|
|
175
180
|
```javascript
|
|
176
|
-
"Extract the main colors from this image"
|
|
181
|
+
"Extract the main colors from this image";
|
|
177
182
|
// Analyzes image and returns:
|
|
178
183
|
// - Top 5 dominant colors
|
|
179
184
|
// - Population percentages
|
|
@@ -185,7 +190,7 @@ Get dominant colors from images:
|
|
|
185
190
|
Create a complete theme from an image:
|
|
186
191
|
|
|
187
192
|
```javascript
|
|
188
|
-
"Create a Material Design theme from this album cover"
|
|
193
|
+
"Create a Material Design theme from this album cover";
|
|
189
194
|
// Extracts colors and generates:
|
|
190
195
|
// - Source color selection
|
|
191
196
|
// - Complete color scheme
|
|
@@ -200,16 +205,16 @@ Start with a brand color and expand:
|
|
|
200
205
|
|
|
201
206
|
```javascript
|
|
202
207
|
// Step 1: Define primary color
|
|
203
|
-
"My brand color is #6366f1"
|
|
208
|
+
"My brand color is #6366f1";
|
|
204
209
|
|
|
205
210
|
// Step 2: Generate palette
|
|
206
|
-
"Create a complete color system from this"
|
|
211
|
+
"Create a complete color system from this";
|
|
207
212
|
|
|
208
213
|
// Step 3: Check accessibility
|
|
209
|
-
"Verify all color combinations meet WCAG AA"
|
|
214
|
+
"Verify all color combinations meet WCAG AA";
|
|
210
215
|
|
|
211
216
|
// Step 4: Export as CSS
|
|
212
|
-
"Generate CSS custom properties for this theme"
|
|
217
|
+
"Generate CSS custom properties for this theme";
|
|
213
218
|
```
|
|
214
219
|
|
|
215
220
|
### 2. Migrating to Theme Variables
|
|
@@ -218,16 +223,16 @@ Convert existing CSS to use variables:
|
|
|
218
223
|
|
|
219
224
|
```javascript
|
|
220
225
|
// Step 1: Define your theme
|
|
221
|
-
"Here's my theme CSS: [paste theme]"
|
|
226
|
+
"Here's my theme CSS: [paste theme]";
|
|
222
227
|
|
|
223
228
|
// Step 2: Analyze existing styles
|
|
224
|
-
"Find all hardcoded colors in styles.css"
|
|
229
|
+
"Find all hardcoded colors in styles.css";
|
|
225
230
|
|
|
226
231
|
// Step 3: Refactor automatically
|
|
227
|
-
"Replace hardcoded colors with theme variables"
|
|
232
|
+
"Replace hardcoded colors with theme variables";
|
|
228
233
|
|
|
229
234
|
// Step 4: Review changes
|
|
230
|
-
"Show me colors that couldn't be matched"
|
|
235
|
+
"Show me colors that couldn't be matched";
|
|
231
236
|
```
|
|
232
237
|
|
|
233
238
|
### 3. Creating Accessible Designs
|
|
@@ -236,16 +241,16 @@ Ensure your colors meet standards:
|
|
|
236
241
|
|
|
237
242
|
```javascript
|
|
238
243
|
// Step 1: Test current colors
|
|
239
|
-
"Check contrast for my primary colors"
|
|
244
|
+
"Check contrast for my primary colors";
|
|
240
245
|
|
|
241
246
|
// Step 2: Fix issues
|
|
242
|
-
"Adjust colors to meet WCAG AA"
|
|
247
|
+
"Adjust colors to meet WCAG AA";
|
|
243
248
|
|
|
244
249
|
// Step 3: Generate alternatives
|
|
245
|
-
"Create high contrast version of theme"
|
|
250
|
+
"Create high contrast version of theme";
|
|
246
251
|
|
|
247
252
|
// Step 4: Validate
|
|
248
|
-
"Verify all combinations are accessible"
|
|
253
|
+
"Verify all combinations are accessible";
|
|
249
254
|
```
|
|
250
255
|
|
|
251
256
|
## Advanced Features
|
|
@@ -255,7 +260,7 @@ Ensure your colors meet standards:
|
|
|
255
260
|
Make multiple colors work together:
|
|
256
261
|
|
|
257
262
|
```javascript
|
|
258
|
-
"Harmonize these colors: #6366f1, #ec4899, #10b981"
|
|
263
|
+
"Harmonize these colors: #6366f1, #ec4899, #10b981";
|
|
259
264
|
// Adjusts colors to be more harmonious while maintaining identity
|
|
260
265
|
```
|
|
261
266
|
|
|
@@ -264,7 +269,7 @@ Make multiple colors work together:
|
|
|
264
269
|
Avoid universally disliked colors:
|
|
265
270
|
|
|
266
271
|
```javascript
|
|
267
|
-
"Is #6b7c3a a good color for UI?"
|
|
272
|
+
"Is #6b7c3a a good color for UI?";
|
|
268
273
|
// Detects "bile zone" colors and suggests alternatives
|
|
269
274
|
```
|
|
270
275
|
|
|
@@ -273,7 +278,7 @@ Avoid universally disliked colors:
|
|
|
273
278
|
Process multiple colors efficiently:
|
|
274
279
|
|
|
275
280
|
```javascript
|
|
276
|
-
"Match all these colors to my theme: [list of colors]"
|
|
281
|
+
"Match all these colors to my theme: [list of colors]";
|
|
277
282
|
// Processes all colors and returns best matches
|
|
278
283
|
```
|
|
279
284
|
|
|
@@ -325,12 +330,15 @@ Process multiple colors efficiently:
|
|
|
325
330
|
### Common Issues
|
|
326
331
|
|
|
327
332
|
#### "Tool not found"
|
|
333
|
+
|
|
328
334
|
Make sure Coolors MCP is properly installed and Claude has been restarted.
|
|
329
335
|
|
|
330
336
|
#### "Invalid color format"
|
|
337
|
+
|
|
331
338
|
Check that your color is in a supported format: hex (#RRGGBB), rgb(), hsl(), etc.
|
|
332
339
|
|
|
333
340
|
#### "No theme matches found"
|
|
341
|
+
|
|
334
342
|
Lower the confidence threshold or add more theme variables.
|
|
335
343
|
|
|
336
344
|
### Support
|
|
@@ -342,6 +350,7 @@ Lower the confidence threshold or add more theme variables.
|
|
|
342
350
|
## Quick Reference
|
|
343
351
|
|
|
344
352
|
### Supported Color Formats
|
|
353
|
+
|
|
345
354
|
- **Hex**: `#RRGGBB` or `#RGB`
|
|
346
355
|
- **RGB**: `rgb(r, g, b)` or `{r, g, b}`
|
|
347
356
|
- **HSL**: `hsl(h, s%, l%)` or `{h, s, l}`
|
|
@@ -349,6 +358,7 @@ Lower the confidence threshold or add more theme variables.
|
|
|
349
358
|
- **HCT**: `hct(h, c, t)` or `{h, c, t}`
|
|
350
359
|
|
|
351
360
|
### Common Tools
|
|
361
|
+
|
|
352
362
|
- `convert_color` - Format conversion
|
|
353
363
|
- `color_distance` - Perceptual difference
|
|
354
364
|
- `check_contrast` - WCAG compliance
|
|
@@ -359,8 +369,9 @@ Lower the confidence threshold or add more theme variables.
|
|
|
359
369
|
- `extract_image_colors` - Image analysis
|
|
360
370
|
|
|
361
371
|
### Contrast Requirements
|
|
372
|
+
|
|
362
373
|
- **Normal text**: 4.5:1 (AA), 7:1 (AAA)
|
|
363
374
|
- **Large text**: 3:1 (AA), 4.5:1 (AAA)
|
|
364
375
|
- **UI elements**: 3:1 (AA)
|
|
365
376
|
|
|
366
|
-
Ready to start? Try your first color operation above!
|
|
377
|
+
Ready to start? Try your first color operation above!
|
package/docs/index.md
CHANGED
|
@@ -134,24 +134,28 @@ Once installed, you can use natural language to work with colors:
|
|
|
134
134
|
</div>
|
|
135
135
|
|
|
136
136
|
### Color Operations
|
|
137
|
+
|
|
137
138
|
- Convert between hex, RGB, HSL, LAB, and HCT formats
|
|
138
139
|
- Calculate perceptual distance using Delta E 2000
|
|
139
140
|
- Generate color palettes (monochromatic, analogous, complementary, etc.)
|
|
140
141
|
- Create smooth gradients with multiple interpolation methods
|
|
141
142
|
|
|
142
143
|
### Material Design
|
|
144
|
+
|
|
143
145
|
- Generate complete Material Design 3 themes
|
|
144
146
|
- Create tonal palettes with standard Material tones
|
|
145
147
|
- Harmonize multiple colors to work together
|
|
146
148
|
- Fix universally disliked colors (dark yellow-greens)
|
|
147
149
|
|
|
148
150
|
### CSS Theme Matching
|
|
151
|
+
|
|
149
152
|
- Find closest theme variables for any color
|
|
150
153
|
- Automatically refactor CSS with theme variables
|
|
151
154
|
- Batch process multiple colors at once
|
|
152
155
|
- Confidence scoring for replacements
|
|
153
156
|
|
|
154
157
|
### Image Processing
|
|
158
|
+
|
|
155
159
|
- Extract dominant colors using Celebi quantization
|
|
156
160
|
- Generate themes from image colors
|
|
157
161
|
- Score colors for UI suitability
|
|
@@ -187,4 +191,4 @@ Once installed, you can use natural language to work with colors:
|
|
|
187
191
|
|
|
188
192
|
This project is licensed under the MIT License. See the [LICENSE](https://github.com/x51xxx/coolors-mcp/blob/main/LICENSE) file for details.
|
|
189
193
|
|
|
190
|
-
**Built with** ❤️ **using Google's Material Color Utilities algorithms**
|
|
194
|
+
**Built with** ❤️ **using Google's Material Color Utilities algorithms**
|
package/docs/installation.md
CHANGED
|
@@ -12,6 +12,7 @@ Multiple ways to install the Coolors MCP server, depending on your needs.
|
|
|
12
12
|
No installation needed - runs directly:
|
|
13
13
|
|
|
14
14
|
### Claude Desktop Configuration
|
|
15
|
+
|
|
15
16
|
```json
|
|
16
17
|
{
|
|
17
18
|
"mcpServers": {
|
|
@@ -24,6 +25,7 @@ No installation needed - runs directly:
|
|
|
24
25
|
```
|
|
25
26
|
|
|
26
27
|
### Claude Code Configuration
|
|
28
|
+
|
|
27
29
|
```bash
|
|
28
30
|
claude mcp add coolors --npm-package @trishchuk/coolors-mcp
|
|
29
31
|
```
|
|
@@ -31,11 +33,13 @@ claude mcp add coolors --npm-package @trishchuk/coolors-mcp
|
|
|
31
33
|
## Method 2: Global Installation
|
|
32
34
|
|
|
33
35
|
### Install globally
|
|
36
|
+
|
|
34
37
|
```bash
|
|
35
38
|
npm install -g @trishchuk/coolors-mcp
|
|
36
39
|
```
|
|
37
40
|
|
|
38
41
|
### Claude Desktop Configuration
|
|
42
|
+
|
|
39
43
|
```json
|
|
40
44
|
{
|
|
41
45
|
"mcpServers": {
|
|
@@ -47,6 +51,7 @@ npm install -g @trishchuk/coolors-mcp
|
|
|
47
51
|
```
|
|
48
52
|
|
|
49
53
|
### Claude Code Configuration
|
|
54
|
+
|
|
50
55
|
```bash
|
|
51
56
|
claude mcp add coolors --command coolors-mcp
|
|
52
57
|
```
|
|
@@ -71,6 +76,7 @@ node dist/bin/server.js
|
|
|
71
76
|
```
|
|
72
77
|
|
|
73
78
|
### Claude Desktop Configuration (Local)
|
|
79
|
+
|
|
74
80
|
```json
|
|
75
81
|
{
|
|
76
82
|
"mcpServers": {
|
|
@@ -103,6 +109,7 @@ Expected response: `"hsl(239, 84%, 67%)"`
|
|
|
103
109
|
Once installed, you'll have access to these tools:
|
|
104
110
|
|
|
105
111
|
### Color Operations
|
|
112
|
+
|
|
106
113
|
- `convert_color` - Convert between color formats
|
|
107
114
|
- `color_distance` - Calculate perceptual distance
|
|
108
115
|
- `check_contrast` - WCAG contrast checking
|
|
@@ -110,24 +117,28 @@ Once installed, you'll have access to these tools:
|
|
|
110
117
|
- `generate_gradient` - Create smooth gradients
|
|
111
118
|
|
|
112
119
|
### Material Design
|
|
120
|
+
|
|
113
121
|
- `generate_material_theme` - Full Material Design 3 theme
|
|
114
122
|
- `harmonize_colors` - Harmonize multiple colors
|
|
115
123
|
- `generate_tonal_palette` - Material tonal palette
|
|
116
124
|
- `analyze_color_likability` - Check for disliked colors
|
|
117
125
|
|
|
118
126
|
### CSS Theme Matching
|
|
127
|
+
|
|
119
128
|
- `match_theme_color` - Find closest theme variable
|
|
120
129
|
- `refactor_css_with_theme` - Automated CSS refactoring
|
|
121
130
|
- `match_theme_colors_batch` - Batch color matching
|
|
122
131
|
- `generate_theme_css` - Generate CSS custom properties
|
|
123
132
|
|
|
124
133
|
### Image Processing
|
|
134
|
+
|
|
125
135
|
- `extract_image_colors` - Extract dominant colors
|
|
126
136
|
- `generate_theme_from_image` - Create theme from image
|
|
127
137
|
|
|
128
138
|
## Troubleshooting
|
|
129
139
|
|
|
130
140
|
Common issues:
|
|
141
|
+
|
|
131
142
|
- **Node.js version**: Ensure you have Node.js ≥18.0.0 (`node --version`)
|
|
132
143
|
- **Permission errors**: Try running with appropriate permissions
|
|
133
144
|
- **MCP connection issues**: Restart your Claude client after configuration changes
|
|
@@ -140,18 +151,21 @@ For more help, see the [FAQ](resources/faq) or [Troubleshooting Guide](resources
|
|
|
140
151
|
Need help with installation or setup? Here's how to get assistance:
|
|
141
152
|
|
|
142
153
|
### 🤝 Get Help
|
|
154
|
+
|
|
143
155
|
- **GitHub Issues**: [Report bugs or request features](https://github.com/x51xxx/coolors-mcp/issues)
|
|
144
156
|
- **GitHub Discussions**: [Ask questions and share ideas](https://github.com/x51xxx/coolors-mcp/discussions)
|
|
145
157
|
- **Email**: [taras@trishchuk.com](mailto:taras@trishchuk.com) for direct support
|
|
146
158
|
|
|
147
159
|
### 📖 Documentation
|
|
160
|
+
|
|
148
161
|
- **[Getting Started Guide](getting-started)** - Complete setup and configuration
|
|
149
162
|
- **[Tools Reference](tools/README)** - Detailed tool documentation
|
|
150
163
|
- **[Examples](examples/basic-colors)** - Practical usage patterns
|
|
151
164
|
|
|
152
165
|
### 🚀 Contributing
|
|
166
|
+
|
|
153
167
|
Interested in contributing? Check out our [Contributing Guide](https://github.com/x51xxx/coolors-mcp/blob/main/CONTRIBUTING.md) or reach out directly!
|
|
154
168
|
|
|
155
169
|
---
|
|
156
170
|
|
|
157
|
-
**Developed by [Taras Trishchuk](https://github.com/x51xxx)** | Licensed under MIT
|
|
171
|
+
**Developed by [Taras Trishchuk](https://github.com/x51xxx)** | Licensed under MIT
|