music nerd

MCP OAuthList connected agents

MCP OAuth

List connected agents

The agents the signed-in user has connected to the MCP server, newest first. A connection lasts until the user disconnects it, and its refresh tokens rotate on every use. Reusing a refresh token that was already used disconnects the agent, if it is the last one used or was used in the past 30 days.

GET/api/oauth/connections
GET/api/oauth/connections

The agents the signed-in user has connected to the MCP server, newest first. A connection lasts until the user disconnects it, and its refresh tokens rotate on every use. Reusing a refresh token that was already used disconnects the agent, if it is the last one used or was used in the past 30 days.

Authorization

Authorizationstringrequired

A Privy access token for a signed-in Music Nerd user, as musicnerd.net holds it. Kept in this tab only.

cURL
curl --request GET \
  --url 'https://musicnerd-api.vercel.app/api/oauth/connections'

Send the request to see the live response here.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>. A Privy access token for a signed-in Music Nerd user, as musicnerd.net holds it.

Response

application/json

The connections.

statusstring · enumrequired

Values: "ok"

connectionsarray<Connection>required
Item properties for connections
idstringrequired

The connection's ID.

agentstringrequired

The name the agent gave when it registered, like Claude. Not verified.

scopesarray<string>required

What the member approved, like mcp:tools.

Item properties for scopes

string

connectedAtstringrequired

format: date-time

lastUsedAtstring | null

When the agent last refreshed its token, or null.

format: date-time