KC

kalypsokichu-code/qr-tool-mcp

API 开发

本页由 AI 翻译,技术细节请以原文为准。 查看原文

5 stars 4 forks 质量 70 趋势 13MIT

A standalone QR code generator with beautiful styling options and Model Context Protocol (MCP) integration.

概览

A standalone QR code generator with beautiful styling options and Model Context Protocol (MCP) integration. - 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 - 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 Open http://localhost:3000 to see the QR code generator. Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json): Restart Claude Desktop and you can now generate QR codes with AI!

README

以下为原文 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 server
  • npm run build:next - Build Next.js app for production
  • npm start - Start production server

MCP Server

  • npm run build:mcp - Build MCP server
  • npm run start:mcp - Start MCP server (stdio mode)
  • npm run build - Build both web app and MCP server

Code Quality

  • npm run lint - Run linter
  • npm run lint:fix - Fix linting issues
  • npm run format - Format code with Biome
  • npm run type-check - Run TypeScript type checking

Technologies

Frontend

  • Next.js 15 - React framework
  • React 19 - UI library
  • TypeScript - Type safety
  • Tailwind CSS - Styling
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "qr-tool": { "url": "https://qr-tool-mcp.vercel.app/api/mcp" } } }