KooLink URL Shortener — Claude Code MCP server setup
Generates compact kool.ink links directly through AI coding assistants. Connects to a cloud endpoint with zero setup, no signup, and no API key.
claude mcp add --transport http url-shortener https://mcp.kool.inkWhat KooLink URL Shortener does
This integration exposes a single tool called shorten_url, accepting a target address in JSON format. It converts long URLs into compact kool.ink links suitable for terminal outputs and chat messages.
Communication happens via HTTP transport with the remote host at https://mcp.kool.ink. You do not need to install local npm packages or maintain runtime dependencies on your machine. However, your client environment must be able to reach that remote domain over the network.
Each generated URL records visitor clicks while filtering out automated crawler hits. The platform also offers the Creator Earning Programme based on link traffic growth.
What it helps with
- turn unwieldy links into clean kool.ink URLs inside chat
- automate link shortening within agent workflows
- filter out automated bot traffic from click metrics
- generate short links without managing secret tokens
Example prompts for the agent
- Shorten this URL:
https://example.com/very/long/path - Call
shorten_urlto get a compact link forhttps://example.com - Generate a kool.ink short link for our repository address
How to install KooLink URL Shortener
Platform CLI: remote server
claude mcp add --transport http url-shortener https://mcp.kool.inkPlatform CLI: remote server
codex mcp add koolink-url-shortener --url https://mcp.kool.inkConfig file
{
"mcpServers": {
"koolink-url-shortener": {
"url": "https://mcp.kool.ink"
}
}
}Config file
{
"servers": {
"koolink-url-shortener": {
"type": "http",
"url": "https://mcp.kool.ink"
}
}
}Platform CLI: remote server
gemini mcp add -t http koolink-url-shortener https://mcp.kool.inkStep 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 KooLink URL Shortener
How do I install KooLink URL Shortener in Claude Code?
Run claude mcp add --transport http koolink-url-shortener https://mcp.kool.ink in your terminal. This registers the hosted server without requiring local binaries.
What does KooLink URL Shortener do?
It adds the shorten_url tool to your assistant so it can shrink long web addresses into kool.ink links during conversations or automated tasks.
Do I need an account or an API key?
No credentials are required for anonymous link generation. The hosted MCP endpoint works out of the box without authentication.