freeqrcode-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@freeqrcode-mcp-servergenerate a QR code for https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Free QR Code Generator MCP Server
A Model Context Protocol (MCP) server that provides QR code generation capabilities through AI assistants like Cursor, Claude, and other MCP-compatible clients.
Features
๐ฏ Multiple QR Code Types: URL, text, vCard, WiFi, email, phone
๐จ Customization Options: Size, colors, error correction levels
๐ High Performance: Built with TypeScript and optimized for production
๐ Secure: No local file system access, cloud-based API calls
๐ฑ Cross-Platform: Works on Windows, macOS, and Linux
Related MCP server: QRzap MCP Server
Installation
Global Installation (Recommended)
npm install -g freeqrcode-mcp-serverLocal Installation
npm install freeqrcode-mcp-serverUsage
1. Cursor IDE Configuration
Add this to your mcp.json:
{
"mcpServers": {
"freeqrcode": {
"command": "npx",
"args": ["freeqrcode-mcp-server"]
}
}
}2. VS Code Configuration
Add this to your VS Code MCP settings:
{
"servers": {
"freeqrcode": {
"command": "npx",
"args": ["freeqrcode-mcp-server"]
}
}
}3. Environment Variables
You can customize the API endpoint:
export QR_API_BASE_URL=https://your-custom-domain.comContent Formats
The MCP server supports multiple content formats for different QR code types:
URL QR Codes
// Object format (recommended)
{
type: 'url',
content: { url: 'https://example.com' }
}
// String format (legacy)
{
type: 'url',
content: 'https://example.com'
}Text QR Codes
{
type: 'text',
content: 'Hello, World!'
}vCard QR Codes
{
type: 'vcard',
content: {
firstName: 'John',
lastName: 'Doe',
email: 'john@example.com',
phone: '+1-555-123-4567'
}
}Email QR Codes
{
type: 'email',
content: {
email: 'contact@example.com',
subject: 'Hello',
body: 'Message body'
}
}Phone QR Codes
{
type: 'phone',
content: { phone: '+1-555-123-4567' }
}WiFi QR Codes
{
type: 'wifi',
content: {
ssid: 'MyWiFi',
password: 'password123',
encryption: 'WPA',
hidden: false
}
}Customization Options
All QR code generation tools support these options:
size: QR code size in pixels (64-1024, default: 256)foregroundColor: Foreground color in hex format (default: #000000)backgroundColor: Background color in hex format (default: #FFFFFF)errorCorrectionLevel: Error correction level (L,M,Q,H, default:M)
Error Correction Levels
L (Low): 7% recovery capacity
M (Medium): 15% recovery capacity (default)
Q (Quartile): 25% recovery capacity
H (High): 30% recovery capacity
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests
Submit a pull request
License
MIT License - see LICENSE file for details.
Available Tools
1 toolgenerate_and_save_qrC
Generate a QR code and save it to a file with detailed information
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of QR code to generate | |
| content | Yes | Content to encode in the QR code - format depends on type | |
| filename | Yes | Filename to save the QR code (without extension) | |
| options | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description bears full responsibility. It only states the basic action (generate and save) but fails to disclose side effects like file overwrite behavior, file location, permissions, or output format. Minimal behavioral context beyond what the schema implies.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single 12-word sentence that is front-loaded with the primary action. It is concise, though the phrase 'with detailed information' is somewhat vague and could be more precise without increasing length.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (6 content types, nested options, no output schema), the description is insufficient. It does not describe the file format, return value, or behavior nuances like error handling. The schema handles much detail, but the description fails to integrate it into a coherent overview.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is high (75%), so parameters are mostly described in the schema. The description adds 'with detailed information,' which does not clarify parameter usage or relationships. It meets the baseline but provides no extra semantic value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action (generate and save) and the resource (QR code). It identifies the primary output (file), but 'with detailed information' is vague and does not add clear differentiation from potential alternatives, though none are listed.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives. The description does not mention any prerequisites, limitations, or exclusions. For a tool with no siblings, this is a missed opportunity to provide context about its applicability.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.1- First observed
generate_and_save_qr
TDQS
Scored across 1 tool
With only one tool, there is no risk of confusion or overlap.
The single tool name follows a clear verb_noun pattern (generate_and_save_qr) and is descriptive.
A single tool for QR code generation is minimal; users might expect additional tools for customization (e.g., size, format, or returning data).
The tool covers only basic generation and saving, missing common QR code parameters (e.g., error correction, size) or other operations like reading or styling.
Maintenance
Related MCP Connectors
Generate QR codes for URLs, PIX, Wi-Fi, vCards, WhatsApp and more. For AI agents.
QR & barcode toolkit: generate, decode, vector SVG, logo QR, WiFi and vCard QR codes.
Generate QR codes for URLs, WiFi, contacts and text. Paid API key adds saved codes + analytics.
Generate static QR codes (URL, WiFi, vCard, pixel art) and decode QR images. Codes never expire.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables generation of customizable QR codes through the API Ninjas service, supporting multiple image formats (PNG, JPG, SVG, EPS) with configurable colors and sizes.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate QR codes for URLs, WiFi, contacts, and more with structured parameters.3,536 npm4MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to generate styled QR codes with customizable colors, styles, gradients, and frames, as well as typed QR codes for WiFi, vCard, etc., using the QRMint API without requiring an API key.16 npm1MIT
- AlicenseAqualityDmaintenanceEnables AI agents to create and manage trackable QR codes (URLs, Wi-Fi, WhatsApp, etc.) via the QR Forge API.25MIT