Servidor de youtube-mcp
1
Github Watches
0
Github Forks
0
Github Stars
YouTube MCP Server
A Flask server that interacts with the YouTube Data API to search for songs and retrieve video links.
Features
- Search for songs using the YouTube Data API.
- Retrieve video titles and URLs.
- Free to use (no Premium subscription required).
Prerequisites
- Python 3.x: Install from python.org.
- YouTube Data API Key: Get it from the Google Cloud Console.
Setup
1. Clone the Repository
git clone https://github.com/your-username/mcp-server.git cd youtube-mcp-server
2. Set Up a Virtual Environment
Create and activate a virtual environment: python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
3. Install Dependencies
Install the required Python packages
4. Set Up Environment Variables
Create a .env file in the project folder. Add your YouTube API key to the .env file: YOUTUBE_API_KEY=your_api_key_here
5. Run the Server
Start the Flask server:python app.py The server will run at http://localhost:5000.
Usage
Search for a Song Send a POST request to the /search endpoint with the following JSON body: { "song_name": "Shape of You" }
Example Response If the song is found, the server will return: { "status": "success", "message": "Found video: Shape of You - Ed Sheeran", "video_title": "Shape of You - Ed Sheeran", "video_url": "https://www.youtube.com/watch?v=JGwWNGJdvx8" } If no results are found, the server will return: { "status": "error", "message": "No videos found for 'Shape of You'" }
API Endpoints
GET /: Home page (returns "YouTube MCP Server is running!").
POST /search: Search for a song and retrieve video details.
Contributing
Contributions are welcome! Follow these steps to contribute: Fork the repository. Create a new branch (git checkout -b feature/your-feature). Commit your changes (git commit -m 'Add some feature'). Push to the branch (git push origin feature/your-feature). Open a pull request.
Contact
For questions or feedback, feel free to reach out: Your Name: rakeshjayanna19@gmail.com GitHub: rakeshjayanna
How to Use This README
- Copy the content above into a file named
README.mdin your project folder. - Replace
your-usernamein the clone URL with your GitHub username. - Replace
your_api_key_herewith your actual YouTube Data API key. - Customize the Contact section with your details.
Final Notes
- The README file is the first thing people see when they visit your GitHub repository. Make sure it’s clear, concise, and easy to follow.
- If you need further customization or have questions, let me know! 😊
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Espejo dehttps: //github.com/agentience/practices_mcp_server
Reviews
user_7MNp6vit
I've been using YouTube-MCP-Server by rakeshjayanna and it's truly a game-changer for managing YouTube content via MCP applications. The seamless integration and easy-to-follow instructions make it a top choice for developers looking to optimize their workflow. Highly recommended! For more details, check out the [GitHub page](https://github.com/rakeshjayanna/YouTube-MCP-Server).