What You Can Do
POST
Createtoken
— NPR Create a new OAuth2 access token
/v2/token
GET
Getauthorizationpage
— NPR Show a web-based login/signup form to a user
/v2/authorize
POST
Generatedevicecode
— NPR Initiate an OAuth2 login flow for limited input devices
/v2/device
POST
Revoketoken
— NPR Revoke an existing OAuth2 access token
/v2/token/revoke
GET
Getuser
— NPR Get the latest state information about the logged-in user
/v2/user
DELETE
Deleteuser
— NPR Delete the user's account
/v2/user
PUT
Updatestations
— NPR Update the logged-in user's favorite station(s)
/v2/stations
POST
Postfollowing
— NPR Update the following status of the logged-in user for a particular aggregation
/v2/following
MCP Tools
createtoken
NPR Create a new OAuth2 access token
getauthorizationpage
NPR Show a web-based login/signup form to a user
read-only
idempotent
generatedevicecode
NPR Initiate an OAuth2 login flow for limited input devices
revoketoken
NPR Revoke an existing OAuth2 access token
getuser
NPR Get the latest state information about the logged-in user
read-only
idempotent
deleteuser
NPR Delete the user's account
idempotent
updatestations
NPR Update the logged-in user's favorite station(s)
idempotent
postfollowing
NPR Update the following status of the logged-in user for a particular aggregation