michaelshumshum/url-shortener-mcp
Create shortened URLs using the Model Context Protocol
Platform-specific configuration:
{
"mcpServers": {
"url-shortener-mcp": {
"command": "npx",
"args": [
"-y",
"url-shortener-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://www.typescriptlang.org/) [](https://nodejs.org/) [](https://expressjs.com/) [](https://www.prisma.io/) [](https://www.sqlite.org/) [](https://zod.dev/) [](https://vitest.dev/) [](https://modelcontextprotocol.io/) [](https://opensource.org/licenses/MIT)
A URL shortener exposed as an MCP server. Built with Express, Prisma, TypeScript, and SQLite.
Shorten URLs, set expiry times, and manage your links directly from any MCP-compatible LLM client.
> This server is designed to be deployed remotely. Short URLs are only useful if they resolve publicly, and MCP clients connect over HTTP — so the server should run on a machine with a public hostname (e.g. a VPS, cloud VM, or PaaS). Set HOSTNAME to your public domain and HTTPS=true in production. Running it on localhost is fine for development, but short links won't be shareable outside your machine.
The fastest way to get running — no cloning required:
npx url-shortener-mcp --port 3000 --hostname your-domain.com --https trueOn first run the server will:
Loading reviews...