Skip to main content
Glama

πŸ“ Description

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

Related MCP server: mcp-server-code-runner

✨ 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.

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