mcp-shoten-url
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-shoten-urlshorten https://example.com/my-long-article-url"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-shoten-url
This is an MCP server for creating shortened URLs using x.gd.
Installation
Note: You need to set the XGD_API_KEY environment variable.
How to get an x.gd API key
Access this link and enter your email address to issue an API key.
Installation Steps
When using Claude Code/Desktop
For Claude Code, add the following settings to ~/.claude.json. For Claude Desktop, add them to ~/Library/Application Support/Claude/claude_desktop_config.json.
{
"mcpServers": {
"shoten-url": {
"command": "npx",
"args": [
"@hatimitu__hat/mcp-shoten-url"
],
"env": {
"XGD_API_KEY": "your_api_key_here"
}
}
}
}When using VSCode
Add the following settings to your settings.json:
{
"mcp": {
"shoten-url": {
"command": "npx",
"args": [
"@hatimitu__hat/mcp-shoten-url"
],
"env": {
"XGD_API_KEY": "your_api_key_here"
}
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Create and manage short links, track clicks, and automate URL management
Free privacy-first URL shortener API. Shorten URLs with custom codes and automatic expiry. No tracking, no API keys required.
Turn long URLs into shre.me/code, and read the clicks: day, country, device, referrer.
Short links with QR, custom domains and bot-free click analytics. Create, edit, delete, analyze.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to create, manage, and analyze short URLs through complete URL shortening functionality. Supports batch operations, custom domains, click statistics, and comprehensive link management.67 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables URL shortening and management through MCP, allowing creation of short links with optional tags and expiry, search, and stats.15 npm1MIT
- AlicenseAqualityFmaintenanceEnables URL shortening, click tracking, and analytics for AI agents via the picoli.site API.528 npm2MIT
- AlicenseNot gradedqualityDmaintenanceEnables URL shortening using a hash-based approach with pay-per-call via x402 micropayments on Base L2.MIT