Skip to main content
Glama
thiagorchaves

AWS OpenSearch MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AWS_SDK_LOAD_CONFIGYesSet to '1' to enable AWS SDK to load config profiles from ~/.aws/config (required)1
AWS_OPENSEARCH_MCP_CONFIGYesPath to the configuration YAML file (required)
AWS_OPENSEARCH_MCP_LOG_LEVELNoLogging level (optional, default INFO)INFO

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
list_aws_profilesA

List allowlisted AWS profiles, whether they exist locally, and allowed regions.

list_domainsB

List Amazon OpenSearch Service domains visible to an allowlisted AWS profile.

get_domain_configC

Read the managed-domain configuration, nodes, storage, networking and security posture.

get_cluster_healthC

Get OpenSearch cluster health at cluster, indices, or shards level.

get_cluster_statsC

Get high-level cluster, node, shard, document and storage statistics.

list_indicesB

List matching indices ordered by storage size with health, shards and document counts.

get_index_detailsB

Read settings, mappings, aliases and operational stats for an index or safe pattern.

search_indexC

Run a bounded read-only Query DSL search. Scripts and runtime mappings are blocked.

get_latest_documentsC

Return newest documents sorted by a date field, optionally restricted by lookback hours.

get_field_mappingB

Inspect one field across matching index mappings and report mapping type conflicts.

get_field_countC

Estimate mapped field counts and compare them with index.mapping.total_fields.limit.

get_shard_allocationB

List primary and replica shard states, nodes, sizes and unassigned reasons.

explain_unassigned_shardB

Explain the first unassigned shard, or a specific shard when all shard fields are given.

get_disk_allocationC

Get per-node disk allocation and shard counts ordered by disk percentage.

get_cluster_settingsC

Read transient, persistent, and optionally default cluster settings.

get_indexing_statsC

Get document, storage, indexing, search, merge, refresh and segment statistics.

get_pending_tasksC

List pending cluster-manager tasks and their queue wait time.

get_ingest_pipelinesC

Read all ingest pipeline definitions visible to the current AWS identity.

diagnose_clusterB

Generate an evidence-based read-only diagnosis for health, shards, disk and flood-stage blocks.

diagnose_timestampB

Diagnose stale data by checking date mappings, min/max values, and newest/oldest samples.

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/thiagorchaves/aws-opensearch-mcp-server'

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