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"
}
}
}
}