T
qrcode-mcp
...
Created 2/23/2025by1595901624
Language:
TypeScript
Stars:
2
Forks:
0
QRCode_MCP
A Model Context Protocol (MCP) server for generating simple QR codes
📝 Description
A Model Context Protocol (MCP) server for generating simple QR codes. Support custom QR code styles.
✨ Features
- 🎨 Support custom QR code styles
- 🛠️ Easy to use
📦 Installation
- Clone the Repository
git clone https://github.com/1595901624/qrcode-mcp.git
- Install Dependencies
pnpm install
- 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.
Last updated: 2/24/2025