Skip to main content
Glama
1595901624
by 1595901624

📝 Description

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

Related MCP server: Enhanced QR Code MCP Server

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

Available Tools

1 tool
qrcodeB

Generate a QR code image

ParametersJSON Schema
NameRequiredDescriptionDefault
textYesThe input string to generate qrcode
sizeNoThe size of qrcode, default is 256
darkColorNoThe dark color of qrcode, default is #000000#000000
lightColorNoThe light color of qrcode, default is #ffffff#ffffff
errorCorrectionLevelNoThe error correction level of qrcode, default is MM
marginNoThe margin of qrcode, default is 4

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. 'Generate a QR code image' implies a creation operation but doesn't disclose behavioral traits like whether this is a read-only generation, if it requires external resources, what happens with invalid inputs, or the format of the returned image. For a tool with 6 parameters and no annotation coverage, this is inadequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's appropriately sized for a straightforward tool and front-loads the core purpose without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (6 parameters, no output schema, no annotations), the description is minimally adequate but incomplete. It states what the tool does but lacks context about the generated output (e.g., image format, return type), error handling, or performance considerations, leaving gaps for the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with all parameters well-documented in the schema itself. The description adds no additional parameter information beyond implying 'text' is needed for generation. This meets the baseline of 3 since the schema does the heavy lifting, but doesn't provide extra context like typical text lengths or color format expectations.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Generate a QR code image' clearly states the verb 'Generate' and resource 'QR code image', making the purpose immediately understandable. However, it lacks specific differentiation from potential siblings (though none exist in this context), and doesn't specify output format or medium, keeping it from a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, prerequisites, or typical use cases. With no sibling tools, this is less critical, but still leaves the agent without context about appropriate scenarios for QR code generation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3.2/5.0
Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'qrcode' has a clear and distinct purpose of generating QR code images, making disambiguation trivial.

Naming Consistency5/5

Since there is only one tool, naming consistency is inherently perfect. The tool name 'qrcode' follows a simple, descriptive pattern, and there are no other tools to compare it against for inconsistency.

Tool Count2/5

A single tool is too few for most practical server purposes, as it limits functionality and flexibility. While it might suffice for a minimal QR code generator, typical servers benefit from multiple tools to handle related operations, such as decoding or customizing QR codes.

Completeness2/5

The tool surface is severely incomplete for a QR code domain. It only provides generation, missing essential operations like decoding QR codes, customizing appearance, or handling different formats, which are common in such tools and could lead to agent failures in broader tasks.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Converts URLs into scannable QR codes with customizable options like error correction levels and image sizes. Provides downloadable links for generated QR codes through a simple MCP tool interface.
    18
    4
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    An advanced MCP server for generating styled QR codes with logos, batch processing, and specialized formats like WiFi or vCards. It also provides tools to decode existing QR code images and analyze their quality or content.
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides tools for scanning and extracting data from QR codes using single or multiple image URLs. It supports both individual and batch processing to retrieve encoded information from images hosted online.
    26
    MIT

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