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.

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

This connector manages your account: clusters, members, invoices. To let an agent search the data inside a cluster, see Connect an AI agent to your OpenSearch cluster, which covers OpenSearch’s own MCP server. The two are independent and an agent can hold both at once.

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.