Logit.io
Hosted OpenSearch MCP for any MCP-compatible AI assistant
← Back to blog
7/30/2026 · 4 min read

Introducing Hosted OpenSearch MCP for any MCP-compatible AI assistant

Logit.io Team
Logit.io Team
Technical Content Team

Last updated 11/2/2026

NewsOpensearchHow To Guides

AI assistants are useful for drafting code and exploring APIs — but investigating live log and search data usually means leaving your editor, opening Dashboards, and rebuilding the same queries by hand. Hosted OpenSearch MCP closes that gap: Logit.io now runs a managed, read-only OpenSearch MCP server for your stacks so any MCP-compatible AI client or model can query your data over HTTPS, without you operating a local MCP process. Cursor and Claude Desktop are examples, not a limit.

Incident questions can stay next to the code you are changing: ask what failed after a deploy, which service is emitting errors, or how a latency spike lines up with a log pattern — using the same OpenSearch indexes your team already trusts.

Contents

What is Hosted OpenSearch MCP?

Model Context Protocol (MCP) lets AI clients call tools and data sources through a standard interface. Logit.io hosts that server for each enabled Logs or OpenSearch stack and exposes it at https://{stack-id}-mcp.logit.io/mcp.

From the dashboard you get a hosted MCP URL, a dedicated MCP username and API key, and copy-paste config for any MCP-compatible client (for example Cursor or Claude Desktop). Enablement and key rotation live under stack Settings — the same place you already manage endpoints.

AI clients connect through Logit.io hosted MCP to OpenSearch

Why hosted instead of local?

Self-hosting an OpenSearch MCP server means another process to run, credentials to wire, and upgrades to track. Hosted MCP is designed for teams that want AI-assisted investigation without that ops tax:

  • No local MCP process — enable per stack in the dashboard; we provision the public endpoint.
  • Read-only by design — investigation without write tools exposed through MCP.
  • Separate credentials — dedicated MCP API key, distinct from your OpenSearch -es HTTP API key.
  • Copy-paste client config — ready for any MCP-compatible client, including Cursor and Claude Desktop.

Hosted MCP is included in the 14-day free trial, so you can enable it on a stack straight away; paid access is on the Business and Custom plans.

Start Free Trial

Unlock complete visibility with hosted ELK, Grafana, and Prometheus-backed Observability

Start Free Trial

Enable MCP on a stack

You need a free trial or a Business or Custom plan, a Logs or OpenSearch stack, and permission to change stack access. Full steps are in the Hosted OpenSearch MCP docs. The short version:

  1. Open the stack Settings page (Overview).
  2. Under Access, find OpenSearch MCP.
  3. Select Enable.

Logit.io provisions https://{stack-id}-mcp.logit.io/mcp and generates a dedicated MCP API key. Disable from the same Access card to remove the public MCP route. Enable MCP separately on each stack you want AI clients to reach.

Three-step flow to enable Hosted OpenSearch MCP

Connect Cursor or Claude

After enablement, open Settings → Endpoints. The OpenSearch MCP (read-only) section shows the MCP URL, username, API key, and an example JSON config. Cursor and Claude Desktop are examples; any MCP-compatible client that supports remote MCP over HTTPS with custom headers can use the same URL, username and API key.

Paste that config into Cursor’s MCP settings, Claude Desktop’s MCP server settings, or the equivalent settings in any MCP-compatible client. The shape looks like this — replace placeholders with the values from Endpoints:

{
  "mcpServers": {
    "logit-opensearch": {
      "url": "https://{stack-id}-mcp.logit.io/mcp",
      "headers": {
        "Authorization": "Basic {base64-encoded-credentials}"
      }
    }
  }
}

You can rotate the MCP API key on the Endpoints page; the previous key stops working after rotation. Do not reuse your OpenSearch -es stack API key for MCP.

What you can ask

Once the client lists Logit.io MCP tools, keep prompts grounded in operational questions — recent error spikes for a service, unusual status codes on an API route, or log lines tied to a deploy window. The value is faster investigation inside the editor. Because MCP is read-only, it suits on-call workflows where you want AI help without granting write access through the assistant.

What MCP is not

Hosted MCP is for AI-assisted read access. It is not a substitute for:

Write tools are intentionally unavailable on hosted MCP.

Troubleshooting

Most connection issues come down to credentials, enablement, or client support for remote HTTPS MCP:

  • 401 Unauthorized — confirm you are using the MCP username and MCP API key from Endpoints (not the -es key), and that the key was not rotated since you copied it.
  • 404 / connection failed — confirm MCP is enabled on the stack and the URL matches exactly; DNS can take a short time after enable.
  • Client cannot list tools — confirm the client supports remote MCP over HTTPS with custom headers, then re-paste the dashboard config.
  • Expected write tool missing — by design; use the REST API or Developer API for writes and control-plane changes.

See the MCP docs troubleshooting section for more detail.

Get started

Product overview: Hosted OpenSearch MCP. Setup guide: Hosted OpenSearch MCP docs. For plans, Basic mode and enabling MCP from Access, see Set up Hosted OpenSearch MCP: plans, auth and stack access. If you already run Hosted OpenSearch on the free trial or a Business or Custom plan, enable MCP on a stack and try asking your AI client about a recent error pattern or latency spike in your indexes.

Get the latest Elastic Stack & logging resources when you subscribe

Want to see this in action?
Start a free trial and connect logs to your alert workflows.