stackql/stackql

Query, provision and operate Cloud, SaaS, API and Model Context Protocol (MCP) resources through a unified SQL-based framework for humans and AI agents.

What it solves

StackQL provides a universal SQL-based interface to manage, query, and deploy cloud resources and SaaS APIs. It eliminates the need to learn multiple provider-specific APIs or CLI tools by allowing users to interact with services like AWS, Azure, Google Cloud, Okta, and GitHub using standard SQL semantics.

How it works

StackQL is a standalone Golang application that acts as a transpiler. It parses SQL statements and converts them into the corresponding API requests for the target cloud provider. It uses provider definitions (based on OpenAPI extensions) from a central registry to generate the necessary SQL schemas and API clients. Users can interact with it via an interactive shell, a command-line execution tool, or as a server using the Postgres wire protocol.

Who it’s for

It is designed for cloud engineers, DevOps professionals, and AI agent developers who need a unified way to provision infrastructure, perform cross-cloud audits, or provide AI agents with a structured way to interact with cloud environments.

Highlights

  • MCP Server Support: Implements the Model Context Protocol (MCP), allowing AI agents (like Claude or Cursor) to query and provision cloud resources via SQL.
  • Multi-Provider Support: Works across 40+ cloud and SaaS providers.
  • Flexible Interfaces: Accessible via a REPL shell, exec command, or a Postgres-compatible server mode.
  • No Database Required: Operates directly against APIs without needing to install or maintain a local database.

Related

  • Project
  • Project
  • Project
  • Project
  • Project