Skip to Content
dropshelf
REST API

Connect to a source

Connects you to an MCP server. For a server that takes a token, send the token: it is checked against the server and stored sealed; the answer is 204. For a server that signs in with OAuth, send returnTo or nothing: the answer is the address to open in the browser, and the sign-in ends back on this instance. A token is never returned by any route.

POST
/api/v1/connections/{source}/connect

Connects you to an MCP server. For a server that takes a token, send the token: it is checked against the server and stored sealed; the answer is 204. For a server that signs in with OAuth, send returnTo or nothing: the answer is the address to open in the browser, and the sign-in ends back on this instance. A token is never returned by any route.

Authorization

headerAuthorizationBearer <token>

A personal access token, odp_ followed by 43 characters. Create one in the dashboard.

Path Parameters

source*string

The source's name.

Request Body

A token, or where to return to.

application/json
  1. body
returnTo?string

A path on this instance to land on once connected; the Connections page when omitted.

token?string

The token, for a server that takes one.

Response Body

Where to send the browser.

application/json
  1. response
authorizeUrl*string

The server's sign-in page.

Example Request
curl -X POST 'https://drop.example.com/api/v1/connections/string/connect' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "authorizeUrl": "string"}

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