/ ディレクトリ / プレイグラウンド / Elasticsearch MCP (Official)
● 公式 elastic ⚡ 即起動

Elasticsearch MCP (Official)

作者 elastic · elastic/mcp-server-elasticsearch

Official Elastic MCP server for Elasticsearch — search, aggregations, index inspection from your AI client.

Elasticsearch MCP (Official) is an MCP server maintained by elastic. Official Elastic MCP server for Elasticsearch — search, aggregations, index inspection from your AI client. See the repo README for installation, auth, and configuration: https://github.com/elastic/mcp-server-elasticsearch

なぜ使うのか

主な機能

ライブデモ

実際の動作

elasticsearch-mcp-official.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "elasticsearch-mcp-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/elastic/mcp-server-elasticsearch"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "elasticsearch-mcp-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/elastic/mcp-server-elasticsearch"
      ],
      "_inferred": true
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "elasticsearch-mcp-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/elastic/mcp-server-elasticsearch"
      ],
      "_inferred": true
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "elasticsearch-mcp-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/elastic/mcp-server-elasticsearch"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "elasticsearch-mcp-official",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/elastic/mcp-server-elasticsearch"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "elasticsearch-mcp-official": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/elastic/mcp-server-elasticsearch"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add elasticsearch-mcp-official -- git clone https://github.com/elastic/mcp-server-elasticsearch

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: Elasticsearch MCP (Official)

Use Elasticsearch MCP (Official) for its primary workflow

👤 Claude Code users / MCP clients ⏱ ~20 min intermediate

使うタイミング: See repo README for canonical use cases.

前提条件
  • Server installed / connection details ready — See https://github.com/elastic/mcp-server-elasticsearch
フロー
  1. Install
    Install Elasticsearch MCP (Official) per its README.✓ コピーしました
    → Server registered with the client
  2. Configure
    Provide credentials/config as instructed.✓ コピーしました
    → Successful auth/init
  3. Use
    Run a sample task with Elasticsearch MCP (Official).✓ コピーしました
    → Expected output

結果: You can drive the documented workflow end-to-end.

注意点
  • Skipping README — Read the repo README and CHANGELOG before shipping to prod.

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
primary see README Primary action free

コストと制限

運用コスト

APIクォータ
Bounded by upstream provider quotas (if any)
呼び出しあたりのトークン
Depends on usage
金額
Open source — check repo LICENSE
ヒント
Review upstream API costs (if any) before automating.

セキュリティ

権限、シークレット、影響範囲

最小スコープ: Whatever the upstream provider requires
認証情報の保管: Env vars or local config — never commit secrets
データ送信先: Forwards data per its README
絶対に付与しない: Full admin to untrusted prompts

トラブルシューティング

よくあるエラーと対処法

Auth fails

Verify credentials and required scopes match README.

確認: Re-read repo README auth section.
Tool not found by client

Ensure MCP client config points to correct command/path.

確認: Restart the client after editing config.

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る