StackQL MCP Server

官方

使用SQL將雲端供應商的控制平面和資料平面暴露給代理,作為自我描述、可查詢且可變的資料來源,從而最小化工具表面和令牌使用量。

你可以用 StackQL MCP 做什麼?

  • Explore provider catalogs — List cached providers, their services, resources, and access methods to find what can be queried.
  • Inspect method contracts — Describe a single access method's inputs and output fields before writing a query.
  • Manage the registry — List available providers and versions in the registry, then pull a provider into the local cache.
  • Find and render query templates — Search the query library by intent, provider, service, or tags, then validate parameters to render SQL without executing it.
  • Validate and run SELECTs — Parse and plan a SELECT without executing it, or run it against a provider.
  • Run mutations and lifecycle operations — Execute INSERT, UPDATE, REPLACE, or DELETE, or an EXEC lifecycle operation, subject to the server mode.

文件

StackQL MCP Server - Listed on Claude AI DirectoryLISTED ON GitHub MCP Registry

These are the tools exposed by the StackQL MCP server. Availability of mutation and lifecycle tools depends on the server mode (read_only, safe, delete_safe, full_access). For information on installing the MCP server locally see here.

Server

server_info

Identity and runtime of the connected MCP server

reload_credentials

Re-source credentials from the --env.file dotenv file and report per-provider status

Discovery

list_providers

Providers pulled into the local StackQL cache

list_services

Services available under a provider

list_resources

Resources available under a provider.service

list_methods

Access methods available for a resource

describe_method

Full I/O contract of one access method: inputs and output fields

Registry

list_registry

Providers and versions available in the registry

pull_provider

Install a provider from the registry into the local cache

Query Library

query_library_search

Find curated query templates by intent, provider, service or tags

query_library_get

Retrieve a template and validate parameters to render SQL without executing it

Query

validate_select_query

Parse and plan a SELECT without executing it

run_select_query

Execute a SELECT against a provider

Mutation & Lifecycle

run_mutation_query

Run INSERT, UPDATE, REPLACE, or DELETE against a provider

run_lifecycle_operation

Execute a StackQL EXEC lifecycle operation