URL 단축기 MCP 도구
이 프로젝트는 CleanURI API를 사용하여 간단한 URL 단축 도구를 제공하며 FastMCP 서버 도구로 실행되도록 설계되었습니다.
✨ 특징
CleanURI API를 사용하여 주어진 URL을 단축합니다.
FastMCP를 통해 도구로서의 기능을 공개합니다.
적절한 오류 처리와 응답 검증이 포함됩니다.
에이전트나 도구 기반 시스템과의 통합을 위해
stdio전송을 통해 실행되도록 설계되었습니다.
🚀 사용법
1. 요구 사항
파이썬 3.10+
httpxfastmcp
2. 설치
Smithery를 통해 설치
Smithery 를 통해 Claude Desktop용 URL Shortener Tool을 자동으로 설치하는 방법:
지엑스피1
수동 설치
uv add httpx 'mcp[cli]'
Docker 설치:
docker build -t url-shortener .
3. 달리기
uv run main.py
Docker 기반 사용의 경우 여기서는 아무것도 할 필요가 없습니다.
4. Claude Desktop 추가
자외선으로
{
"mcpServers": {
"url-shortener": {
"command": "/Users/{userName}/.local/bin/uv",
"args": [
"--directory",
"{path_to_repo}/cleanuri-url-shortener-mcp",
"run",
"main.py"
]
}
}
}
도커를 사용하여
{
"mcpServers": {
"url-shortener": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"-e",
"DOCKER_CONTAINER=true",
"url-shortener"
]
}
}
}
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
CleanURI API를 사용하여 URL을 단축하는 간단한 도구를 제공하며, 에이전트나 도구 기반 시스템과 통합 가능한 FastMCP 서버로 실행되도록 설계되었습니다.
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityEnables AI agents to create, update, and manage short links through your Dub.co account, allowing for creation, modification, and deletion of custom shortened URLs.Last updated -23MIT License
- -security-license-qualityA zero-configuration tool that automatically converts FastAPI endpoints into Model Context Protocol (MCP) tools, enabling AI systems to interact with your API through natural language.Last updated -1MIT License
- -securityAlicense-qualityA lightweight MCP server that enables agents to interface with Cloudflare's REST API, allowing management of DNS records and other Cloudflare services.Last updated -316GPL 2.0
- -security-license-qualityA FastAPI server implementing the Model Context Protocol (MCP) for structured tool use, providing utility tools including random number generation, image generation via Azure OpenAI DALL-E, and AI podcast generation.Last updated -