MCP QR Code Server
Connects to GitHub for package repository access, specifically for the mcp.el Emacs package installation.
Provides integration with npm for package installation and execution of the QR code server through the npm registry.
Offers integration with Emacs Org mode through mcp.el, allowing QR code generation directly within Emacs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP QR Code Server create a QR code for my website https://myportfolio.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
#+TITLE: MCP QR Code Server
Overview Generate QR codes seamlessly using the Model Context Protocol (MCP). This server connects large language models to QR code generation capabilities across multiple client interfaces.
Features
Generate QR codes for multiple content types:
URLs and website links
WiFi network credentials
Contact information (vCard)
Plain text
Calendar events (iCal)
Multiple output formats:
PNG images (base64-encoded)
ASCII/text representation
Data URL format
Customization options:
Size adjustment (100-1000px)
Error correction levels (L, M, Q, H)
Format selection (image, text)
Quick Examples
#+begin_example Please generate a QR code for https://example.com #+end_example
#+begin_example Generate a QR code for the Wi-Fi network "GuestWiFi" with password "Welcome123" #+end_example
#+begin_example Create a QR code for my contact information: Name: John Doe Email: john@example.com Phone: 555-123-4567 #+end_example
Installation
#+begin_src bash npm install -g @jwalsh/mcp-server-qrcode #+end_src
Usage
** Claude Desktop #+begin_src json { "mcpServers": { "qrcode": { "command": "npx", "args": [ "-y", "@jwalsh/mcp-server-qrcode" ] } } } #+end_src
For detailed setup instructions, please refer to:
[[https://modelcontextprotocol.io/quickstart/user][MCP for Claude Desktop Users]]
[[https://modelcontextprotocol.io/quickstart/server][Building MCP Servers]]
[[https://docs.anthropic.com/en/docs/agents-and-tools/mcp][Anthropic MCP Documentation]]
** Claude Desktop
#+begin_src json { "mcpServers": { "qrcode": { "args": [ "-y", "@jwalsh/mcp-server-qrcode" ], "command": "npx" } } } #+end_src
** Emacs with mcp.el #+begin_src elisp :results silent ;; Basic installation with straight.el (use-package mcp :straight (mcp :type git :host github :repo "lizqwerscott/mcp.el")) #+end_src
#+begin_src elisp :results silent ;; Connect to the QR code server (mcp-connect-server "qrcode" "npx" '("-y" "@jwalsh/mcp-server-qrcode") :initial-callback (lambda (connection) (message "Connected to %s" (jsonrpc-name connection))) :tools-callback (lambda (connection tools) (message "Available tools: %s" tools))) #+end_src
#+begin_src elisp :results raw :wrap example ;; Generate a QR code (let ((connection (gethash "qrcode" mcp-server-connections))) (mcp-call-tool connection "generate-qrcode" '(:content "https://example.com" :format "text"))) #+end_src
#+RESULTS: #+begin_example (:content [(:type text :text QR Code for "https://example.com":
█████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █▄▀ █ ▀ █▀█ ▄▄▄▄▄ ████ ████ █ █ █▄ ▄█▀ ▀█▄█ █ █ ████ ████ █▄▄▄█ █▀ █ ▀█ ███ █▄▄▄█ ████ ████▄▄▄▄▄▄▄█▄▀▄█ █ ▀ █▄▄▄▄▄▄▄████ ████ ▀▄▀▀▀▄▄▀▀ ▄▀▄▀▀ █▀▄▀ ████ ████▄▀█▄▀ ▄▄▀ ▀▀█▄▀▄█▀▄ ▄█▄████ █████▀▀▄ ▄▄▄ ▀ █ ▄█ █ ███▀ ████ ████▄▄▄█▄▄▄▀▄▀█▀ ▄ ▄ ▄▀▀ ▄█▄████ ████▄▄██▄█▄▄▀▄███ █ ▄▄▄ ██▄▀████ ████ ▄▄▄▄▄ █▄█▄▄█▀█▀ █▄█ ██▀ ████ ████ █ █ ██ █▄ ▄█▄▄ ▄▄ █▀ ▄████ ████ █▄▄▄█ █▄ █▀ ▄ ▀ ▄█▄▄████ ████▄▄▄▄▄▄▄█▄▄▄██▄▄█▄█▄██▄██▄████ █████████████████████████████████ █████████████████████████████████ )]) #+end_example
** MCP Inspector
#+begin_src bash npx -y @modelcontextprotocol/inspector npx -y @jwalsh/mcp-server-qrcode #+end_src
** NPM Package CLI
#+begin_src bash
Verify installation
echo '{"method":"tools/list","params":{},"id":1,"jsonrpc":"2.0"}' | mcp-server-qrcode | jq -r '.result.tools[]|.name' #+end_src
#+RESULTS: : generate-qrcode
#+begin_src bash :results raw :results raw
Generate QR code via JSON-RPC
echo '{"method":"tools/call","params":{"name":"generate-qrcode","arguments":{"content":"https://example.com","format":"text"}},"id":1,"jsonrpc":"2.0"}' | mcp-server-qrcode | jq -r '.result.content[0].text' #+end_src
#+RESULTS: QR Code for "https://example.com":
█████████████████████████████████ █████████████████████████████████ ████ ▄▄▄▄▄ █▄▀ █ ▀ █▀█ ▄▄▄▄▄ ████ ████ █ █ █▄ ▄█▀ ▀█▄█ █ █ ████ ████ █▄▄▄█ █▀ █ ▀█ ███ █▄▄▄█ ████ ████▄▄▄▄▄▄▄█▄▀▄█ █ ▀ █▄▄▄▄▄▄▄████ ████ ▀▄▀▀▀▄▄▀▀ ▄▀▄▀▀ █▀▄▀ ████ ████▄▀█▄▀ ▄▄▀ ▀▀█▄▀▄█▀▄ ▄█▄████ █████▀▀▄ ▄▄▄ ▀ █ ▄█ █ ███▀ ████ ████▄▄▄█▄▄▄▀▄▀█▀ ▄ ▄ ▄▀▀ ▄█▄████ ████▄▄██▄█▄▄▀▄███ █ ▄▄▄ ██▄▀████ ████ ▄▄▄▄▄ █▄█▄▄█▀█▀ █▄█ ██▀ ████ ████ █ █ ██ █▄ ▄█▄▄ ▄▄ █▀ ▄████ ████ █▄▄▄█ █▄ █▀ ▄ ▀ ▄█▄▄████ ████▄▄▄▄▄▄▄█▄▄▄██▄▄█▄█▄██▄██▄████ █████████████████████████████████ █████████████████████████████████
Developer Documentation For detailed setup, installation, contribution guidelines, and additional integration methods, please refer to [[file:DEVELOPERS.org][DEVELOPERS.org]].
Available Tools
1 toolgenerate-qrcodeB
Generate QR codes in various formats with customizable error correction levels and sizes
Inputs: content (required), size, format, errorCorrectionLevel.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
There is only one tool, so no risk of confusion or overlap with other tools.
The single tool uses a clear verb_noun pattern (generate-qrcode), and with only one tool, consistency is not an issue.
One tool is perfectly appropriate for a server dedicated solely to generating QR codes, as the scope is narrow and focused.
The tool covers the core functionality of generating QR codes with customization options, but lacks features like batch generation or output validation, though these are not essential for a basic server.
Maintenance
Related MCP Connectors
Generate QR codes for URLs, PIX, Wi-Fi, vCards, WhatsApp and more. For AI agents.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Free styled QR code generator API. Create QR codes with custom colors, logos, and frame templates. Supports URL, WiFi, Email, Phone, SMS. No API keys required.
Related MCP Servers
- AlicenseAqualityBmaintenanceA Model Context Protocol server that provides LLM Agents with a comprehensive toolset for IP geolocation, network diagnostics, system monitoring, cryptographic operations, and QR code generation.5454 npm20Apache 2.0
- AlicenseAqualityDmaintenanceEnables generation of QR codes from text or URLs in multiple formats (DataURL, SVG, terminal display) with customizable options like error correction, colors, and size. Supports batch processing of multiple QR codes and integrates seamlessly with MCP-compatible clients.44MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate QR codes for URLs, WiFi, contacts, and more with structured parameters.5,607 npm4MIT