Skip to content
Documentation

Connect an AI Agent via MCP

ClusterNest runs an MCP connector that exposes the same operations as the REST API as tools: creating, updating, and deleting OpenSearch and Prometheus clusters, managing organization members, and reading invoices. Any MCP-compatible client can connect to it and act on your account directly, using your normal ClusterNest login.

It also reaches the data inside an OpenSearch cluster that has the ClusterNest sign-in, as every new cluster does: it can turn on the cluster’s own MCP server and run its tools for you, so one connection covers both. See Connect an AI agent to your OpenSearch cluster.

A hosted client, such as the Claude apps, reaches your clusters from its provider’s addresses, not from your device. A cluster with an IP allowlist has to include them, so allowlist the provider’s published outbound ranges (Anthropic’s for Claude).

Server URL https://api.clusternest.com/mcp
OAuth Client ID mcp
OAuth Client Secret (leave blank - this is a public client)

Every client below uses these same two values. There’s nothing to pre-register - pasting the URL and Client ID in, then logging in through the browser prompt that appears, is the whole setup.

Go to Settings > Connectors > Add custom connector, then fill in:

  • Remote MCP server URL: https://api.clusternest.com/mcp
  • OAuth Client ID: mcp
  • OAuth Client Secret: leave blank

Click Connect - a browser window opens to log into your ClusterNest account and approve access. Claude handles token refresh on its own after that.

claude mcp add --transport http --client-id mcp --scope user clusternest https://api.clusternest.com/mcp

--scope user makes the server available from any project directory rather than just the one you ran the command in. Then run /mcp and select Authenticate to complete the browser login.