freeqrcode-mcp-server
Enables AI assistants to generate QR codes for URLs, text, vCard, WiFi, email, and phone numbers with customizable size, colors, and error correction.
README
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
Installation
Global Installation (Recommended)
npm install -g freeqrcode-mcp-server
Local Installation
npm install freeqrcode-mcp-server
Usage
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.com
Content 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.