QRX MCP server for stdio clients: art QR codes that always scan
概览
QRX paints a QR code into artwork from a description and a link, then decodes it before handing it over, so every code it returns scans. This package is a local stdio MCP server for clients that run servers as a command. It forwards everything to the hosted QRX MCP server at https://qrx.codes/mcp, so you get the same tools, schemas and interactive views. If your client can connect to a remote server by URL, you can skip this package and use https://qrx.codes/mcp directly. See qrx.codes/developers/mcp. Requires Node.js 18 or later. Listed in the official MCP Registry as codes.qrx/mcp. 1. Sign in at qrx.codes (free). 2. Create a key at qrx.codes/developers/keys. It starts with qrx_. 3. Give it to the server as the QRX_API_KEY environment variable, as in the examples below. Without a key the server still starts and clients can list the tools (from QRX's public server card, or a copy bundled with this package). Calling a tool returns an error asking you to set QRX_API_KEY.
README
以下为原文 README 节选,完整内容请查看原文。
QRX MCP server (stdio)
Art QR codes that always scan, from any MCP client.
QRX paints a QR code into artwork from a description and a link, then decodes it before handing it over, so every code it returns scans. This package is a local stdio MCP server for clients that run servers as a command. It forwards everything to the hosted QRX MCP server at https://qrx.codes/mcp, so you get the same tools, schemas and interactive views.
If your client can connect to a remote server by URL, you can skip this package and use https://qrx.codes/mcp directly. See qrx.codes/developers/mcp.
npx -y @qrxcodes/mcp
Requires Node.js 18 or later. Listed in the official MCP Registry as codes.qrx/mcp.
Get an API key
- Sign in at qrx.codes (free).
- Create a key at qrx.codes/developers/keys. It starts with
qrx_. - Give it to the server as the
QRX_API_KEYenvironment variable, as in the examples below.
Without a key the server still starts and clients can list the tools (from QRX’s public server card, or a copy bundled with this package). Calling a tool returns an error asking you to set QRX_API_KEY.
Install
Add to .vscode/mcp.json. VS Code asks for the key once and stores it securely:
{
"inputs": [
{
"type": "promptString",
"id": "qrx-api-key",
"description": "QRX API key (starts with qrx_)",
"password": true
}
],
"servers": {
"qrx": {
安装
npx -y @qrxcodes/mcp配置
{
"mcpServers": {
"qrx": {
"command": "npx",
"args": ["-y", "@qrxcodes/mcp"],
"env": { "QRX_API_KEY": "qrx_live_…" }
}
}
}