Skip to main content
Glama
Percona-Lab

VISTA Data MCP Server

by Percona-Lab

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ES_HOSTNoElasticsearch hostname (required if using Elasticsearch)
ES_PORTNoPort for Elasticsearch9200
ES_USERNoUsername for Elasticsearch basic auth
ES_SECURENoUse HTTPS for Elasticsearchtrue
ES_MAX_HITSNoMax hits per Elasticsearch search500
ES_PASSWORDNoPassword for Elasticsearch basic auth
CLICKHOUSE_HOSTNoClickHouse server hostname (required if using ClickHouse)
CLICKHOUSE_PORTNoHTTP(S) port for ClickHouse8443
CLICKHOUSE_USERNoClickHouse usernamedefault
ES_VERIFY_CERTSNoVerify SSL certificates for Elasticsearchtrue
ES_QUERY_TIMEOUTNoElasticsearch query timeout in seconds30
CLICKHOUSE_SECURENoUse HTTPS for ClickHousetrue
CLICKHOUSE_DATABASENoDefault ClickHouse databasedefault
CLICKHOUSE_MAX_ROWSNoMax rows per ClickHouse query500
CLICKHOUSE_PASSWORDNoClickHouse password
CLICKHOUSE_QUERY_TIMEOUTNoClickHouse query timeout in seconds30

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
query_clickhouseA

Run a read-only SQL query against ClickHouse (telemetry data).

Only SELECT, SHOW, DESCRIBE, and EXPLAIN statements are allowed. Results are capped at 500 rows by default.

Use this for product telemetry: active instances, version distribution, storage engines, deployment types, CPU architecture, cluster metrics.

Args: sql: A read-only SQL statement.

Examples: - SELECT count() FROM telemetry WHERE product = 'MySQL' - SELECT version, count() as n FROM telemetry GROUP BY version ORDER BY n DESC - SHOW TABLES

ch_list_databasesA

List all databases accessible in the ClickHouse instance.

ch_list_tablesA

List all tables in a ClickHouse database.

Args: database: Database name. If omitted, lists tables in the default database.

ch_describe_tableA

Show the schema (columns, types, comments) of a ClickHouse table.

Args: table: Table name. database: Database name. If omitted, uses the default database.

ch_sample_dataA

Get sample rows from a ClickHouse table (up to 100 rows).

Useful for understanding telemetry data structure before writing queries.

Args: table: Table name. database: Database name. If omitted, uses the default database. limit: Number of rows to return (1-100, default 10).

search_elasticsearchA

Run an Elasticsearch query (JSON DSL) against download/package data.

Use this for product download data: downloads by product, package type, OS, components, growth rates, EOL packages, Pro-builds.

Args: index: The Elasticsearch index to search. query_body: A JSON string containing the Elasticsearch query DSL. Supports match, term, range, bool, aggregations, etc. size: Max documents to return (default 500).

Examples: - {"query": {"match": {"product": "postgresql"}}, "size": 20} - {"size": 0, "aggs": {"by_package": {"terms": {"field": "package_type"}}}} - {"query": {"range": {"date": {"gte": "2025-01-01"}}}}

es_list_indicesA

List all Elasticsearch indices with document counts and sizes.

Use this to discover available download/package data indices.

es_get_mappingA

Show the field mapping (schema) for an Elasticsearch index.

Args: index: The index name to inspect.

es_sample_dataA

Get sample documents from an Elasticsearch index (up to 100).

Useful for understanding download data structure before writing queries.

Args: index: The index name. size: Number of documents to return (1-100, default 10).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Percona-Lab/vista-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server