OpenSearch
Query and manage OpenSearch clusters: search indices, mappings, and health.
OpenSearch
Query and manage OpenSearch clusters: search indices, mappings, and health. With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the OpenSearch MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every OpenSearch tool call against your policies.
Why MCPX
MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect OpenSearch once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.
Tools content
- ListIndexTool · Read-only
Lists all indices in OpenSearch with full information including docs.count, docs.deleted, store.size, etc.; if an index parameter is provided, returns detailed information about that specific index. - IndexMappingTool · Read-only
Retrieves index mapping and setting information for an index in OpenSearch. - SearchIndexTool · Read-only
Searches an index using a query written in query domain-specific language (DSL) in OpenSearch. - GetShardsTool · Read-only
Gets information about shards in OpenSearch. - ClusterHealthTool · Read-only
Returns basic information about the health of the cluster. - CountTool · Read-only
Returns number of documents matching a query. - ExplainTool · Read-only
Returns information about why a specific document matches (or doesn't match) a query. - MsearchTool · Read-only
Allows to execute several search operations in one request. - GenericOpenSearchApiTool · Write
A flexible tool that can call any OpenSearch API endpoint with custom paths, methods, query parameters, and request bodies, reducing tool explosion by providing a single interface for all OpenSearch APIs. - GetClusterStateTool · Read-only
Gets the current state of the cluster including node information, index settings, and more. - GetSegmentsTool · Read-only
Gets information about Lucene segments in indices, including memory usage, document counts, and segment sizes. - CatNodesTool · Read-only
Gets information about nodes in the OpenSearch cluster, including system metrics like CPU usage, memory, disk space, and node roles. - GetNodesTool · Read-only
Gets detailed information about nodes in the OpenSearch cluster, including static information like host system details, JVM info, processor type, node settings, thread pools, installed plugins, and more. - GetIndexInfoTool · Read-only
Gets detailed information about an index including mappings, settings, and aliases; supports wildcards in index names. - GetIndexStatsTool · Read-only
Gets statistics about an index including document count, store size, indexing and search performance metrics. - GetQueryInsightsTool · Read-only
Gets query insights from the /_insights/top_queries endpoint, showing information about query patterns and performance. - GetNodesHotThreadsTool · Read-only
Gets information about hot threads in the cluster nodes from the /_nodes/hot_threads endpoint. - GetAllocationTool · Read-only
Gets information about shard allocation across nodes in the cluster from the /_cat/allocation endpoint. - GetLongRunningTasksTool · Read-only
Gets information about long-running tasks in the cluster, sorted by running time in descending order. - CreateAgenticMemorySessionTool · Write
Creates a new session within a memory container.
Frequently asked questions
What is the OpenSearch MCP server?
Query and manage OpenSearch clusters: search indices, mappings, and health. Through Lunar.dev MCPX, OpenSearch connects to any MCP-compatible AI client behind a single governed gateway.
How do I connect OpenSearch to MCPX?
Add the OpenSearch server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles Credentials and routes every OpenSearch call through the gateway.
Is the OpenSearch MCP server official?
Yes. OpenSearch is an official, vendor-published MCP server, and MCPX governs it like any other server in your catalog.
What authentication does OpenSearch use with MCPX?
OpenSearch uses Credentials. MCPX enforces authentication at the gateway with token-based auth, OAuth, and role-based profiles, so you control which agents can invoke it.
How many tools does OpenSearch expose in MCPX?
OpenSearch exposes 50 tools. In MCPX you can enable or disable each tool per agent for least-privilege access.
