Skip to main content
Glama

MCP QR Code Server

by jwalsh

#+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:

** Claude Desktop

#+begin_src json { "mcpServers": { "qrcode": { "args": [ "-y", "@jwalsh/mcp-server-qrcode" ], "command": "npx" } } } #+end_src

** Emacs with mcp.el #+begin_src elisp silent ;; Basic installation with straight.el (use-package mcp (mcp git github "lizqwerscott/mcp.el")) #+end_src

#+begin_src elisp silent ;; Connect to the QR code server (mcp-connect-server "qrcode" "npx" '("-y" "@jwalsh/mcp-server-qrcode") (lambda (connection) (message "Connected to %s" (jsonrpc-name connection))) (lambda (connection tools) (message "Available tools: %s" tools))) #+end_src

#+begin_src elisp raw example ;; Generate a QR code (let ((connection (gethash "qrcode" mcp-server-connections))) (mcp-call-tool connection "generate-qrcode" '( "https://example.com" "text"))) #+end_src

#+RESULTS: #+begin_example ( [( 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 raw 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.org][DEVELOPERS.org]].
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A server that connects large language models to QR code generation capabilities via Model Context Protocol, supporting multiple content types (URLs, WiFi credentials, contacts, text), output formats, and customization options.

  1. Generate QR code via JSON-RPC

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      A 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.
      Last updated -
      16
      566
      10
      TypeScript
      Apache 2.0
    • A
      security
      A
      license
      A
      quality
      An MCP server that generates customizable QR codes with options for size, colors, error correction, and margin settings.
      Last updated -
      1
      5
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
      Last updated -
      12
      1
      Python
      MIT License
      • Linux
      • Apple
    • -
      security
      F
      license
      -
      quality
      A Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.
      Last updated -
      • Apple

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/jwalsh/mcp-server-qrcode'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server