Skip to main content
GET
Read the MCP step

Authorizations

Authorization
string
header
required

Clerk API key. Create one in Settings → API Keys. Pass as Authorization: Bearer <key>. Keys carry a scope — read, write (implies read) or admin (implies write) — chosen when the key is minted. Each operation's security requirement (and its x-required-scope extension) names the minimum scope it needs; request the least-privileged key that covers the operations you call.

Response

200 response

endpoint
string
required

The MCP v2 server (<origin>/api/mcp/v2) the CLI writes into the tool's config. URL only: the tool signs in to Octolens with OAuth on first use. No API key is ever minted for MCP (OCT-1814).

Example:

"https://app.octolens.com/api/mcp/v2"

auth
string
required
Allowed value: "oauth"
connected
boolean
required
connectedAt
string | null
required

ISO-8601.