Short answer
The Linkbreakers MCP server enables AI assistants (like Claude, Claude Code, Continue, and other MCP-compatible tools) to interact with your Linkbreakers workspace using natural language. It acts as a bridge between MCP clients and the Linkbreakers REST API, allowing AI to create links, analyze data, manage workflows, and more.
One-line install
Linkbreakers’ step-by-step setup makes it easy to add the MCP server in seconds. Uses OAuth by default for seamless sign-in.
Quick summary
- MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external tools and data
- The Linkbreakers MCP server runs at https://mcp.linkbreakers.com
- Setup takes under 5 minutes - just add the server URL and sign in with your Linkbreakers account via OAuth
- No installation required - use the hosted server
- Supports 35+ curated operations across links, workflows, analytics, QR codes, and more
What is MCP and why use it?
Model Context Protocol (MCP) is an open protocol developed by Anthropic that standardizes how AI assistants connect to external data sources and tools. Instead of manually calling APIs or copying data, you can simply ask your AI assistant to:
"Create a shortened link for https://example.com with the slug 'demo'"
"Show me my workspace analytics for the last 30 days"
"List all links created this week"
"Generate a QR code for my latest campaign"
The MCP server translates these natural language requests into Linkbreakers API calls, handles authentication, and returns results in a format AI assistants understand.
Benefits
- Natural language interface - No need to write API calls manually
- Faster workflows - Ask questions and get answers instantly
- Automated tasks - AI can execute multi-step operations
- No code required - Non-technical users can access data programmatically
Prerequisites
Before you begin, you'll need:
- A Linkbreakers account (Google sign-in or email/password)
- An MCP-compatible client such as: Claude (web/desktop app via Connectors), Claude Code (CLI), Continue (VSCode extension), or any other MCP-compatible assistant
Authentication
The MCP server uses OAuth for authentication. When you add the server URL to your MCP client, it will open a browser window where you sign in with your Linkbreakers account (Google or email/password). Tokens are issued and refreshed automatically — no manual token management required.
Configure your MCP client
Configuration varies by client. Choose your AI assistant below:
Claude (web and desktop app via Connectors)
Use Claude's custom connector UI for remote MCP servers like Linkbreakers.
- Open Claude Settings and go to Connectors
- Click Add custom connector
- Enter:
- Name:
linkbreakers - Server URL:
https://mcp.linkbreakers.com
- Name:
- Save -- Claude will open a browser window for you to sign in with your Linkbreakers account
- Once authenticated, reconnect if prompted
No Authorization header is needed. OAuth handles authentication automatically.
Reference docs:
Claude Code (CLI)
Use the Claude CLI to add the MCP server (don't edit ~/.claude.json manually). This writes the config for you.
- Add the Linkbreakers MCP server:
claude mcp add --transport http linkbreakers https://mcp.linkbreakers.com
- Restart Claude Code -- a browser window will open for you to sign in with your Linkbreakers account on first use
Reference docs:
Continue (VSCode)
Open VSCode and install the Continue extension
Configure MCP in either:
~/.continue/config.yaml, or~/.continue/mcpServers/*.yaml(recommended for per-server files)
Add the MCP server configuration:
mcpServers:
- name: linkbreakers
transport:
type: streamable-http
url: https://mcp.linkbreakers.com
- Restart VSCode -- Continue will handle OAuth sign-in automatically
Reference docs:
Other MCP clients
For other MCP-compatible clients, add these connection details:
- Server URL:
https://mcp.linkbreakers.com - Authentication: OAuth (automatic) -- your client will open a browser for sign-in
- Protocol: MCP over HTTP/JSON
All MCP clients handle OAuth authentication automatically. Refer to your client's documentation for specific configuration steps.
Test the connection
After configuration, verify the MCP server is working:
In Claude (web or desktop app)
- Start a new conversation
- Ask: "List my links from Linkbreakers"
- Confirm Claude uses a Linkbreakers tool such as:
links_createlinks_listmetrics_workspaceevents_list
If configured correctly, Claude should use links_list and return your workspace links.
In Continue
- Open the Continue sidebar in VSCode
- Check the MCP tools list
- Test with a prompt: "Show me my Linkbreakers workspace analytics"
Troubleshooting connection issues
If tools don't appear:
- Browser didn't open - Some clients require a default browser to be set. Check your OS settings and try again
- OAuth sign-in failed - Make sure you are signing in with the same account that owns the workspace. Try signing out of Linkbreakers in your browser first, then reconnect
- Session expired - OAuth tokens auto-refresh, but if your session has been revoked, remove and re-add the MCP server to trigger a fresh sign-in
- Restart your client completely - Some clients need a full restart after authentication
- Check logs - Your MCP client may show connection errors in logs
- Check your client's MCP support - Ensure your client supports the MCP protocol and OAuth authentication
Available MCP tools
The Linkbreakers MCP server exposes these curated operations:
Links management
links_create- Create new shortened linkslinks_list- List all links with filtering optionslinks_get- Get details of a specific linklinks_update- Update link metadata and settingslinks_delete- Delete a link
Workflow steps
workflow_steps_list- List workflow steps for a linkworkflow_steps_get- Get workflow step detailsworkflow_steps_delete- Delete a workflow stepworkflow_steps_create_relationship- Connect workflow steps
Analytics and metrics
events_list- Retrieve event timeline and activitymetrics_workspace- Get workspace-level statistics
QR code designs
qrcodedesigns_create- Create a QR code design
QR code templates
qrtemplates_list- List QR code templatesqrtemplates_get- Get QR code template detailsqrtemplates_create- Create a QR code templateqrtemplates_delete- Delete a QR code template
Media
media_create- Upload media assetsmedia_list- List media assetsmedia_get- Get media detailsmedia_delete- Delete a media asset
Visitors
visitors_list- List visitors with filteringvisitors_get- Get visitor details
Custom domains
domains_create- Add custom domainsdomains_list- List custom domainsdomains_get- Get domain detailsdomains_check- Verify DNS and TLS status
Tags
tags_list- Search and list tags
Example use cases
Create a link with AI
Prompt:
"Create a shortened link for https://example.com/products with the slug 'spring-sale' and add the tag 'marketing'"
What happens:
- AI calls
links_createtool with parameters - MCP server proxies request to Linkbreakers API
- Link is created and short URL is returned
- AI formats the response for you
Analyze campaign performance
Prompt:
"Show me the click metrics for all links tagged 'marketing' in the last 30 days"
What happens:
- AI calls
links_listwith filters - AI calls
events_listfor click data - AI aggregates and analyzes the data
- AI presents insights and trends
Automate workflow creation
Prompt:
"Create a workflow for my newsletter link with a password gate, then redirect to a form, then to the content URL"
What happens:
- AI calls
links_createfor base link - AI calls
workflowsteps_createfor each step - AI calls
workflowsteps_createrelationshipto connect them - Fully configured workflow is ready to use
Best practices
Token management
- OAuth tokens auto-refresh — no manual rotation needed
- Each user signs in with their own Linkbreakers account, so sessions are isolated per user
- If a session seems stale, remove and re-add the MCP server to trigger a fresh OAuth sign-in
AI prompts
- Be specific - "Create a link for X with slug Y" works better than "Make a link"
- Include context - "Show analytics for the marketing campaign" is clearer than "Show stats"
- Use filters - "List links created this week" vs "List links" returns focused results
- Ask follow-ups - AI can chain multiple operations based on responses
Rate limiting
- The MCP server inherits standard Linkbreakers API rate limits
- Workspace tokens typically have higher limits than member tokens
- If you hit rate limits, contact support for increased quotas
- Consider batching requests in off-peak hours for large operations
Error handling
- If a tool fails, AI will explain the error and may suggest fixes
- Common errors include:
- Invalid parameters - Check parameter format and required fields
- Authentication failed - Token may be expired or revoked
- Resource not found - ID may be incorrect or deleted
- Rate limit exceeded - Wait before retrying
Architecture
The MCP server works as a stateless protocol translator:
Key characteristics:
- Stateless - No database or caching required
- Secure - All authentication handled by main API
- Simple - Direct token pass-through, no validation needed
- Fast - Minimal overhead, direct API proxy
Frequently asked questions
Is the MCP server free to use?
Yes, the MCP server at https://mcp.linkbreakers.com is provided free to all Linkbreakers users. Standard API rate limits apply based on your workspace plan.
How does authentication work?
The MCP server uses OAuth for authentication. When you add the server URL, your MCP client opens a browser for you to sign in with your Linkbreakers account. Tokens are issued and refreshed automatically — no manual token configuration required.
What if my account is compromised?
If you suspect unauthorized access:
- Sign out of all sessions from Settings → Security in Linkbreakers
- Change your password (or revoke Google sign-in access and re-link)
- Remove and re-add the MCP server in your client to start a fresh OAuth session
Revoking sessions invalidates all existing OAuth tokens immediately.
Can multiple team members use the same MCP server?
Yes. Each team member signs in with their own Linkbreakers account via OAuth, so every user gets their own session. This provides:
- Better audit trails (know who made which changes)
- Independent sessions (revoking one user's access does not affect others)
- No shared secrets to manage
Does the MCP server store my data?
No. The MCP server is stateless and doesn't store any data. It:
- Receives your request
- Forwards it to Linkbreakers API with your token
- Returns the API response
- Keeps no logs or records of the data
All data storage and processing happens in the main Linkbreakers API.
What MCP clients are supported?
Any MCP-compatible client works, including:
- Claude (web or desktop app via Connectors)
- Claude Code (official Anthropic CLI)
- Continue (VSCode extension)
- Custom MCP clients following the MCP specification
Can I use this with the Linkbreakers mobile app?
The MCP server is designed for desktop AI assistants, not mobile apps. Use the standard Linkbreakers API or mobile app for mobile access.
How do I report bugs or request features?
For MCP server issues:
- Email: support@linkbreakers.com
- Include: Client type, error message, steps to reproduce
For feature requests:
- Contact support with your use case
- Describe which API endpoints you need exposed
About the Author
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.
Related Articles
How to automate QR code campaigns with MCP
Step-by-step guide to automating QR code campaign creation, workflow setup, and analytics retrieval using the Model Context Protocol (MCP) with Claude Code or any MCP-compatible AI client.
Programmatic QR code generation: API vs AI agents
Compare three approaches to programmatic QR code generation — REST API with SDKs, CLI automation, and AI agents via MCP. Understand when to use each method and how Linkbreakers supports all three.
The developer's guide to QR code tracking APIs
Technical guide to QR code tracking APIs — how scan events work, what data you can collect, how to build analytics dashboards, and how to integrate QR tracking into your application with Linkbreakers' REST API and SDKs.
On this page
Need more help?
Can't find what you're looking for? Get in touch with our support team.
Contact Support