Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

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

+20 this week 62 Trust /100
Trust breakdown (6 categories)

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
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.

Install

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

# add to Claude Code
claude mcp add aimsise-color-engine-mcp -- npx -y color-engine-mcp
# add to Codex CLI
codex mcp add aimsise-color-engine-mcp -- npx -y color-engine-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "aimsise-color-engine-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "color-engine-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add aimsise-color-engine-mcp --command npx --arg -y --arg color-engine-mcp
# ~/.hermes/config.yaml
mcp_servers:
  aimsise-color-engine-mcp:
    command: "npx"
    args: ["-y", "color-engine-mcp"]
// mcp.json
{
  "mcpServers": {
    "aimsise-color-engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "color-engine-mcp"
      ]
    }
  }
}
Changelog

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.

Diagnostics

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.

MCP tools — 6 exposed · ~1,331 tokens

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.

Tool Tokens
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`.

NameTypeReqDescription
astringyesFirst CSS color string, e.g. "#000000", "black", "oklch(0 0 0)" (max 256 chars)
apcabooleanWhen true, additionally compute the APCA-W3 (SAPC-4g) lightness contrast Lc for text `a` over background `b` (returned as `apcaLc`)
bstringyesSecond CSS color string, e.g. "#ffffff", "white", "oklch(1 0 0)" (max 256 chars)
NameTypeReqDescription
aaLargebooleanyesMeets WCAG 2.1 AA for large text (raw ratio >= 3)
aaNormalbooleanyesMeets WCAG 2.1 AA for normal text (raw ratio >= 4.5)
aaaLargebooleanyesMeets WCAG 2.1 AAA for large text (raw ratio >= 4.5)
aaaNormalbooleanyesMeets WCAG 2.1 AAA for normal text (raw ratio >= 7)
apcaLcnumberSigned 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
rationumberyes2-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.

NameTypeReqDescription
inputstringyesCSS color string to convert, e.g. "#ff0000", "tomato" (max 256 chars)
tostringyesTarget color format to convert the input into
NameTypeReqDescription
resultstringyesThe 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.

NameTypeReqDescription
inputstringyesAny CSS color string, e.g. "#ff0000", "oklch(0.6 0.4 30)" (max 256 chars)
NameTypeReqDescription
clampedbooleanyestrue when input was out-of-sRGB-gamut and was mapped
hexstringyesLowercase #rrggbb of the gamut-mapped (in-sRGB) color
oklchobjectyesRaw (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).

NameTypeReqDescription
basestringyesAny CSS color string, e.g. "#3b82f6", "oklch(0.6 0.35 30)" (max 256 chars)
deltaLnumberTotal lightness span (> 0) centered on the base L — endpoints at base L ± deltaL/2 (overrides the fixed range).
lightnessMaxnumberUpper lightness endpoint (OKLCH L, 0..1). Default 0.97.
lightnessMinnumberLower lightness endpoint (OKLCH L, 0..1). Default 0.05.
stepsintegerNumber of swatches (integer 2..512). Default 5.
tokenFormatstringOptional design-token format for the ramp ("tailwind" JSON object or a "css-variables" :root block); when present the output includes a `tokens` string.
tokenNamestringBase name for emitted tokens (letters/digits/hyphens, must start with a letter, 1-64 chars). Default "color".
NameTypeReqDescription
swatchesarrayyes
tokensstringDesign-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.

NameTypeReqDescription
inputstringyesCSS color string, e.g. "tomato", "#ff6347", "oklch(0.6 0.18 27)" (max 256 chars)
NameTypeReqDescription
hexstringyesLowercase #rrggbb sRGB-clamped hex of the parsed color
inGamutbooleanyesfalse when the input fell outside the sRGB gamut
oklchobjectyesRaw (lossless) OKLCH components of the parsed color
rgbobjectyessRGB-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.

NameTypeReqDescription
backgroundstringyesBackground CSS color string, e.g. "#FFFFFF", "oklch(0.6 0.1 240)" (max 256 chars).
chromanumberFixed 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…
huenumberFixed 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…
preferstringSearch direction relative to the background lightness. Default "either".
targetnumberSingle WCAG 2.1 contrast target (e.g. 4.5, 7). Use this OR `targets` (targets wins if both given).
targetsarrayMultiple WCAG 2.1 contrast targets (1-50 entries; an empty array is rejected). Takes precedence over `target`. Returns one result per target.
NameTypeReqDescription
colorSINGLE-target: nearest-compliant foreground hex, or null when unreachable
metbooleanSINGLE-target: whether the target contrast was achievable
nearMissbooleanSINGLE-target: present/true when met was granted via the near-ceiling tolerance
ratioSINGLE-target: achieved WCAG 2.1 ratio (display-rounded), or peak attainable when not met
resultsarrayMULTI-target: one result per requested target (present only for the `targets` path)

No examples provided.