#+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]].
QR Code Server
Project Details
- jwalsh/mcp-server-qrcode
- MIT License
- Last Updated: 3/19/2025
Recomended MCP Servers
MCP server for searching npm packages
A Model Context Protocol (MCP) server that integrates with X using the @elizaOS `agent-twitter-client` package, allowing AI models...
MCP server for Fathom Analytics
DirectX 12 Headers for Delphi and FPC
A zero-config VS Code database extension with affordances to aid development and debugging.
MCP implementation of Claude Code capabilities and more
MCP server connecting to Kubernetes





