An OAuth Server for the music-streaming-mcp-server
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"oauth-music-streaming-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Secure OAuth 2.0 and MCP-compliant authorization server bridging Spotify’s Web API with Model Context Protocol (MCP) tool servers — built for scale, observability, and developer experience.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in entertainment / security
MCP Security Weekly
Get CVE alerts and security updates for Oauth Music Streaming Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Secure OAuth 2.0 and MCP-compliant authorization server bridging Spotify’s Web API with Model Context Protocol (MCP) tool servers — built for scale, observability, and developer experience.
This repository implements a custom OAuth 2.0 Authorization Server that bridges authentication between:
Built with ASP.NET Core 8, it delivers a secure and extensible authentication layer using:
Implements Spotify’s Authorization Code with PKCE flow for secure public-client authentication.
Flow Summary:
/authorize with code_challenge=S256code → /spotify-callback/token)
This ensures that no secrets are exposed client-side and that token exchanges are verified using code_verifier and S256.
var spotifyTokenRequest = new SpotifyTokenRequest
{
GrantType = "authorization_code",
Code = code,
RedirectUri = redirectUri,
CodeVerifier = verifier
};
Enables runtime client onboarding without manual setup.
Example Request:
POST /register
Content-Type: application/json
{
"client_name": "my-mcp-client",
"redirect_uris": ["https://localhost:3000/callback"],
"grant_types": ["authorization_code"],
"response_types": ["code"],
"scope": "mcp:tools openid profile email"
}
Response:
{
"client_id": "abc123",
"registration_access_token": "securetoken",
"registration_client_uri": "https://localhost:8080/register/abc123"
}
Dynamic registration allows multi-tenant tool ecosystems to register securely at runtime — ideal for automated AI agent provisioning and decentralized MCP tool discovery.
📘 Reference: RFC 7591 §3.3
Access tokens are minted as RSA-signed JWTs using a PEM private key, encapsulated by t