CuratedMCP
OpenAI Agents SDK
Free

How to Install Elastic Cloud MCP in OpenAI Agents SDK

Official Elastic Cloud integration — search, observability, and analytics across Elasticsearch and Kibana

What Elastic Cloud MCP does

The official Elastic Cloud MCP server gives AI agents access to search, logs, metrics, and analytics on Elastic Cloud. It can query indexes, inspect dashboards, and surface observability alerts. Features: - Search Elasticsearch indexes and run analytics queries - Inspect Kibana dashboards and visualisations - Query logs, metrics, and traces - Manage index templates and ingest pipelines - Set up alerts and anomaly detection jobs - Explore schema mappings and field usage Elastic Cloud MCP is built for teams using Elastic for search and observability who want AI to interact with their deployment safely.

elastic
elasticsearch
kibana
search
logs

Installation steps

  1. 1Install: pip install openai-agents
  2. 2Copy the snippet below into your agent code
  3. 3Replace placeholder env values with your real keys
  4. 4Pass mcp_servers=[mcp_server] to your Agent()

Python snippet

Python snippetpython
from agents import Agent
from agents.mcp import MCPServerStdio

mcp_server = MCPServerStdio(
    command="npx",
    args=["-y", "@elastic/mcp"],
    env={
        "ELASTICSEARCH_URL": "https://example.es.amazonaws.com",
        "ELASTICSEARCH_API_KEY": "...",
    },
)

agent = Agent(
    name="My Agent",
    model="gpt-4o",
    mcp_servers=[mcp_server],
)
Full server details Open Config Editor

Install in other clients

For maintainers

If you maintain Elastic Cloud MCP, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://curatedmcp.com/api/badge/elastic-cloud-mcp)](https://curatedmcp.com/marketplace/elastic-cloud-mcp)