Skip to main content
MCP server CX Codex

StackQL MCP Server — Claude Code MCP server

This MCP server exposes StackQL to an agent for SQL-based queries and provisioning across cloud resources and APIs. Use it to inspect or change infrastructure from a coding session.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add stackql-mcp -- npx -y @stackql/mcp-server
Open on GitHub

What StackQL MCP Server does

StackQL MCP Server connects an agent to StackQL, an engine that manages and queries service and resource state through SQL semantics. StackQL parses a statement, turns it into an API request for the selected provider, then returns the result. The project covers cloud and SaaS interfaces such as Google, AWS, Azure, Okta, and GitHub.

The server runs as @stackql/mcp-server through npx. StackQL itself can run as a standalone application in exec, shell, or srv mode; the latter accepts a PostgreSQL wire protocol client. Because setup starts the package with npx, that command must be available in the environment.

What it helps with

  • query cloud resource state with SQL
  • create or modify provider resources
  • retrieve records from cloud and SaaS APIs
  • inspect infrastructure from an agent chat

Example prompts for the agent

  • Check AWS resource state and present the result as a table.
  • Write a StackQL query that finds Azure resources with a given property.
  • Fetch GitHub data through StackQL and explain the records you find.

How to install StackQL MCP Server

Platform CLI

claude mcp add stackql-mcp -- npx -y @stackql/mcp-server

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about StackQL MCP Server

How do I install StackQL MCP Server in Claude Code?

Run claude mcp add stackql-mcp -- npx -y @stackql/mcp-server.

What does StackQL MCP Server do?

It connects StackQL to an agent through MCP. The agent can send SQL queries, which StackQL translates into API requests for cloud and SaaS providers.

Which platforms support StackQL MCP Server?

It can be connected to Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, and Zed.

Similar MCP servers

Everything for Cloud: AWS, Azure, GCP →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor