
mcp server
一个基于生成式AI的歌词搜索工具,支持多源搜索和标准化工具集成。
Repository Info
About This Server
一个基于生成式AI的歌词搜索工具,支持多源搜索和标准化工具集成。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Gen AI Lyrics Search Agent
A generative AI agent that can search for song lyrics across the web and return results in a specific format for mobile apps. Built with Model Context Protocol (MCP) for standardized tool integration.
Features
- 🔍 Web-based lyrics search across multiple sources
- 🤖 Generative AI-powered conversation interface
- 🔌 MCP-compliant tool integration
- 🚀 FastAPI-based REST API
- 🔒 Authentication and rate limiting
- 📊 Performance monitoring and analytics
Prerequisites
- Python 3.10 or higher
- Poetry for dependency management
- Docker (optional)
Setup
- Clone the repository:
git clone <repository-url>
cd lyrics-search-agent
- Install dependencies using Poetry:
poetry install
- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration
- Run the application:
poetry run uvicorn app.main:app --reload
Or using Docker:
docker build -t lyrics-search-agent .
docker run -p 8000:8000 lyrics-search-agent
API Documentation
Once the application is running, visit:
- API documentation: http://localhost:8000/docs
- ReDoc alternative: http://localhost:8000/redoc
Key Endpoints
GET /: Service informationPOST /search: Search for lyricsGET /tools: List available tools
Development
Project Structure
app/
├── __init__.py
├── main.py
├── mcp/
│ ├── __init__.py
│ └── protocol.py
└── tools/
└── web_search.py
Adding New Tools
- Create a new tool class in
app/tools/ - Implement the
BaseToolinterface - Register the tool in
app/main.py
Testing
Run tests using pytest:
poetry run pytest
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- OpenAI/Anthropic for LLM capabilities
- FastAPI for the web framework
- LangChain for LLM orchestration
Quick Start
Clone the repository
git clone https://github.com/tehmenghai/mcp-serverInstall dependencies
cd mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.