Chromium Style QR Code Generator

io.github.chromium-style-qrcode由 GitHub 账号 chromium-style-qrcode 发布v1.0.2更新于 Oct 27, 2026

MCP server for generating Chromium-style QR codes with optional Dino logo or custom center image

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,用于生成 Chromium 风格二维码并以 PNG 图片返回,可选 Dino 标志或自定义中心图片。

可以做什么
  • 根据文本或网址生成二维码并返回 PNG 图片
  • 以 Chromium 风格渲染:圆形模块与圆角定位图案
  • 默认在中心绘制 Chrome Dino 标志,也可关闭中心图片生成普通二维码
  • 用 Base64 编码的自定义图片替换中心标志
适用场景
适合需要把链接或短文本转成可扫描二维码图片的场景,尤其是希望外观接近 Chrome 风格或带有自定义中心标志时。
运行要求
以 stdio 方式在本机运行,需要 Node.js 22.14.0 或更高版本;可通过 npx、bunx 或全局 npm 安装该包。未声明需要账号、API 密钥或环境变量。
安装前请注意
自定义中心图片会以 Base64 数据传给本地进程,避免放入敏感图片。生成结果为图片,发布前请确认可扫描性,过大的中心标志可能降低识别成功率。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Chromium Style QR Code Generator,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@chromium-style-qrcode/mcp

中文文档

An MCP (Model Context Protocol) server for generating Chromium-style QR codes with circular modules, rounded locators, and an optional center image (Dino logo or custom).

Features

  • Chromium-style rendering — circular dot modules, rounded locator corners, matching the QR codes generated by Google Chrome
  • Dino logo — the iconic Chrome Dino is drawn in the center by default
  • Custom center image — supply a Base64-encoded image to replace the Dino
  • Toggle center image — set showLogo: false to generate a plain QR code
  • MCP-native — communicates over stdio, works with any MCP-compatible client

Installation

Note: The type: "stdio" field is not required — it's the default transport for MCP servers configured with command and args.

Using npx (recommended)

No installation required:

jsonc
{  "mcpServers": {    "io.github.chromium-style-qrcode/mcp": {      "command": "npx",      "args": ["-y", "@chromium-style-qrcode/mcp"]    }  }}

Using bunx

jsonc
{  "mcpServers": {    "io.github.chromium-style-qrcode/mcp": {      "command": "bunx",      "args": ["@chromium-style-qrcode/mcp"]    }  }}

Global install

bash
npm install -g @chromium-style-qrcode/mcp

Then configure the MCP client:

jsonc
{  "mcpServers": {    "io.github.chromium-style-qrcode/mcp": {      "command": "chromium-style-qrcode-mcp"    }  }}

Tool

generate_qr_code

Generate a Chromium-style QR code and return it as a PNG image.

Parameters
ParameterTypeRequiredDefaultDescription
textstringYes—The text or URL to encode
showLogobooleanNotrueWhether to show a center logo
customLogostringNo—Base64-encoded image to use as the center logo instead of the Dino
Examples

Basic QR code with Dino logo:

json
{  "text": "https://example.com"}

Plain QR code (no center image):

json
{  "text": "https://example.com",  "showLogo": false}

QR code with custom center image:

json
{  "text": "https://example.com",  "customLogo": "<base64-encoded image data>"}

Development

bash
# Install dependenciesbun install
# Run in developmentbun run start
# Buildbun run build
# Lint & formatbun run lintbun run format

Requirements

  • Node.js >= 22.14.0

License

MIT

来源:README.md,提交 eb23c1e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分