qrcode-mcp

MCP.Pizza Chef: 1595901624

QRCode_MCP is a Model Context Protocol server designed to generate simple QR codes with support for custom styles. It enables developers to integrate QR code generation into AI workflows seamlessly, providing style customization and straightforward usage. This server is ideal for embedding QR code creation capabilities in applications that leverage LLMs and MCP for enhanced interactivity and data encoding.

Use This MCP server To

Generate QR codes from text or URLs within AI workflows Customize QR code appearance for branding or design needs Integrate QR code generation into chatbots or virtual assistants Automate creation of QR codes for event tickets or product labels Embed QR codes in documents or messages dynamically Create styled QR codes for marketing campaigns or promotions

README

QRCode_MCP Logo

QRCode_MCP

A Model Context Protocol (MCP) server for generating simple QR codes

版本 许可证 Smithery Badge

📝 Description

A Model Context Protocol (MCP) server for generating simple QR codes. Support custom QR code styles.

✨ Features

  • 🎨 Support custom QR code styles
  • 🛠️ Easy to use

📦 Installation

Installing via Smithery

To install QRCode_MCP for Claude Desktop automatically via Smithery:

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

Manual Installation

  1. Clone the Repository
git clone https://github.com/1595901624/qrcode-mcp.git
  1. Install Dependencies
pnpm install
  1. Build the Project
pnpm run build

🔧 Configuration

Add to your Cline MCP settings file

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

📝 Usage

Available Tools

  • qrcode: Generate a QR code image parameters:
    • text: The text to encode in the QR code (Required)
    • size: The size of the QR code (optional, default is 256)
    • darkColor: The color of the dark module (optional, default is #000000)
    • lightColor: The color of the light module (optional, default is #ffffff)
    • errorCorrectionLevel: The error correction level (optional, default is M)
    • margin: The margin of the QR code (optional, default is 4)

📝 Development

# Install dependencies
npm install

# Build the project
npm run build

# Development with auto-rebuild
npm run watch

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.

qrcode-mcp FAQ

How do I install QRCode_MCP?
You can install QRCode_MCP automatically via Smithery CLI or manually by cloning the repository and following setup instructions.
Can I customize the style of the QR codes generated?
Yes, QRCode_MCP supports custom QR code styles to fit branding or design preferences.
Is QRCode_MCP easy to integrate with existing MCP clients?
Yes, it is designed for easy integration with MCP clients like Claude Desktop and others.
What programming languages or environments does QRCode_MCP support?
QRCode_MCP is a server that can be accessed via MCP protocol, making it language-agnostic and usable wherever MCP clients run.
Does QRCode_MCP support generating QR codes from different data types?
It primarily generates QR codes from text or URLs, suitable for most common use cases.
Is QRCode_MCP open source and under what license?
Yes, it is open source and licensed under the MIT License.
Can QRCode_MCP be used with multiple LLM providers?
Yes, it works with any MCP-compatible client and LLM providers like OpenAI, Claude, and Gemini.