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.
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.
AuthorizationBearer <token>A personal access token, odp_ followed by 43 characters. Create one in the dashboard.
source*stringThe source's name.
A token, or where to return to.
application/json- body
returnTo?stringA path on this instance to land on once connected; the Connections page when omitted.
token?stringThe token, for a server that takes one.
Where to send the browser.
application/json- response
authorizeUrl*stringThe server's sign-in page.
curl -X POST 'https://drop.example.com/api/v1/connections/string/connect' \ -H 'Content-Type: application/json' \ -d '{}'{ "authorizeUrl": "string"}Generated from dropshelf core at 6a548b2, 26 Nov 2026.
Finish a sign-in GET
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.
Connect a source POST
Admin only. name, driver, config and secret are required; policy defaults to open and visibility to any; cache times and limits default to the instance's connectors.defaults. secret is the credential, sealed at rest, or ${DROPSHELF_CONNECTOR_NAME} to read it from the server's environment. grants say who may use the source and what each may read; none means admins only.