Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

template_create

Create index templates to define mappings, settings, and aliases for matching index patterns in Easysearch, ensuring consistent data structure and behavior across multiple indices.

Instructions

    创建索引模板
    
    参数:
        name: 模板名称
        index_patterns: 匹配的索引模式列表
        template: 模板内容(mappings、settings、aliases)
        priority: 优先级
        composed_of: 组件模板列表
    
    示例:
        template_create("logs-template", 
            index_patterns=["logs-*"],
            template={
                "settings": {"number_of_shards": 3},
                "mappings": {"properties": {"@timestamp": {"type": "date"}}}
            },
            priority=100
        )
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
index_patternsYes
templateYes
priorityNo
composed_ofNo
Install Server

Other Tools

Latest Blog Posts

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/cloudsmithy/easysearch-mcp-server'

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