AgentHubAgentHub

elasticsearch-mcp-server

MCP ServerMCP Registry官方收录

io.github.cr7258/elasticsearch-mcp-server · v2.0.15

MCP server for interacting with Elasticsearch

概览

elasticsearch-mcp-server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "elasticsearch-mcp-server": {
      "command": "uvx",
      "args": [
        "elasticsearch-mcp-server"
      ]
    }
  }
}

环境变量

ELASTICSEARCH_HOSTS可选

Comma-separated list of Elasticsearch hosts (e.g., https://localhost:9200)

ELASTICSEARCH_API_KEY可选secret

API key for Elasticsearch or Elastic Cloud authentication (recommended)

ELASTICSEARCH_USERNAME可选

Username for basic authentication (alternative to API key)

ELASTICSEARCH_PASSWORD可选secret

Password for basic authentication (used with ELASTICSEARCH_USERNAME)

ELASTICSEARCH_VERIFY_CERTS可选

Whether to verify SSL certificates (true/false)

相关资源

统一 Manifest

{
  "id": "io.github.cr7258/elasticsearch-mcp-server",
  "type": "mcp-server",
  "version": "2.0.15",
  "displayName": "elasticsearch-mcp-server",
  "description": "MCP server for interacting with Elasticsearch",
  "repository": {
    "url": "https://github.com/cr7258/elasticsearch-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "elasticsearch-mcp-server",
        "version": "2.0.15",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "ELASTICSEARCH_HOSTS",
            "description": "Comma-separated list of Elasticsearch hosts (e.g., https://localhost:9200)"
          },
          {
            "name": "ELASTICSEARCH_API_KEY",
            "description": "API key for Elasticsearch or Elastic Cloud authentication (recommended)",
            "isSecret": true
          },
          {
            "name": "ELASTICSEARCH_USERNAME",
            "description": "Username for basic authentication (alternative to API key)"
          },
          {
            "name": "ELASTICSEARCH_PASSWORD",
            "description": "Password for basic authentication (used with ELASTICSEARCH_USERNAME)",
            "isSecret": true
          },
          {
            "name": "ELASTICSEARCH_VERIFY_CERTS",
            "description": "Whether to verify SSL certificates (true/false)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.cr7258/elasticsearch-mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cr7258%2Felasticsearch-mcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
elasticsearch-mcp-server — MCP Server 安装与配置 · AgentHub