Skip to content

Your whole SQL Cockpit account, over one API

Your whole SQL Cockpit account over one API: the portal API reference, quick start, official SDKs, the CLI and the MCP server for your AI agent.

Your first call

Guide

Search 16 operations, pick one and copy the call, in cURL, Python, TypeScript or the CLI.

Quick start

Guide

Create a portal API key under Settings > Developer access, keep it in SQL_COCKPIT_API_KEY, then call GET https://portal.sql-cockpit.com/api/portal/v1/account with the header authorization: Bearer $SQL_COCKPIT_API_KEY.

SDKs and tools

Guide

Python, TypeScript, Go, PHP and PowerShell clients, the sqlcockpit CLI, the OpenAPI document and the hosted MCP server.

Build with your favourite AI agent

Guide

One prompt gives your coding agent the OpenAPI document, the base URL and the header every call carries.

How auth works

Guide

One bearer key in one header, scopes that limit what a key may do, and OAuth with sign-in for the hosted MCP server. Billing, plans and deleting things stay in the portal.