Skip to content
MCP server
RegistryRemote

iShortn MCP Server

Create, edit and delete short links, read click analytics and make QR codes in iShortn.

iShortn scores 70 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Uncategorized. GitHub shows 152 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by amoabakelvinMITTypeScript152 stars
Trust score
70Good
Trust score 70 of 100, Good

Good trust

70 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 70 comes from

22 + 20 + 7 + 10 + 4 + 7 = 70. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity7 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 7 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "amoabakelvin-ishortn-ink": {      "url": "https://ishortn.ink/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Self-hosting at a glance

  • Runs as one Cloudflare Worker and needs the Workers Paid plan (KV, Hyperdrive, Queues and a raised CPU limit).
  • Needs a MySQL 8 database Cloudflare can reach, and a Clerk application for sign-in.
  • There is no Docker image (compose.yaml is only for local development); you deploy from a clone with bun run deploy.

Full steps: self-hosting guide.

About

iShortn is an open-source URL shortener and link intelligence platform. It turns long URLs into short, branded links and gives you deep insight into every click — country, city, device, referrer, and hour-by-hour trends — without shipping third-party cookies or chasing visitors across the web.

Use it for marketing campaigns, product onboarding, event tracking, newsletter links, QR codes on printed material, or as a self-hosted alternative to proprietary shorteners.

Features

Link management

  • Custom short aliases and friendly names
  • Custom domains
  • Password-protected links
  • Expiration dates and click limits
  • One-click deactivation
  • Folders to organise links
  • UTM builder and reusable templates
  • QR code generation with logo overlay
  • Bulk CSV import and export
  • Full REST API for links

Analytics

  • Total clicks and unique visitors
  • Country, region, and city breakdowns
  • Device, OS, and browser stats
  • Referrer and source tracking
  • Time-series click charts
  • Per-link dashboards
  • Privacy-friendly tracking (no third-party cookies)

Platform

  • Authenticated workspaces via Clerk
  • Subscription billing with Lemon Squeezy
  • Transactional email via Resend and React Email
  • S3-compatible object storage via Cloudflare R2
  • Dark and light themes
  • Built-in safe-browsing checks for submitted URLs

Screenshots

Dashboard

Manage all your links, filter by status and tags, and see click counts at a glance.

Analytics

Per-link analytics with click volume over time, unique visitor counts, and geography and device breakdowns.

Tech Stack

Getting Started

Prerequisites

  • Bun 1.1+ and Node 22 (mise install picks both up from mise.toml)
  • Docker with Compose v2, for the local MySQL
  • A free Clerk application: copy the two keys from API keys in the dashboard

One command

git clone https://github.com/AmoabaKelvin/ishortn.ink.git
cd ishortn.ink
bun install
bun run setup   # .env + secrets, MySQL via compose, schema, sample data
bun dev

bun run setup is idempotent: it creates .env from .env.example, generates the secrets the app needs (IP_HASH_SECRET, VERIFIED_CLICKS_SECRET, CRON_SECRET, a local WEBHOOK_SECRET), asks for your Clerk keys if they are still placeholders, starts compose.yaml, pushes the Drizzle schema and seeds a dev user with links, folders, tags and two weeks of click analytics. bun run d runs setup and the dev server in one go.

Then open http://localhost:3000 and sign in. Clerk development instances have test mode on: any name+clerk_test@example.com address works with the verification code 424242, so no email is sent (if your instance verifies by link instead, switch it to Email verification code under User & Authentication → Email). The first authenticated request creates your user row; run bun run seed --email you+clerk_test@example.com afterwards to attach the sample data to that account. Short links resolve straight away, for example http://localhost:3000/seed-docs.

Everything else is optional and documented per feature in .env.example: billing (Lemon Squeezy), email (Resend), custom domains (Cloudflare for SaaS), AI, analytics.

Webhooks without a tunnel

Both inbound webhooks can be replayed against the running dev server with a signed fixture:

bun run webhook clerk user.created                # svix-signed with WEBHOOK_SECRET
bun run webhook lemonsqueezy subscription_created # HMAC-signed with LEMONSQUEEZY_WEBHOOK_SECRET
bun run webhook lemonsqueezy subscription_cancelled --user user_xxx

Fixtures live in scripts/dev/fixtures/. For real deliveries from a provider dashboard, expose the dev server with bun run tunnel (needs cloudflared, no account required) and paste the printed URL plus /api/webhooks/clerk or /api/webhooks/lemonsqueezy into the provider, using the provider's signing secret in .env.

Cron jobs and the click queue

In production a Worker (custom-worker.ts) calls the /api/cron/* routes on a schedule and feeds click batches to /api/queue/clicks. Locally, trigger a cron the same way the Worker does:

bun run cron cleanup-expired   # or any route in CRON_ROUTES, such as entitlements

Under bun dev clicks are written inline instead of queued, so analytics update immediately. bun run preview builds the OpenNext bundle and runs it in workerd with the queue and KV emulated, for checking Worker-specific behaviour before deploying.

Image uploads

Uploads go to Cloudflare R2. Locally you can run MinIO as a stand-in:

docker compose --profile storage up -d

then uncomment the R2_* block in .env.example into your .env. bun run setup starts MinIO automatically once R2_ENDPOINT is set.

Email templates

bun run email:dev opens the React Email preview for src/emails on port 3001. Sending needs RESEND_API_KEY; without it sends are skipped and logged.

Self-hosting

To run your own instance on Cloudflare Workers with MySQL and Clerk, follow the self-hosting guide. It starts from wrangler.example.jsonc; the committed wrangler.jsonc holds the hosted service's resource IDs.

Scripts

CommandPurpose
bun run setupBootstrap: .env, secrets, compose stack, schema, seed (idempotent)
bun devStart the Next.js dev server with Turbopack
bun run dsetup then dev
bun run seed [--email x | --user id]Seed sample links and analytics for a user
bun run webhook <provider> <event>Replay a signed webhook fixture against the dev server
bun run cron <name>Trigger a cron route with the CRON_SECRET bearer
bun run tunnelExpose port 3000 through a Cloudflare quick tunnel
bun run email:devPreview email templates
bun run previewBuild with OpenNext and run under workerd (queues, KV, crons)
bun run stack:down / stack:resetStop the compose stack / stop and delete its volumes
bun run db:pushPush schema.ts to the database (what setup uses locally)
bun run db:generateGenerate a SQL migration for production
bun run db:migrateApply migrations to a deployed database
bun run db:baselineRecord drizzle/ as applied on a new self-hosted database
bun run db:studioOpen Drizzle Studio
bun testRun the unit tests
bun run typechecktsc --noEmit
bun run lintoxlint (with the anti-slop rules)
bun run format / format:checkoxfmt
bun run build / deployProduction build / OpenNext deploy to Cloudflare

Contributing

See CONTRIBUTING.md for the development workflow, conventions and how to submit a pull request.

License

Released under the MIT License.

Frequently asked questions

What is iShortn MCP Server?

Create, edit and delete short links, read click analytics and make QR codes in iShortn.

How do I install iShortn MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. iShortn MCP Server connects to the remote endpoint https://ishortn.ink/mcp, so there is nothing to install locally.

Is iShortn MCP Server free and open source?

Yes. iShortn MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does iShortn MCP Server support remote (HTTP) connections?

Yes. iShortn MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is iShortn MCP Server's trust score calculated?

iShortn MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server