Connect your AI agent to ClusterNest over MCP
ClusterNest now runs an MCP server, so a coding agent can create clusters, rotate credentials, manage organizations and read invoices directly. Paste one URL into your client, log in through the browser, and it works inside your own account.
What the agent gets
The server exposes the REST API’s operations as tools, so an agent sees them the way it sees its own file and shell tools:
- Create, read, update and delete OpenSearch and Prometheus clusters.
- Read and rotate cluster credentials.
- Create and manage organizations, invite members, change roles, remove them.
- Read the current invoice and the invoice history.
Nothing is agent-only, and nothing is withheld from the agent that the console has. It is the same control plane the console, the Terraform provider and the API all sit on.
Connecting
Two values, the same for everyone:
Server URL https://api.clusternest.com/mcp
OAuth Client ID mcp
There is no client secret and nothing to pre-register. The client discovers where to send you, opens a browser window, and you log in with the ClusterNest account you already have. From then on the client refreshes its own token.
In Claude, that is Settings > Connectors > Add custom connector with those two values in. In Claude Code it is one command:
claude mcp add --transport http --client-id mcp --scope user clusternest https://api.clusternest.com/mcp
Codex and Cursor take the same server URL and client ID in their own config files. The MCP guide has the exact syntax for each, and a static-token option for clients that don’t do OAuth at all.
What it can and can’t do
The agent acts as you. It sees the organizations you belong to and nothing else, and your role in each one decides what it is allowed to change there, exactly as it does in the console. Revoking access is a session logout on the client’s side, or removing the account’s access on ours.
Everything above is available on every tier at no extra charge, the same as the API and the Terraform provider.
Get started
Add the connector, then ask for something small first: what organizations am I in? is a good opener, and gives the agent the organization ID it needs for everything else. Full setup for each client is in the MCP guide. Questions go to hello@clusternest.com.