# KooLink URL Shortener

Generates compact kool.ink links directly through AI coding assistants. Connects to a cloud endpoint with zero setup, no signup, and no API key.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: KooLink
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/KooLink/koolink-cli
- Updated: 2026-09-01
- HTML: https://affpapa.org/en/nevibecode/mcp/koolink-url-shortener

## What it 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.

## Requirements
- Remote server: `https://mcp.kool.ink`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http url-shortener https://mcp.kool.ink
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add koolink-url-shortener --url https://mcp.kool.ink
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "koolink-url-shortener": {
            "url": "https://mcp.kool.ink"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "koolink-url-shortener": {
            "type": "http",
            "url": "https://mcp.kool.ink"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http koolink-url-shortener https://mcp.kool.ink
```

## When to use it
- 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
- Shorten this URL: `https://example.com/very/long/path`
- Call `shorten_url` to get a compact link for `https://example.com`
- Generate a kool.ink short link for our repository address

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
