We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gentiku/remote-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
README_RAILWAY.mdβ’1.94 KiB
# π§ Spotify MCP Server - Railway Ready!
## π Ready for Railway Deployment
Your Spotify MCP Server is now fully configured for Railway deployment with a beautiful web interface!
### π Files Created/Updated:
- β `app.py` - FastAPI server with web dashboard
- β `spotify_client_railway.py` - Railway-optimized Spotify client
- β `railway.json` - Railway configuration
- β `Procfile` - Process configuration
- β `RAILWAY_DEPLOYMENT.md` - Detailed deployment guide
### π Features:
- **π¨ Beautiful Web Dashboard** at `/dashboard`
- **π API Endpoints** for top songs and recent tracks
- **π Auto-refresh** functionality
- **π± Mobile responsive** design
- **π‘οΈ Error handling** with fallback data
- **π Token management** for authentication
### π Available Endpoints:
- `/` - Server info
- `/dashboard` - Beautiful Spotify dashboard
- `/top-songs` - JSON API for top tracks
- `/recent-songs` - JSON API for recent tracks
- `/health` - Health check for Railway
### π― Quick Deploy Steps:
1. **Push to GitHub**:
```bash
git add .
git commit -m "Railway-ready Spotify MCP Server"
git push
```
2. **Deploy on Railway**:
- Go to [railway.app](https://railway.app)
- Connect your GitHub repo
- Add environment variables:
```
SPOTIFY_CLIENT_ID=c9838c5e918344d6b17e69052d2bbc26
SPOTIFY_CLIENT_SECRET=0815bfd33c504a39b63f6bffd3086ddf
SPOTIFY_REDIRECT_URI=https://httpbin.org/get
```
3. **Visit your deployed app**!
### π΅ What You'll See:
Your deployed app will show your actual Spotify data:
- Your top 10 most played songs
- Recently played tracks with timestamps
- Beautiful Spotify-themed UI
- Real-time data from your Spotify account
### π§ Local Testing:
The server is currently running at http://localhost:8000
- Visit the dashboard to see your Spotify data
- Test all endpoints before deploying
## π You're All Set!
Your Spotify MCP Server is production-ready for Railway deployment!