Elasticsearch MCP Server

by awesimon
Verified

create_index_template

Define or modify Elasticsearch index templates to manage settings, mappings, and aliases for specific index patterns using the Elasticsearch MCP Server.

Instructions

Create or update an Elasticsearch index template

Input Schema

NameRequiredDescriptionDefault
indexPatternsYesArray of index patterns this template applies to
nameYesName of the index template
priorityNoOptional template priority - higher values have higher precedence
templateYesTemplate configuration including settings, mappings, and aliases
versionNoOptional template version number

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "indexPatterns": { "description": "Array of index patterns this template applies to", "items": { "type": "string" }, "minItems": 1, "type": "array" }, "name": { "description": "Name of the index template", "minLength": 1, "type": "string" }, "priority": { "description": "Optional template priority - higher values have higher precedence", "type": "number" }, "template": { "additionalProperties": {}, "description": "Template configuration including settings, mappings, and aliases", "type": "object" }, "version": { "description": "Optional template version number", "type": "number" } }, "required": [ "name", "indexPatterns", "template" ], "type": "object" }

You must be authenticated.

Other Tools from Elasticsearch MCP Server

Related Tools

ID: p1bzvj7dt9