Skip to Content
dropshelf
REST API

Finish a sign-in

Where an MCP server's sign-in page sends the browser back. It answers with a redirect: to the path the sign-in was started with, or to the Connections page with what went wrong. A browser that is no longer signed in gets 401. Not called by clients.

GET
/api/v1/connections/callback

Where an MCP server's sign-in page sends the browser back. It answers with a redirect: to the path the sign-in was started with, or to the Connections page with what went wrong. A browser that is no longer signed in gets 401. Not called by clients.

Authorization

session
cookie__Host-dropshelf_session<token>

The dashboard session cookie. Its name has no __Host- prefix on an instance served over plain http, because browsers refuse prefixed cookies there. Unsafe methods must also send an Origin header equal to the control plane's origin; a request that sends no Origin at all passes instead on Sec-Fetch-Site: same-origin. POST, PUT and PATCH must declare Content-Type: application/json, application/zip, application/x-ndjson, application/octet-stream (one file of a plan) or, for an avatar, a PNG, JPEG or WebP image, on top of that, whether or not they carry a body; DELETE is held to the Origin rule alone.

Query Parameters

code?string

The server's code.

state?string

The state this instance sent.

error?string

The server's refusal.

Response Body

On to the page the sign-in began from, or to the Connections page.

Example Request
curl -X GET 'https://drop.example.com/api/v1/connections/callback'
Example Response
Empty

Generated from dropshelf core at 6a548b2, 26 Nov 2026.