QR Code Generator MCP
Enables AI-powered generation of styled QR codes with 10 design presets, supporting single or batch creation with custom logos and formats (SVG/PNG) directly from AI tools.
README
QR Code Generator + MCP
A standalone QR code generator with beautiful styling options and Model Context Protocol (MCP) integration.
Features
Web App
- 10 pre-designed style presets
- Mobile-responsive design
- Custom logo upload support
- Export as SVG or PNG
- Logo positioning options (center, bottom-right)
- Dark/Light/System theme switcher
- Interactive sound effects with toggle control
- Built with Next.js 15 and React 19
- Full Kalypso design system styling
MCP Integration
- AI-powered QR code generation via Claude Desktop & Cursor
- HTTP and stdio transport support
- Access all 10 style presets programmatically
- No browser needed - generate QR codes directly from AI tools
- Hosted endpoint or local deployment options
Getting Started
Web App
Installation
npm install
Development
npm run dev
Open http://localhost:3000 to see the QR code generator.
Build
npm run build:next
npm start
MCP Server
Quick Start with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"qr-tool": {
"url": "https://qr-tool-mcp.vercel.app/api/mcp"
}
}
}
Restart Claude Desktop and you can now generate QR codes with AI!
Example usage:
Generate a QR code for https://instagram.com/kalypsodesigns using the neon-pulse style
Local MCP Server Development
npm run build:mcp
npm run start:mcp
For detailed setup instructions:
Project Structure
├── src/
│ ├── app/ # Next.js app directory
│ │ ├── qr-generator/ # QR code generator feature
│ │ ├── layout.tsx # Root layout
│ │ └── page.tsx # Home page
│ ├── components/ # Reusable components
│ │ ├── ui/ # UI components (button, input, etc.)
│ │ └── mobile-tool-wrapper.tsx
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions
│ └── styles/ # Global styles
├── public/ # Static assets
└── package.json
Available Scripts
Web App
npm run dev- Start development servernpm run build:next- Build Next.js app for productionnpm start- Start production server
MCP Server
npm run build:mcp- Build MCP servernpm run start:mcp- Start MCP server (stdio mode)npm run build- Build both web app and MCP server
Code Quality
npm run lint- Run linternpm run lint:fix- Fix linting issuesnpm run format- Format code with Biomenpm run type-check- Run TypeScript type checking
Technologies
Frontend
- Next.js 15 - React framework
- React 19 - UI library
- TypeScript - Type safety
- Tailwind CSS - Styling
- Radix UI - Accessible components
- next-themes - Theme management
- Motion - Smooth animations
MCP Server
- @modelcontextprotocol/sdk - MCP protocol implementation
- Zod - Schema validation
- jsdom - Headless DOM for server-side QR generation
- qr-code-styling - QR code generation
- jszip - ZIP file generation for batch downloads
Code Quality
- Biome - Linting and formatting
- Husky - Git hooks
- TypeScript - Type safety
MCP Tools
generate_qr_code
Generate a styled QR code with custom options.
Parameters:
url(required) - The URL or text to encodestyle(optional) - Style preset ID (default: "slate-ember")format(optional) - "svg" or "png" (default: "svg")size(optional) - Dimensions 256-2048px (default: 768)logoPosition(optional) - "center" or "bottom-right"
generate_qr_urls_batch
Generate QR codes for multiple URLs at once. Returns a single ZIP file download URL containing all QR codes with filenames based on the URLs.
Parameters:
urls(required) - Array of URLs or text content to encode (max 100)style(optional) - Style preset to apply to all QR codes (default: "slate-ember")
Returns:
A single download URL that delivers a ZIP file containing all QR codes as SVG files. Filenames are automatically generated from the URLs (e.g., 001-example-com-page.svg, 002-github-com-user.svg).
Example:
Generate QR codes for these URLs: https://example.com, https://github.com/user, https://twitter.com/handle
get_available_styles
List all available QR code style presets with color schemes.
preview_qr_url
Generate a shareable web preview URL for customization.
Available Styles
- slate-ember - Dark slate with orange accent (default)
- ink-lime - Deep black with lime green
- charcoal-cyan - Navy charcoal with cyan
- night-sky - Midnight blue with sky blue
- graphite-gold - Dark graphite with gold
- espresso-rose - Dark brown with rose pink
- plum-ice - Deep purple with lavender
- forest-mint - Forest green with mint
- cocoa-orange - Warm brown with orange
- mono-high - High contrast black & white
License
MIT License - see LICENSE file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。