loading…
Search for a command to run...
loading…
Enables the generation of QR codes in PNG, SVG, Base64, and ASCII formats via Model Context Protocol clients. Users can save codes directly to local files or di
Enables the generation of QR codes in PNG, SVG, Base64, and ASCII formats via Model Context Protocol clients. Users can save codes directly to local files or display them as terminal-friendly art through natural language commands.
QRコードを生成するためのMCP(Model Context Protocol)サーバーですわ。こちらのサーバーを使えば、Claude DesktopなどのMCP対応クライアントから、簡単にQRコードを生成していただけますわよ!

Claude Codeをお使いの場合は、以下のコマンド一つでインストール完了ですわ:
claude mcp add --scope user qr-mcp-server uvx git+https://github.com/cympfh/qr-mcp-server
Claude Desktopの設定ファイルに、こちらのサーバーを登録していただく必要がございますわ。
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"qr-generator": {
"command": "uvx",
"args": [
"git+https://github.com/cympfh/qr-mcp-server"
]
}
}
}
設定を保存したら、Claude Desktopを再起動していただけますでしょうか。
Claude Desktopでこちらのサーバーが利用可能になりましたら、以下のような使い方ができますわ。
QRコードを生成して、"qr.png"というファイル名で保存してください。
データは"https://example.com"でお願いします。
"Hello World"というテキストのQRコードをSVG形式で"qr.svg"に保存してください。
"https://github.com"のQRコードをBase64エンコードされたPNG形式で生成してください。
"QR Code"というテキストのQRコードをASCIIアートで表示してください。
わたくしのサーバーでは、以下の5つのツールをご用意しておりますわ。
QRコードをPNG画像として生成し、ファイルに保存いたします。
パラメータ:
data (string, 必須): QRコードに埋め込むデータoutput_path (string, 必須): 保存先のファイルパスoverwrite (boolean, 任意): 既存ファイルを上書きするか(デフォルト: false)size (integer, 任意): QRコードのボックスサイズ(デフォルト: 10)border (integer, 任意): QRコードの余白サイズ(デフォルト: 4)QRコードをSVG画像として生成し、ファイルに保存いたします。
パラメータ:
data (string, 必須): QRコードに埋め込むデータoutput_path (string, 必須): 保存先のファイルパスoverwrite (boolean, 任意): 既存ファイルを上書きするか(デフォルト: false)border (integer, 任意): QRコードの余白サイズ(デフォルト: 4)QRコードをPNG画像として生成し、Base64エンコードした文字列を返しますわ。
パラメータ:
data (string, 必須): QRコードに埋め込むデータsize (integer, 任意): QRコードのボックスサイズ(デフォルト: 10)border (integer, 任意): QRコードの余白サイズ(デフォルト: 4)QRコードをSVG画像として生成し、Base64エンコードした文字列を返しますわ。
パラメータ:
data (string, 必須): QRコードに埋め込むデータborder (integer, 任意): QRコードの余白サイズ(デフォルト: 4)QRコードをASCIIアートとして生成いたします。ターミナルでの表示に最適ですわよ。
パラメータ:
data (string, 必須): QRコードに埋め込むデータborder (integer, 任意): QRコードの余白サイズ(デフォルト: 2)uv sync で依存関係が正しくインストールされているか確認してくださいませoverwrite=true を指定して、既存ファイルの上書きを許可してくださいませMITライセンスの下で公開しておりますわ。
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"qr-code-mcp-server": {
"command": "npx",
"args": []
}
}
}