Skip to main content
Glama
QRCode_MCP
by 1595901624

📝 描述

用于生成简单二维码的模型上下文协议 (MCP) 服务器。支持自定义二维码样式。

Related MCP server: Enhanced QR Code MCP Server

✨ 特点

  • 🎨 支持自定义二维码样式

  • 🛠️易于使用

📦安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 QRCode_MCP:

npx -y @smithery/cli install @1595901624/qrcode-mcp --client claude

手动安装

  1. 克隆存储库

git clone https://github.com/1595901624/qrcode-mcp.git
  1. 安装依赖项

pnpm install
  1. 构建项目

pnpm run build

🔧 配置

添加到您的 Cline MCP 设置文件

{
   "mcpServers": {
    "qrcode-mcp": {
      "command": "node",
      "args": ["path/to/qrcode-mcp/build/index.js"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

📝 使用方法

可用工具

  • qrcode :生成二维码图片参数:

    • text :二维码中编码的文本(必需)

    • size :二维码的大小(可选,默认为256)

    • darkColor :暗色模块的颜色(可选,默认为#000000)

    • lightColor :灯光模块的颜色(可选,默认为#ffffff)

    • errorCorrectionLevel :错误校正级别(可选,默认为 M)

    • margin :二维码的边距(可选,默认为 4)

📝 开发

# Install dependencies
npm install

# Build the project
npm run build

# Development with auto-rebuild
npm run watch

📝 许可证

本项目遵循 MIT 许可证。详情请参阅LICENSE文件。

Available Tools

1 tool
qrcodeB

Generate a QR code image

Inputs: text (required), size, darkColor, lightColor, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'qrcode' has a clear and distinct purpose of generating QR code images, making disambiguation trivial.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name 'qrcode' follows a simple, descriptive pattern, and there are no other tools to compare it against for inconsistency.

    Tool Count2/5

    A single tool is too few for most practical server purposes, as it limits functionality and flexibility. While it might suffice for a minimal QR code generator, typical servers benefit from multiple tools to handle related operations, such as decoding or customizing QR codes.

    Completeness2/5

    The tool surface is severely incomplete for a QR code domain. It only provides generation, missing essential operations like decoding QR codes, customizing appearance, or handling different formats, which are common in such tools and could lead to agent failures in broader tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Converts URLs into scannable QR codes with customizable options like error correction levels and image sizes. Provides downloadable links for generated QR codes through a simple MCP tool interface.
      12 npm
      4
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      An advanced MCP server for generating styled QR codes with logos, batch processing, and specialized formats like WiFi or vCards. It also provides tools to decode existing QR code images and analyze their quality or content.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides tools for scanning and extracting data from QR codes using single or multiple image URLs. It supports both individual and batch processing to retrieve encoded information from images hosted online.
      MIT