MCP OAuth
Read a connection request
Checks an authorization request and says which agent is asking, for the Music Nerd sign-in page to show before the user approves. Takes the same query as Start authorization.
Query Parameters
response_typestring · enumrequiredAlways code.
Values: "code"
client_idstringrequiredThe client_id from registration.
redirect_uristringrequiredOne of the client's registered redirect URIs, exactly.
code_challengestringrequiredThe PKCE challenge: base64url SHA-256 of the code verifier.
code_challenge_methodstring · enumrequiredAlways S256.
Values: "S256"
statestringReturned unchanged to the client.
scopestringmcp:tools, the only scope. Optional.
resourcestringhttps://api.musicnerd.net/mcp, if sent.
Response
application/jsonThe request is valid.
statusstring · enumrequiredValues: "ok"
agentstringrequiredThe name the agent gave when it registered. Not verified.
redirectHoststringrequiredThe host the user is sent back to, like 127.0.0.1:33418.