linkly — Claude Code MCP server: features and setup
Connect an AI agent to Linkly to create short links, search them, and inspect click data. Useful when link management needs to happen in chat.
claude mcp add --transport http linkly https://mcp.linklyhq.comWhat linkly does
The MCP server lets an agent manage Linkly short links: create, edit, remove, or find them by name, URL, or note. It can also retrieve click statistics, export click records, and manage custom domains and webhooks.
The connection uses the hosted endpoint at https://mcp.linklyhq.com. Sign in to Linkly in the browser that opens during setup. This route needs neither a local install nor an API key. The older npm-based, self-hosted option is no longer maintained, so its API-key setup is not the route to use.
What it helps with
- create a short link from a URL
- find a link by its name or note
- inspect click trends for a link
- export detailed click records
- set up a webhook for click events
Example prompts for the agent
- Create a short Linkly link for this URL and label it “release”.
- Find the link with the note “summer campaign” and show its click stats.
- Export recent click records and list the custom domains.
How to install linkly
Platform CLI: remote server
claude mcp add --transport http linkly https://mcp.linklyhq.comPlatform CLI: remote server
codex mcp add linkly --url https://mcp.linklyhq.comConfig file
{
"mcpServers": {
"linkly": {
"url": "https://mcp.linklyhq.com"
}
}
}Config file
{
"servers": {
"linkly": {
"type": "http",
"url": "https://mcp.linklyhq.com"
}
}
}Platform CLI: remote server
gemini mcp add -t http linkly https://mcp.linklyhq.comStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about linkly
How do I install linkly in Claude Code?
Run claude mcp add --transport http linkly https://mcp.linklyhq.com, then sign in to Linkly in the browser opened during connection.
What does linkly do?
It lets an agent manage Linkly short links, review click activity, and work with domains and webhooks.
Does linkly require an API key?
No. The hosted server uses browser sign-in to Linkly. The former npm package and API-key setup are no longer maintained.