Skip to main content
Glama

Elasticsearch MCP Server

create_index

Create an Elasticsearch index with custom settings and mappings to optimize data storage and retrieval for Elasticsearch MCP Server.

Instructions

Create an Elasticsearch index, optionally configure settings and mappings

Input Schema

NameRequiredDescriptionDefault
indexYesName of the Elasticsearch index to create
mappingsNoIndex mappings, defining field types, etc.
settingsNoIndex settings, such as number of shards and replicas

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "index": { "description": "Name of the Elasticsearch index to create", "minLength": 1, "type": "string" }, "mappings": { "additionalProperties": {}, "description": "Index mappings, defining field types, etc.", "type": "object" }, "settings": { "additionalProperties": {}, "description": "Index settings, such as number of shards and replicas", "type": "object" } }, "required": [ "index" ], "type": "object" }

You must be authenticated.

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

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