Qrindo

v0.2.3
io.github.Folowise/qrindo-mcp Checked 1 day ago Published 2 days ago

Create, re-point and analyze dynamic QR codes and short links.

MCP (Model Context Protocol) server for the Qrindo API, let AI assistants create, re-point, and analyze dynamic QR codes and short links, and manage the workspaces they live in. 1. Create an API key in the Qrindo dashboard -> API keys. Pick account-scoped if you want the assistant to create workspaces or work across more than one; pick this workspace to lock it to a single one. 2. Add the server to your MCP client: With an account-scoped key, add "QRINDO_WORKSPACE_ID": "01J..." to pick a default workspace, or let the assistant call list_workspaces and pass workspace_id per call.

Summary extracted from the README.

@qrindo/mcp

MCP (Model Context Protocol) server for the Qrindo API, let AI assistants create, re-point, and analyze dynamic QR codes and short links, and manage the workspaces they live in.

Setup

  1. Create an API key in the Qrindo dashboard -> API keys. Pick account-scoped if you want the assistant to create workspaces or work across more than one; pick this workspace to lock it to a single one.
  2. Add the server to your MCP client:

Claude Desktop / Claude Code

{
  "mcpServers": {
    "qrindo": {
      "command": "npx",
      "args": ["-y", "@qrindo/mcp"],
      "env": { "QRINDO_API_KEY": "qrf_your_key_here" }
    }
  }
}

With an account-scoped key, add "QRINDO_WORKSPACE_ID": "01J..." to pick a default workspace, or let the assistant call list_workspaces and pass workspace_id per call. Without either, workspace-scoped calls are refused rather than guessing a tenant.

Cursor

Settings -> MCP -> Add server, command npx -y @qrindo/mcp, env QRINDO_API_KEY.

Tools

Every workspace tool takes an optional workspace_id.

Tool What it does
whoami Which key is in use, which workspace it resolved, its role and scopes
list_workspaces / create_workspace List, or provision a new workspace
get_workspace / update_workspace Read or rename one
get_workspace_settings / update_workspace_settings QR defaults, tracking, white-label, lead access, company
get_workspace_usage Current-month usage and quota
list_members Members and their roles
create_link Create a code: any content type, QR styling, folder, tags, targeting rules, scheduling, password
update_link Re-point a destination (the printed QR keeps working), restyle, retarget, reschedule
get_link / list_links Fetch one, or list with filters
link_stats Scan totals and the scans-over-time series (period: 7d/30d/90d/1y). Country, device, OS and browser breakdowns are a separate endpoint
render_qr Render png/svg/pdf/eps and return it as an image
list_folders / create_folder / move_link_to_folder Organise codes
list_brand_kits / create_brand_kit Brand kits
list_qr_designs / create_qr_design Reusable QR designs
list_domains Custom short-link domains and their verification state
upload_asset Upload a local file for a file or asset code

Write-guarded tools

These are not registered unless their flag is set, so an assistant is told the capability does not exist rather than invited to try. A sentence in a tool description is not a guard: the description is advice to a model that is free to act on an ambiguous instruction, and "tidy up my old links" is an ordinary thing to say.

Flag Unlocks Extra protection
QRINDO_MCP_ALLOW_DELETE=true delete_link must echo the exact code in confirm
QRINDO_MCP_ALLOW_MEMBERS=true invite_member, remove_member invites email a real person; removal must echo the user_id
QRINDO_MCP_ALLOW_DOMAINS=true add_domain, verify_domain, set_default_domain the default must echo id in confirm (platform-host for none)
QRINDO_MCP_ALLOW_PROMOTE=true copy_from_environment writes into production with a live key; must echo from_workspace_id in confirm

Environment

Variable Default Description
QRINDO_API_KEY (required) API key from the dashboard
QRINDO_API_URL https://api.qrindo.com/api/v1 API base override. The API-key plane is /api/v1; /v1 is the dashboard.
QRINDO_WORKSPACE_ID unset Default workspace for an account-scoped key

Verifying a deployment

pnpm --filter @qrindo/mcp build
QRINDO_API_KEY=qrf_... node packages/mcp/scripts/verify.mjs

Spawns the server and speaks JSON-RPC to it the way a client does: initialize, tools/list, then real tools/calls. It asserts every documented tool is present and that each write-guarded tool is absent while its flag is unset. Exits non-zero with a summary.

Development

pnpm --filter @qrindo/mcp typecheck
pnpm --filter @qrindo/mcp test     # asserts each tool's method, path and body keys
pnpm --filter @qrindo/mcp build

MIT, Folowise. See LICENSE.