Skip to main content
Glama

Elasticsearch MCP Server

Apache 2.0
192
  • Apple

index_document

Add or update a document in a specified Elasticsearch index, allowing users to manage and store structured data efficiently using specified document IDs or auto-generated IDs.

Instructions

Creates or updates a document in the index. Args: index: Name of the index document: Document data id: Optional document ID

Input Schema

NameRequiredDescriptionDefault
documentYes
idNo
indexYes

Input Schema (JSON Schema)

{ "properties": { "document": { "additionalProperties": true, "title": "Document", "type": "object" }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id" }, "index": { "title": "Index", "type": "string" } }, "required": [ "index", "document" ], "type": "object" }

Other Tools from Elasticsearch MCP Server

Related Tools

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/cr7258/elasticsearch-mcp-server'

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