linkforyou-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@linkforyou-mcpShorten https://example.com/docs to /docs and tell me its QR code URL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
linkforyou-mcp
An MCP server for linkfor.you — create and manage short links from Claude, Cursor, or any other MCP client.
"Shorten this changelog URL as
/aug-releaseand point the QR code we printed at the new docs page."
linkfor.you is a link shortener with cookieless, GDPR-safe analytics, custom domains, and EU hosting — so an agent can create trackable links without dropping a tracking cookie on anyone.
What the agent can do
Tool | Description |
| The account the API key belongs to. Useful as a first call to confirm the key works. |
| The account's links, newest first, cursor-paginated. |
| One link by id. |
| Create a short link, with an optional custom slug and title. |
| Change destination, slug, title or status. Repointing |
| Permanently delete a link. Marked destructive, so well-behaved clients confirm first. |
Tool definitions are served by linkfor.you itself and forwarded verbatim, so this list is whatever the account's plan currently exposes — the package does not need updating when a tool changes.
Related MCP server: opn-mcp
Requirements
A linkfor.you account.
A paid plan. API and MCP access is a paid feature; on the free plan every call returns a
403that says so. Write tools additionally require a verified email address.Node.js 18.17 or newer.
Get an API key
Sign in at linkfor.you/login.
Open Settings → API keys: linkfor.you/dashboard/settings#sec-api.
Create a key. It is shown once — if it is lost it must be reset, not recovered.
A key carries the full rights of its owner over that owner's links: read, create, update and delete. There are no scopes and no read-only keys. Treat it as a secret.
Setup
Claude Code
claude mcp add linkfor --env LINKFOR_API_KEY=lfy_your_key -- npx -y linkforyou-mcpClaude Desktop
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"linkfor": {
"command": "npx",
"args": ["-y", "linkforyou-mcp"],
"env": {
"LINKFOR_API_KEY": "lfy_your_key"
}
}
}
}Cursor
Add the same block to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json globally.
Any other stdio client
Run npx -y linkforyou-mcp with LINKFOR_API_KEY in the environment. The process speaks newline-delimited
JSON-RPC on stdin/stdout; stdout carries protocol messages only, and everything human-readable goes to stderr.
Clients that speak remote MCP directly
You do not need this package. linkfor.you hosts a Streamable HTTP MCP endpoint — point the client at it:
https://linkfor.you/api/mcp Authorization: Bearer lfy_your_keyThere is a server card describing it. This package exists for the many clients that only launch local stdio processes, or that cannot attach a custom header.
Configuration
Variable | Default | Purpose |
| — | Required. Your API key. |
|
| Override the host. Mainly for development. |
|
| Per-request timeout, clamped to 1 000–120 000. |
How it works
The package is a transparent JSON-RPC proxy — roughly 300 lines, no runtime dependencies. It reads a
line from stdin, adds one Authorization header, POSTs it to https://linkfor.you/api/mcp, and writes the
reply back as a line.
It deliberately does not reimplement the tools. Names, schemas, descriptions, validation and error text all live on the server, which means the two surfaces cannot drift, and a tool added or reworded server-side reaches every installed copy without a release.
The one piece of real logic is failure translation. A stdio client that receives no line for an id waits forever, so every transport failure — an HTTP error, a timeout, an unreachable host, a non-JSON body — comes back as a JSON-RPC error carrying the server's own explanation. Notifications, which have no id, are never answered.
Security
The key is read from the environment and sent as a Bearer header. It is never logged, and never written to stdout.
Keep it out of your repository. In Claude Desktop and Cursor the config file holding it is outside the project; for project-scoped config, prefer an environment variable over a literal.
delete_linkis irreversible and is annotateddestructiveHint, which is a client's cue to confirm with you first. To take a link out of service reversibly, ask forupdate_linkwith statuspausedinstead.
Development
npm install
npm run typecheck
npm test
npm run buildSmoke-test the built server by hand:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | LINKFOR_API_KEY=lfy_your_key node dist/index.jsLinks
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Create and manage CodeQR short links, QR codes, and analytics from any MCP client.
Create and manage short links, track clicks, and automate URL management
Make and manage short links on your own domain, with analytics and routing rules.
Ephemeral, human-friendly short URLs for Tollbooth MCP services
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables URL shortening and management through MCP, allowing creation of short links with optional tags and expiry, search, and stats.111MIT
- AlicenseBqualityAmaintenanceMCP server for opn.onl, the open-source self-hostable URL shortener. Shorten links, read click analytics, generate branded QR codes, and manage links — against the hosted service or your own instance.24482MIT

INBIO MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceOfficial MCP server for INBIO's URL shortener with click analytics and customizable QR codes. Enables link shortening, QR code generation, and link management with optional authentication for advanced features.MIT- AlicenseAqualityBmaintenanceEnables AI clients to create, manage, and configure Roo smart shortlinks and their add-ons, such as QR codes, scheduled redirects, and webhooks, through MCP tools.14332MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AdamCejpa/linkforyou-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server