Skip to main content
Glama

📝 描述

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

Related MCP server: mcp-server-code-runner

✨ 特点

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

  • 🛠️易于使用

📦安装

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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1595901624/qrcode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server