Music Search MCP Server
Searches YouTube for music and returns playable URLs or information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Music Search MCP Serverplay the song 'Purano Shei Diner Kotha'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Music Search MCP Server (for XiaoZhi ESP32 Robot)
এই সার্ভারটা YouTube থেকে গান/মিউজিক search করে link/info দেয়। XiaoZhi robot এটাকে MCP tool হিসেবে ব্যবহার করে "গান বাজাও" বললে গান খুঁজে দেবে।
Tools এতে আছে
search_music — গানের নাম দিয়ে search, top 5 result দেখাবে
play_music — গানের নাম দিয়ে সবচেয়ে ভালো match খুঁজে সরাসরি playable URL দেবে
Related MCP server: YouTube MCP Server
দেশে (Local) টেস্ট করার নিয়ম
npm install
npm startসার্ভার চালু হবে http://localhost:3000/mcp এ।
ফ্রি hosting-এ Deploy করার নিয়ম (Render.com দিয়ে, সবচেয়ে সহজ)
এই পুরো ফোল্ডারটা একটা GitHub repo-তে push করুন (GitHub account লাগবে, ফ্রি)।
https://render.com এ গিয়ে ফ্রি account বানান।
New + → Web Service সিলেক্ট করুন।
আপনার GitHub repo connect করুন।
Settings এ:
Build Command:
npm installStart Command:
npm startInstance Type: Free
Deploy চাপুন। ২-৩ মিনিট পর একটা URL পাবেন, যেমন:
https://music-search-mcp.onrender.com
আপনার MCP endpoint হবে:
https://music-search-mcp.onrender.com/mcpRailway.app দিয়ে Deploy (বিকল্প, আরেকটু দ্রুত)
https://railway.app এ account বানান (GitHub দিয়ে login করা যায়)
New Project → Deploy from GitHub repo
এই repo সিলেক্ট করুন — Railway automatic build/start করে নেবে
Settings → Networking → Generate Domain চেপে public URL নিন
MCP endpoint:
https://<আপনার-app>.up.railway.app/mcp
XiaoZhi Console-এ যোগ করার নিয়ম
xiaozhi.me → Console → আপনার Agent এ যান
Custom Services সেকশনে "Get MCP Endpoint" বাটনে ক্লিক করুন
উপরে যে URL পেয়েছেন (যেমন
https://music-search-mcp.onrender.com/mcp) সেটা বসানSave চাপুন
Robot restart করুন — এখন "একটা গান বাজাও" বললে robot search_music/play_music tool ব্যবহার করে গান খুঁজে বলবে
গুরুত্বপূর্ণ নোট
এই সার্ভার শুধু গান খুঁজে URL/info দেয় — আসল audio playback ESP32 নিজে করতে হবে (যদি ESP32-এ speaker/audio decode করার ক্ষমতা থাকে) অথবা XiaoZhi platform নিজে থেকে সেই লিংক থেকে audio stream করে ESP32-তে পাঠাবে (এটা XiaoZhi-এর firmware/agent কনফিগের উপর নির্ভর করে)।
Render-এর ফ্রি tier কিছুক্ষণ inactive থাকলে "sleep" করে, প্রথম request-এ কয়েক সেকেন্ড দেরি হতে পারে — এটা সমস্যা না, স্বাভাবিক।
চাইলে আমি Spotify-ভিত্তিক সংস্করণও বানিয়ে দিতে পারি, কিন্তু তাতে Spotify Developer App + OAuth setup লাগবে, যেটা একটু বেশি ধাপের।
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/avikmittro4-max/music-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server