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