Qrcode MCP Server

QRCode / 2d Barcode api with both server side and client side support using canvas

Local serverstdioTypeScript

What is the Qrcode MCP server?

Connect Qrcode to Claude, Cursor or any other MCP client and it stops being a tab you switch to. QRCode / 2d Barcode api with both server side and client side support using canvas. The qrcode mcp server is what makes that connection.

What the server does

or, install it globally to use qrcode from the command line to save qrcode images or generate ones you can view in your terminal.

  • Works on server and client (and react native with svg)
  • Save QR code as image
  • Support for Numeric, Alphanumeric, Kanji and Byte mode
  • Support for mixed modes
  • Support for chinese, cyrillic, greek and japanese characters
  • Support for multibyte characters (like emojis :smile:)

Installation

The server ships on npm as qrcode, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Browser — The Browser tool exposed by this server
  • NodeJS — render a qrcode for the terminal js var QRCode = require('qrcode')
  • Options — The Options tool exposed by this server

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of browser automation servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Qrcode's toolset — Browser, NodeJS, Options — is a fair guide to whether it matches your workflow. It is maintained by soldair; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
BrowserThe Browser tool exposed by this server.
NodeJSrender a qrcode for the terminal js var QRCode = require('qrcode')
OptionsThe Options tool exposed by this server.

How to install the Qrcode MCP server

{
  "mcpServers": {
    "qrcode": {
      "command": "npx",
      "args": ["-y", "qrcode"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Qrcode to Browser.
  • Use Qrcode to NodeJS.
  • Use Qrcode to Options.

Frequently asked questions

It connects Qrcode to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Browser, NodeJS, Options) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Qrcode directly.