How to build QR codes and landing pages with AI using Linkbreakers

Linkbreakers is fully compatible with LLMs through its MCP server, CLI, and API. Build any QR code, contact card, or landing page workflow entirely through Claude Code, Claude Desktop, or other AI tools.

Overview
8 min read
By Laurent Schaffner
Updated June 5, 2026

Short answer

Linkbreakers is fully compatible with large language models (LLMs) through three integration layers: a hosted MCP server for direct AI assistant access, a CLI designed for both humans and agents, and a complete REST API with SDKs in five languages. You can build any QR code, contact card, multi-link page, or workflow entirely through natural language conversation in tools like Claude Code, Claude Desktop, or any MCP-compatible AI client — without ever opening the dashboard.

Quick summary

  • Linkbreakers is the only QR code and link management platform with native Model Context Protocol (MCP) support
  • Build complete QR code campaigns, contact cards, and multi-step workflows through conversation with Claude Code or Claude Desktop
  • The MCP server exposes 35+ operations covering links, workflows, QR designs, analytics, domains, and media
  • The CLI works as a tool for AI agents in terminal environments, enabling automated link management
  • Every dashboard feature is available programmatically — there is no feature gap between the UI and the API
  • AI agents can chain multiple operations to build complex customer journeys in a single conversation

Why Linkbreakers is built for AI

Most link shorteners and QR code platforms are designed around a visual dashboard. You click through menus, fill forms, and configure settings one screen at a time. Linkbreakers takes a different approach: the platform is API-first, meaning every feature — from creating a link to building a multi-step workflow with password gates, forms, and conditional routing — is available as a programmatic operation.

This design choice has a direct consequence: AI tools that can call APIs can do everything the dashboard can. There is no feature locked behind a UI-only interface.

Linkbreakers goes further with a dedicated MCP server that speaks the Model Context Protocol — the open standard for connecting AI assistants to external tools. When you connect Claude Code or Claude Desktop to the Linkbreakers MCP server, the AI assistant gains direct access to your workspace and can create links, build workflows, generate QR codes, and pull analytics on your behalf.

What you can build through conversation

QR codes with tracking

Ask your AI assistant to create a tracked link and it handles the entire flow:

"Create a QR code for our spring sale landing page at https://shop.example.com/spring. Use the slug 'spring-sale', tag it with 'marketing' and 'q2-2026', and enable conversion tracking."

The AI creates the link, configures tracking, and returns the short URL and QR code — all in one exchange.

Contact cards are a natural fit for conversational creation:

"Create a contact card for Jane Doe, VP of Sales at Acme Corp. Email jane@acme.com, phone +1-555-0123 with WhatsApp enabled. Add her LinkedIn, Twitter, and Instagram profiles. Use 'Connect with Jane' as the button label."

The AI builds the full vCard with social links, WhatsApp integration, and custom button text.

Multi-step workflows

Complex customer journeys that would take multiple screens to configure in a dashboard can be described in plain language:

"Build a workflow for our conference QR code. First show a password gate with the code 'CONF2026'. Then show a form collecting name, email, and company. After submission, redirect to our resource hub at resources.example.com. Add a fallback URL to our homepage."

The AI creates each workflow step, connects them in sequence, and configures the fallback — a process that normally requires navigating through the workflow editor, creating individual steps, and wiring them together.

Conditional routing

"Set up a QR code that redirects to our English site for visitors from the US, UK, and Canada, our French site for visitors from France, Belgium, and Switzerland, and our German site for visitors from Germany and Austria. Default to the English site."

The AI builds a country condition step with all the routing rules configured.

Bulk operations

"Create 50 tracked links for each product in this list. Tag them all with 'product-catalog' and use the product name as the link name."

AI agents excel at repetitive operations that would be tedious to do manually.

Three ways AI connects to Linkbreakers

1. MCP Server — for AI assistants

The MCP server is the most direct integration. It runs at https://mcp.linkbreakers.com and requires no installation.

Setup in Claude Code (one command):

Bash
claude mcp add --transport http linkbreakers https://mcp.linkbreakers.com \
  --header "Authorization: Bearer YOUR_WORKSPACE_TOKEN"

Setup in Claude Desktop: Add to your claude_desktop_config.json:

JSON
{
  "mcpServers": {
    "linkbreakers": {
      "url": "https://mcp.linkbreakers.com",
      "headers": {
        "Authorization": "Bearer YOUR_WORKSPACE_TOKEN"
      }
    }
  }
}

Once configured, your AI assistant can call any of the 35+ Linkbreakers operations directly. No SDK installation, no code writing, no deployment.

2. CLI — for terminal-based AI agents

The Linkbreakers CLI is designed to work both as a human tool and as an AI agent tool. In Claude Code or similar terminal-based AI environments, the CLI provides a natural interface:

Bash
# AI agents can run CLI commands directly
linkbreakers links create --destination https://example.com --name "Campaign" --tags marketing
linkbreakers links list --page-size 10 --output json

The --output json flag makes CLI output machine-readable, which AI agents can parse and act on.

3. REST API and SDKs — for code generation

When an AI assistant generates code for your application, it can use the Linkbreakers SDKs directly. Available in TypeScript, Python, Go, Java, and Rust:

TypeScript
// AI-generated code using the TypeScript SDK
import { Configuration, LinksApi } from 'linkbreakers';

const config = new Configuration({
  accessToken: process.env.LINKBREAKERS_SECRET_KEY,
  basePath: 'https://api.linkbreakers.com',
});

const api = new LinksApi(config);
const response = await api.linksServiceCreate({
  createLinkRequest: {
    destination: 'https://example.com/product',
    name: 'Product Launch',
    tags: ['launch', 'q2'],
  },
});

AI coding assistants can generate, debug, and iterate on integration code using any of the five SDKs.

Real-world AI workflows

Marketing team: campaign setup in minutes

A marketing manager opens Claude Code and says:

"I need to set up tracking for our Q3 campaign. Create five links — one each for email, social, paid search, organic, and partner channels — all pointing to example.com/q3-offer. Tag each with 'q3-campaign' and the channel name. Then show me a summary."

In under a minute, the AI creates five tracked links with proper tagging and returns a table of short URLs ready to distribute. No dashboard navigation, no repetitive form filling.

Sales team: contact card fleet

"Create contact cards for each person on our sales team. Here are the details: [list]. Each should have their LinkedIn profile, enable WhatsApp on their phone numbers, and use 'Save my contact' as the button label."

The AI creates individualized contact cards for the entire team, each with social links and WhatsApp integration.

Developer: workflow prototyping

"I'm prototyping a customer journey. Create a link with a three-step workflow: first a form with name and email fields, then a country condition that routes US visitors to one URL and everyone else to another. Show me the step IDs so I can test it."

The AI builds the prototype workflow and returns the structure, ready for testing.

Event organizer: post-event analytics

"Pull analytics for all links tagged 'conference-2026'. Show me total scans, unique visitors, top countries, and which links got the most engagement."

The AI queries the analytics API and presents a formatted report.

What makes this different from other platforms

Most link shorteners offer an API as an afterthought — a subset of dashboard features accessible through REST endpoints. Linkbreakers is different in three ways:

Complete feature parity. Every operation available in the dashboard is available through the API. Workflow steps, conditional routing, QR code design, page themes, team management, custom domains — everything.

Native MCP support. Linkbreakers is the only platform in this category with a dedicated MCP server. Other platforms require custom integration code to connect with AI assistants. Linkbreakers works out of the box.

AI-agent-friendly CLI. The CLI outputs structured JSON for machine consumption, handles authentication cleanly, and supports all CRUD operations. AI agents in terminal environments can use it directly without wrapper scripts.

Getting started

  1. Get a workspace token from Dashboard → API Tokens
  2. Connect your AI tool:
    • Claude Code: claude mcp add --transport http linkbreakers https://mcp.linkbreakers.com --header "Authorization: Bearer YOUR_TOKEN"
    • Claude Desktop: add to claude_desktop_config.json
    • CLI: linkbreakers auth set-token --token YOUR_TOKEN
  3. Start building — ask your AI assistant to create a link, build a workflow, or pull analytics

No SDKs to install. No code to write. Just connect and go.

Frequently Asked Questions

Do I need to know how to code to use Linkbreakers with AI? No. The MCP server and CLI enable fully conversational interaction. You describe what you want in plain language and the AI handles the API calls.

Which AI tools work with Linkbreakers? Any MCP-compatible client works with the MCP server. This includes Claude Code, Claude Desktop, and Continue (VS Code). The CLI works with any terminal-based AI agent. The SDKs work with any AI coding assistant.

Is there a limit to what AI can do through the MCP server? The MCP server exposes 35+ operations covering links, workflows, QR codes, analytics, domains, media, visitors, and tags. It covers the full Linkbreakers API surface.

Can AI build the same complex workflows I build in the dashboard? Yes. Multi-step workflows with password gates, forms, conditional routing, contact cards, social links pages, and device conditions are all available through the API. AI agents can chain these operations to build complete customer journeys.

Is my data safe when using AI tools? The MCP server and CLI authenticate with your workspace token. AI tools operate within the same permission boundaries as the dashboard. Your data stays in your Linkbreakers workspace.

Can I mix AI and dashboard usage? Absolutely. Changes made through AI tools appear immediately in the dashboard, and vice versa. You can start a campaign with AI and refine it in the dashboard, or build in the dashboard and pull analytics through AI.

Limits and caveats

  • API rate limits apply to all operations, including those made through AI tools. Limits vary by plan.
  • The MCP server requires a workspace token with appropriate permissions.
  • Complex workflow changes may benefit from visual review in the dashboard after AI creation.
  • Feature availability and limits can vary by plan and workspace setup.

About the Author

LS

Laurent Schaffner

Founder & Engineer at Linkbreakers

Passionate about building tools that help businesses track and optimize their digital marketing efforts. Laurent founded Linkbreakers to make QR code analytics accessible and actionable for companies of all sizes.