Enhanced MCP QR Generator

by zavora-ai

271 downloads
Not rated
GitHub

About

A powerful and flexible MCP (Model Context Protocol) server for generating QR codes from URLs and text.

Details

Author
zavora-ai
Downloads
271
Categories
Developer Tools

- Generate QR codes from any text or URL
- Output formats: PNG, SVG, base64, terminal ASCII art
- Customizable size, margins, colors, and error correction (L, M, Q, H)
- Add a custom logo to the center of the QR code
- Save generated QR codes to files with auto-generated names
- Full MCP protocol support for AI assistants (JSON-RPC 2.0)
- Docker and Docker Compose deployment with health check endpoint

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Enhanced MCP QR Generator
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npm (npm install enhanced-mcp-qr-generator) then run as an MCP server using npx enhanced-mcp-qr-generator. You can customize behavior with command line options (e.g., --error-correction-level=H, --format=svg, --size=500). For integration with AI assistants such as Amazon Q CLI or Claude Desktop, add an MCP configuration file (e.g., ~/.aws/amazonq/mcp.json) that references the server. The server uses port 9999 by default, which can be changed via the PORT environment variable.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "enhanced mcp qr generator": {
            "enhanced-mcp-qr-generator": {
                "command": "npx",
                "args": [
                    "enhanced-mcp-qr-generator"
                ],
                "env": {
                    "PORT": "8080"
                }
            }
        }
    }
}

McpServers

{
    "enhanced-mcp-qr-generator": {
        "command": "npx",
        "args": [
            "enhanced-mcp-qr-generator"
        ],
        "env": {
            "PORT": "8080"
        }
    }
}

Enhanced MCP QR Generator

A powerful and flexible MCP (Model Context Protocol) server for generating QR codes from URLs and text.

Developed by James Karanja at Zavora AI.

CI/CD Pipeline

Features

- QR Code Generation: Create QR codes from any text or URL
- Multiple Output Formats: Generate QR codes as PNG, SVG, base64, or terminal ASCII art
- Customization Options: Control size, margins, colors, and error correction levels
- Logo Integration: Add custom logos to the center of QR codes
- File Saving: Save generated QR codes to files with custom or auto-generated names
- MCP Integration: Full Model Context Protocol support for AI assistants
- Docker Support: Easy deployment with Docker and Docker Compose
- Health Monitoring: Built-in health check endpoint

Installation

npm install enhanced-mcp-qr-generator

Server Architecture

The Enhanced MCP QR Generator uses a single HTTP server that handles:

1. JSON-RPC Requests: For MCP protocol communication
2. Health Check Endpoint: Available at /health for monitoring

Port Configuration

The server uses port 9999 by default. You can change this by:

1. Setting the PORT environment variable
2. When using Docker, updating the PORT environment variable in docker-compose.yml
3. When using Docker, updating the port mapping in docker-compose.yml

Example:
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.