JB

jsspace/bead-colors-mcp

Developer tools

このページは 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の既存のヒューズのビードパレットとMiyuki Delica、DMCの光沢、DMCコード化されたダイヤモンドのドリル、赤い中心ヤーン、レゴ、Minecraftのブロック、Minecraftの地図色および生成されたピクセル アートパレット。 デフォルトでは、代表者パレットの検索とクロスパレットマッチングが使用されます。サブセットパレットと生成パレットはIDでアクセス可能です。 マッチは、includeEffectsがtrueでない限り、エフェクトのフィニッシングを除外します.

概要(AI 翻訳)

クラフトカラーチャートと近似画面カラーマッチングのためのローカルMCPサーバー。 既存の[@meltbead/bead-colorsを組み合わせて、直接認証の下でMeltbeadによって配布された8つのローカルバンドルパレットでビーズの参照をヒューズします。 インストール後にアカウントやネットワークのリクエストは必要ありません。

要件

Node.js 20 以降

npmからインストールする

サーバは stdio: MCP クライアントが起動し、stdin/stdout を介して通信します。 ターミナルで起動すると、クライアントが接続するまでアイドルが表示されます。 MCP クライアントにこの設定を追加します。

パッケージ:npmの@meltbead/bead-colors-mcp。

ツール

| ツール | 目的 | | お問い合わせ | | [list_palettes | パレットID、素材、個数、データソース、ライセンス、ステータス、ソースの一覧 | | [list_mard_kits | リストマード・リテールボックスサイズとその付属コード、オプションでボックスサイズでフィルタリングします。 お問い合わせ | [get_color | パレットID・コードでカラーを探す | | [[search_colors | 検索コード、名称、HEX、ブランド、シリーズ、結果は限られます。 お問い合わせ | [nearest_colors | CIEDE2000(ΔE00)のパレットで一番近い画面参照を見つけてください。 | | [match_across_palettes | ご希望のパレットに1つのおおよそのマッチを見つけてください |

このページは 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
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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