Skip to main content

server_info

Returns the StackQL MCP server's identity and runtime: version, backing SQL engine, provider registry location, server mode, and the legacy read-only flag. Call this once at session start so the agent knows what it is connected to.

See also: [ MCP overview ] [ list_providers ] [ list_registry ]


Inputs

None.


Output

RendererShape
KV (markdown key/value block for the LLM)Structured payload with the fields below


FieldDescription
versionStackQL build version.
commitGit commit short hash.
build_dateRFC3339 build timestamp.
platformos/arch (e.g., linux/amd64).
transporthttp or stdio.
sql_backendBacking SQL engine (e.g., sqlite3).
provider_registryProvider registry URL.
modeActive server mode -- read_only, safe, delete_safe, or full_access.
is_read_onlyLegacy boolean flag (true iff mode == read_only).

Gating

Always allowed in every server mode. Not audited as a mutation.


Example

Try this prompt with any elicitation-capable MCP client with the StackQL MCP server registered:

What StackQL server am I connected to?  
Show me the version, mode, and where it pulls providers from.

Here's an example in Claude Desktop: