Import OAuth tokens
Changed onStores OAuth tokens you obtained yourself (e.g. via the SDK's runOAuthLogin — interactive loopback, headless, or client-credentials) for this server, scoped to your user, project, and server. Subsequent API calls against the server inject the stored access token automatically, and 401s from the server trigger a server-side refresh — no further caller involvement.
This closes the loop after an OAUTH_REQUIRED error.
Request
- Base URLhttps://app.mcpjam.com/api/v1
- URLhttps://app.mcpjam.com/api/v1/projects/{projectId}/servers/{serverId}/oauth/import-tokens
- AuthHTTP bearer
Path parameters
ID of the hosted project that contains the server.
ID of the server inside the project.
Request body
Response
Tokens stored.
Changes
- warning
added the new
CONFLICTenum value to theresponse property for the response status - warning
added the new
CONFLICTenum value to theresponse property for the response status - warning
added the new
CONFLICTenum value to theresponse property for the response status - warning
added the new
CONFLICTenum value to theresponse property for the response status - warning
added the new
CONFLICTenum value to theresponse property for the response status - warning
added the new
CONFLICTenum value to theresponse property for the response status - warning
added the new
CONFLICTenum value to theresponse property for the response status - warning
added the new
CONFLICTenum value to theresponse property for the response status
- warning
- info
endpoint added
- info