Hosted OpenSearch MCP

Hosted OpenSearch MCP (Cursor / Claude)

Logit.io hosts a read-only OpenSearch MCP server (opens in a new tab) for your Logs and OpenSearch stacks. Connect AI clients such as Cursor or Claude Desktop without running MCP locally.

Public URL:

@mcp.endpointAddress

Available on Business and Custom plans. MCP uses a dedicated API key, separate from your OpenSearch HTTP API key on {stack-id}-es.logit.io.

When signed in with MCP enabled on your selected stack, examples auto-fill @mcp.endpointAddress, @mcp.username, @mcp.apiKey, and @mcp.base64encodedAuthString. If placeholders remain, enable MCP under stack Settings → Access, then refresh docs.

What you get

  • Hosted MCP endpoint per stack (no container or local process to maintain)
  • Read-only queries against that stack's OpenSearch data
  • Dashboard copy-paste config for Cursor / Claude
  • Independent key rotation on Settings → Endpoints

MCP is not a substitute for the full OpenSearch REST API. For programmatic write access or stack-key automation, use Connect to Your Cluster. For role-scoped human/CI API access, use OpenSearch API (user credentials).

Prerequisites

  1. Account on a Business or Custom plan.
  2. A Logs or OpenSearch stack.
  3. Permission to enable MCP on the stack (stack administrator or account owner/admin).

Enable on a stack

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

Logit.io provisions {stack-id}-mcp.logit.io and generates a dedicated MCP API key.

Disable from the same Access card to remove the public MCP route for that stack.

Connection details

After enablement, open Settings → Endpoints. The OpenSearch MCP (read-only) section shows:

FieldValue
MCP URL@mcp.endpointAddress
Username@mcp.username
API KeyDedicated MCP key (not the OpenSearch -es key) — @mcp.apiKey when signed in
Example configJSON ready to paste into Cursor or Claude Desktop

You can rotate the MCP API key on the Endpoints page. The previous key stops working after rotation.

Cursor setup

  1. Copy the example MCP config from Settings → Endpoints, or use the auto-filled example below when signed in.
  2. Open Cursor MCP settings and add a server entry (or merge into your existing MCP config).
{
  "mcpServers": {
    "logit-opensearch": {
      "url": "@mcp.endpointAddress",
      "headers": {
        "Authorization": "Basic @mcp.base64encodedAuthString"
      }
    }
  }
}

The dashboard Endpoints page also provides a ready-to-copy block with the correctly encoded Authorization header.

Claude Desktop setup

Claude Desktop uses the same JSON shape. Paste the config from Settings → Endpoints (or the example above when signed in) into Claude's MCP server settings, then restart Claude Desktop if required by your client version.

Limitations

TopicBehaviour
Write operationsNot available — MCP is always read-only
CredentialsDedicated {stack-id}-mcp username + MCP API key; do not reuse the -es stack API key
PlanBusiness and Custom only
ScopeOne MCP endpoint per stack; enable separately on each stack you need

Troubleshooting

SymptomWhat to check
401 UnauthorizedUsing the MCP username (@mcp.username) and MCP API key from Endpoints? Key recently rotated?
404 / connection failedMCP enabled on the stack? URL exact (@mcp.endpointAddress)? DNS may take a short time after enable.
Client cannot list toolsConfirm the client supports remote MCP over HTTPS with custom headers; re-paste the dashboard config.
Expected write tool missingBy design — hosted MCP does not expose write tools.
Docs still show placeholdersSelect a stack with MCP enabled and refresh; JWT cookie only includes MCP fields when the feature is on.

Next steps