QRCode_MCP

by 1595901624
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

📝 描述

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

✨ 特点

  • 🎨 支持自定义二维码样式
  • 🛠️易于使用

📦安装

  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文件。

-
security - not tested
A
license - permissive license
-
quality - not tested

MCP 服务器可生成可定制的二维码,并提供尺寸、颜色、错误更正和边距设置选项。

  1. ✨ Features
    1. 📦 Installation
      1. 🔧 Configuration
        1. 📝 Usage
          1. Available Tools
        2. 📝 Development
          1. 📝 License
            ID: mw5jkna1n3