opensearch-mcp

v1.0.3
io.github.mrfentmen/opensearch-mcp Checked 3 days ago Published 26 days ago

Search OpenSearch indices, manage documents, check health and stats.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_health

Check the health of the OpenSearch cluster.

list_indices

List all indices in the OpenSearch cluster.

create_index

Create a new index with optional settings.

ParameterTypeDescription
index *stringIndex name
settingsstringJSON settings object (optional)

delete_index

Delete an index.

ParameterTypeDescription
index *stringIndex name to delete

get_index

Get information about a specific index.

ParameterTypeDescription
index *stringIndex name

search_index

Search for documents in an index.

ParameterTypeDescription
index *stringIndex name to search
query *stringSearch query string
fromnumberOffset for pagination (default 0)
limitnumberMax results (default 20)

search_raw

Search with raw OpenSearch query DSL (advanced usage).

ParameterTypeDescription
index *stringIndex name to search
query *stringFull OpenSearch query DSL as JSON string

index_document

Add a document to an index.

ParameterTypeDescription
document *stringJSON document to index
index *stringIndex name
idstringDocument ID (optional, auto-generated if omitted)

get_document

Retrieve a document by ID from an index.

ParameterTypeDescription
id *stringDocument ID
index *stringIndex name

delete_document

Delete a document by ID from an index.

ParameterTypeDescription
id *stringDocument ID to delete
index *stringIndex name

get_stats

Get statistics for all indices.

get_cluster_stats

Get cluster-wide statistics.

get_tasks

List all tasks in the cluster.

get_mappings

Get mapping definitions for an index.

ParameterTypeDescription
index *stringIndex name

list_shards

List all shards in the cluster.

list_nodes

List all nodes in the cluster.