shorten_url
Shorten a long URL using KooLink and return a compact kool.ink short link. Use this whenever the user wants a shortened URL, a tidy link to share, or a redirect for a long destination.
url必填labelink.kool由 kool.ink 發布官方發布者v1.2.0更新於 Nov 2, 2026
Shorten any long URL into a clean kool.ink link. Free, unlimited, no signup. AI-agent ready.
KooLink 透過託管的遠端 MCP 端點把長網址縮短成 kool.ink 短連結,並查看自己短連結的瀏覽統計。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/ink.kool%2Furl-shortener/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"koolink-url-shortener": {
"type": "http",
"url": "https://mcp.kool.ink/"
}
}
}Shorten any URL to a clean kool.ink/xyz link from your terminal. Free, unlimited, no signup. AI-agent ready.
Point any MCP client (Claude Desktop, Cursor, Windsurf, etc.) at the hosted MCP server at https://mcp.kool.ink — no API key required for anonymous shortening.
This server exposes the following MCP tools:
kool.ink/xyz, not bit.ly/4xdK9qZhttps://mcp.kool.ink, or the REST APIThe CLI calls the public anonymous endpoint:
For AI agents, use the MCP server at https://mcp.kool.ink (no API key needed for anonymous shortening).
MIT
來源:README.md,提交 20db946
Shorten a long URL using KooLink and return a compact kool.ink short link. Use this whenever the user wants a shortened URL, a tidy link to share, or a redirect for a long destination.
url必填labelGet view analytics for one of the user's own KooLink short links: total and valid (fraud-filtered) views, breakdowns by device, country and referrer, plus a trailing 7-day trend. Use this to answer 'how is my link performing'.
code必填List the user's short links with their valid view counts, most recent first. Useful to survey overall link performance or to find a code to dig into with link_stats.
limit已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
npx @koolink/koolink https://example.com/very/long/path# → https://kool.ink/abc123# one-off (no install)npx @koolink/koolink https://example.com
# or install globallynpm install -g @koolink/koolinkkoolink https://example.com# Shorten a URL (prints the short link, copies to clipboard on desktop)koolink https://example.com/very/long/path
# Shorten from stdin (great for piping)echo "https://example.com" | koolink
# Shorten a batchcat urls.txt | xargs -I{} koolink {}{ "mcpServers": { "koolink": { "url": "https://mcp.kool.ink" } }}curl -X POST https://kool.ink/api/links \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com"}'