io.github.aimsise/color-engine-mcp
NPM · COLOR-ENGINE-MCP · SCANNED AUG 3
Six pure, in-memory CSS color tools: parse, convert, WCAG/APCA contrast, gamut map, ramps, solver
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security83
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known medium-severity CVE affects @hono/node-server 1.19.17, reached via @modelcontextprotocol/sdk > @hono/node-server. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 53 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability65
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 1601 tokens (~266/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · color-engine-mcp
claude mcp add aimsise-color-engine-mcp -- npx -y color-engine-mcp
codex mcp add aimsise-color-engine-mcp -- npx -y color-engine-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"aimsise-color-engine-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"color-engine-mcp"
],
"enabled": true
}
}
} openclaw mcp add aimsise-color-engine-mcp --command npx --arg -y --arg color-engine-mcp
mcp_servers:
aimsise-color-engine-mcp:
command: "npx"
args: ["-y", "color-engine-mcp"] {
"mcpServers": {
"aimsise-color-engine-mcp": {
"command": "npx",
"args": [
"-y",
"color-engine-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 2 Aug 26 +57
- GHSA-frvp-7c67-39w9 affects this package: medium ▼ security
- Provenance: unverified → fail ▼ security
- Known CVEs: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Malware scan: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Schema quality: unverified → excellent ▲ functional
- Tool coverage: unverified → 100 ▲ functional
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Licence: MIT functional
- 1 Aug 26 −13
- Tool coverage: 100 → unverified ▼ functional
- 31 Jul 26 −24
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 +18
- Tool coverage: unverified → 100 ▲ functional
- 28 Jul 26 −18
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- 27 Jul 26 42
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Vulnerabilities 1 finding
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-frvp-7c67-39w9 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | yes |
Dependencies 95 packages
95 packages in the resolved dependency tree · 95 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
contrast ~186
Compute the WCAG 2.1 contrast ratio between two fully opaque CSS color strings and return WCAG tier flags (AA/AAA normal/large text). Set apca:true to also get the signed APCA-W3 Lc for text `a` over background `b`.
| Name | Type | Req | Description |
|---|---|---|---|
| a | string | yes | First CSS color string, e.g. "#000000", "black", "oklch(0 0 0)" (max 256 chars) |
| apca | boolean | — | When true, additionally compute the APCA-W3 (SAPC-4g) lightness contrast Lc for text `a` over background `b` (returned as `apcaLc`) |
| b | string | yes | Second CSS color string, e.g. "#ffffff", "white", "oklch(1 0 0)" (max 256 chars) |
| Name | Type | Req | Description |
|---|---|---|---|
| aaLarge | boolean | yes | Meets WCAG 2.1 AA for large text (raw ratio >= 3) |
| aaNormal | boolean | yes | Meets WCAG 2.1 AA for normal text (raw ratio >= 4.5) |
| aaaLarge | boolean | yes | Meets WCAG 2.1 AAA for large text (raw ratio >= 4.5) |
| aaaNormal | boolean | yes | Meets WCAG 2.1 AAA for normal text (raw ratio >= 7) |
| apcaLc | number | — | Signed APCA-W3 (SAPC-4g) Lc for text `a` over background `b`, rounded to 2 decimals (positive = dark-on-light, negative = light-on-dark); present only when input `apca` is true |
| ratio | number | yes | 2-decimal display value; tier flags derive from the unrounded raw ratio |
No examples provided.
convert_color ~75
Convert a CSS color string into a canonical hex, rgb, hsl, or oklch format string.
| Name | Type | Req | Description |
|---|---|---|---|
| input | string | yes | CSS color string to convert, e.g. "#ff0000", "tomato" (max 256 chars) |
| to | string | yes | Target color format to convert the input into |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | The input color formatted in the requested target format (oklch is raw/lossless; hex/rgb/hsl are sRGB-clamped for out-of-gamut inputs) |
No examples provided.
gamut_map ~99
Map any CSS color string into the sRGB gamut via perceptual OKLCH chroma reduction. Returns the nearest in-gamut hex, raw OKLCH components, and a `clamped` flag indicating whether the input was out-of-gamut.
| Name | Type | Req | Description |
|---|---|---|---|
| input | string | yes | Any CSS color string, e.g. "#ff0000", "oklch(0.6 0.4 30)" (max 256 chars) |
| Name | Type | Req | Description |
|---|---|---|---|
| clamped | boolean | yes | true when input was out-of-sRGB-gamut and was mapped |
| hex | string | yes | Lowercase #rrggbb of the gamut-mapped (in-sRGB) color |
| oklch | object | yes | Raw (pre-rounding) OKLCH components of the mapped result |
No examples provided.
generate_ramp ~347
Generate a tint-to-shade color ramp from a base CSS color. Returns an ordered list of swatches (light → dark) each with its in-gamut hex, display-rounded OKLCH components (l/c 5dp, h 2dp), WCAG contrast ratios (2dp) + tiers vs white and black, and an in-gamut flag. Optionally emits the ramp as design tokens via tokenFormat ("tailwind" JSON or a "css-variables" :root block).
| Name | Type | Req | Description |
|---|---|---|---|
| base | string | yes | Any CSS color string, e.g. "#3b82f6", "oklch(0.6 0.35 30)" (max 256 chars) |
| deltaL | number | — | Total lightness span (> 0) centered on the base L — endpoints at base L ± deltaL/2 (overrides the fixed range). |
| lightnessMax | number | — | Upper lightness endpoint (OKLCH L, 0..1). Default 0.97. |
| lightnessMin | number | — | Lower lightness endpoint (OKLCH L, 0..1). Default 0.05. |
| steps | integer | — | Number of swatches (integer 2..512). Default 5. |
| tokenFormat | string | — | Optional design-token format for the ramp ("tailwind" JSON object or a "css-variables" :root block); when present the output includes a `tokens` string. |
| tokenName | string | — | Base name for emitted tokens (letters/digits/hyphens, must start with a letter, 1-64 chars). Default "color". |
| Name | Type | Req | Description |
|---|---|---|---|
| swatches | array | yes | — |
| tokens | string | — | Design-token string for the ramp (pretty-printed Tailwind JSON or a :root CSS-variables block); present only when tokenFormat was supplied |
No examples provided.
parse_color ~70
Parse a CSS color string and return hex, rgb, oklch, and gamut info.
| Name | Type | Req | Description |
|---|---|---|---|
| input | string | yes | CSS color string, e.g. "tomato", "#ff6347", "oklch(0.6 0.18 27)" (max 256 chars) |
| Name | Type | Req | Description |
|---|---|---|---|
| hex | string | yes | Lowercase #rrggbb sRGB-clamped hex of the parsed color |
| inGamut | boolean | yes | false when the input fell outside the sRGB gamut |
| oklch | object | yes | Raw (lossless) OKLCH components of the parsed color |
| rgb | object | yes | sRGB-clamped 0-255 integer channels; see inGamut |
No examples provided.
solve_for_contrast ~554
Find a foreground color that meets one or more WCAG 2.1 contrast targets against a background. Binary-searches OKLCH lightness (holding hue/chroma fixed) and returns the nearest-compliant hex plus the achieved ratio. Pass `target` for one target or `targets` for several; `prefer` selects lighter/darker/either; `hue`/`chroma` pin the foreground chromaticity. If BOTH `target` and `targets` are provided, `targets` takes precedence. The response shape differs by mode: a single `target` returns `{ met, color, ratio }` (with an optional `nearMiss` flag); `targets` returns `{ results: [{ met, color, ratio, nearMiss? }, ...] }`. The output schema is an all-optional superset of both shapes (SDK 1.29 single-shape limitation). An unparseable background returns the PARSE_FAILED error; a translucent background (alpha < 1, e.g. rgba()/hsla()/#rgba/#rrggbbaa) returns ALPHA_UNSUPPORTED — composite it over its backdrop first.
| Name | Type | Req | Description |
|---|---|---|---|
| background | string | yes | Background CSS color string, e.g. "#FFFFFF", "oklch(0.6 0.1 240)" (max 256 chars). |
| chroma | number | — | Fixed OKLCH chroma (>= 0) held constant during the lightness search (reduced along the fixed hue when the sRGB gamut requires it). Defaults to the background's own chroma when omitted; pass chroma ex… |
| hue | number | — | Fixed OKLCH hue (degrees, cyclic) held constant during the lightness search. Giving hue WITHOUT chroma does not add saturation: chroma then defaults to the background's own chroma, which is 0 for ach… |
| prefer | string | — | Search direction relative to the background lightness. Default "either". |
| target | number | — | Single WCAG 2.1 contrast target (e.g. 4.5, 7). Use this OR `targets` (targets wins if both given). |
| targets | array | — | Multiple WCAG 2.1 contrast targets (1-50 entries; an empty array is rejected). Takes precedence over `target`. Returns one result per target. |
| Name | Type | Req | Description |
|---|---|---|---|
| color | — | — | SINGLE-target: nearest-compliant foreground hex, or null when unreachable |
| met | boolean | — | SINGLE-target: whether the target contrast was achievable |
| nearMiss | boolean | — | SINGLE-target: present/true when met was granted via the near-ceiling tolerance |
| ratio | — | — | SINGLE-target: achieved WCAG 2.1 ratio (display-rounded), or peak attainable when not met |
| results | array | — | MULTI-target: one result per requested target (present only for the `targets` path) |
No examples provided.