JB

jsspace/bead-colors-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

107 stars 0 forks 质量 79 趋势 49MIT

一个本地的MCP服务器,用于工艺色图和相近的屏幕-颜色相配.

概览

一个本地的MCP服务器,用于工艺色图和相近的屏幕-颜色相配. 它将现有的@meltbead/bead-colors 引信珠的参考文献与由Meltbead直接授权分发的8个当地捆绑的调色板结合起来。 安装后不需要账户或网络请求. 服务器使用stdio:一个MCP客户端发射后通过stdin/stdout进行通信. 在终端开始会显得闲置,直到客户端连接. 将此配置添加到 MCP 客户端 : npm上的包: @meltbead/bead-colors-mcp. 该服务曝光了19个调色板:11个已存在的引信珠形调色板外加美由克·德利卡,DMC花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹花纹 搜索和跨盘比对默认使用代表性调色板;子集调色板和生成的调色板仍由ID访问. 匹配排除效果完成, 除非包含效果属实 .

概述(AI 翻译)

一个本地的MCP服务器,用于工艺色图和相近的屏幕-颜色相配. 它将现有的@meltbead/bead-colors引信活珠参考物与由Meltbead直接授权分发的8个当地捆绑的调色板结合起来. 安装后不需要账户或网络请求.

□ 要求

节点.js 20或更新.

□ 从 npm 安装

服务器使用stdio:一个MCP客户端发射后通过stdin/stdout进行通信. 在终端开始会显得闲置,直到客户端连接. 将此配置添加到 MCP 客户端 :

npm上的包: @meltbead/bead-colors-mcp.

□ 工具

  • 工具 * 目的 * | – – – – – – – list_palettes 列出调色板标识、材料、计数、数据来源、许可证、状况和来源。 QQ list_mard_kits QQ 列出MAD零售框大小及其包含的代码;可选择按框大小过滤. | QQ [ [T3]] 以调色板 ID 和 代码 查找颜色 。 QQ search_colors QQ搜索代码,名称,HEX,品牌,或系列;结果有限. | QQ nearest_colors 由 CIEDE2000 (XQE00) 在一个调色板中查找最接近的屏幕引用. QQ match_across_palettes 在每个请求的调色板中查找一个大致匹配 。 QQ

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Craft Colors MCP

A local MCP server for craft color charts and approximate screen-color matching. It combines the existing @meltbead/bead-colors fuse bead references with eight locally bundled palettes distributed by Meltbead under direct authorization. No account or network request is needed after installation.

Requirements

Node.js 20 or newer.

Install from npm

npx -y @meltbead/bead-colors-mcp

The server uses stdio: an MCP client launches it and communicates through stdin/stdout. Starting it in a terminal will appear idle until a client connects. Add this configuration to an MCP client:

{
  "mcpServers": {
    "bead-colors": {
      "command": "npx",
      "args": ["-y", "@meltbead/bead-colors-mcp"]
    }
  }
}

Package: @meltbead/bead-colors-mcp on npm.

Tools

Tool Purpose
list_palettes List palette IDs, materials, counts, data origins, licenses, status, and sources.
list_mard_kits List MARD retail-box sizes and their included codes; optionally filter by box size.
get_color Find a color by palette ID and code.
search_colors Search codes, names, HEX, brand, or series; results are limited.
nearest_colors Find the closest screen references in one palette by CIEDE2000 (ΔE00).
match_across_palettes Find one approximate match in each requested palette.

The service exposes 19 palettes: 11 existing fuse bead palettes plus Miyuki Delica, DMC floss, DMC-coded diamond drills, Red Heart yarn, LEGO, Minecraft blocks, Minecraft map colors, and a generated pixel-art palette. Search and cross-palette matching use representative palettes by default; subset palettes and the generated palette remain accessible by ID. Matching excludes effect finishes unless includeEffects is true. Discontinued Delica colors and unbuildable Minecraft map colors are excluded from automatic matches but remain available by code. Transparent entries without one RGB value cannot be matched.

The eight bundled palettes are available as JSON in data/palettes/ and CSV in data/csv/. MARD retail-box membership is also available as data/csv/mard-kits.csv. CSV rows include Meltbead attribution, source URL, license, and status. Run npm run build:csv after editing JSON, then npm run check:csv to verify the exports.

The matching score is CIEDE2000 (deltaE), calculated from each palette’s sRGB screen reference. Smaller scores mean closer screen colors. They are not physical measurements or guarantees of material equivalence. get_color accepts case-insensitive codes and common separators; Delica codes also accept shorthand such as DB10, DB-010, and 10 for DB0010.

在 GitHub 查看完整 README

安装

npx -y @meltbead/bead-colors-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "bead-colors": { "command": "npx", "args": ["-y", "@meltbead/bead-colors-mcp"] } } }