What is MCP URL Shortener: Secure Links & Seamless Engagement?
MCP URL Shortener is a tool designed to shorten URLs securely using the CleanURI API, integrated as a FastMCP server. It simplifies URL management while ensuring robust error handling and secure link distribution. Ideal for developers and automation workflows, this tool runs via standard input/output (stdio) for seamless integration with AI agents or tool-based systems.
How to Use MCP URL Shortener: Secure Links & Seamless Engagement?
- Install Dependencies: Ensure Python 3.10+,
httpx
, andfastmcp
are installed. - Choose Your Setup:
- Use
npx -y @smithery/cli install @Talismanic/cleanuri-url-shortener-mcp --client claude
for automated Smithery installation. - Or manually install via
uv add httpx 'mcp[cli]'
. - Alternatively, build with Docker using
docker build -t url-shortener .
.
- Use
- Run the Tool: Execute
uv run main.py
for local use ordocker run
for containerized setups. - Integrate with Claude Desktop: Configure via JSON config files specifying commands for local CLI or Docker execution.