# Nimbuz MCP Server: Manage Your Cloud with Claude, Cursor and Other AI Agents

> Connect Claude, Cursor, VS Code and other AI clients to Nimbuz through the Model Context Protocol, and deploy, debug and track costs by simply asking.

- URL: https://blog.nimbuz.tech/blog/nimbuz-mcp-server-manage-your-cloud-with-ai-agents/
- Author: Manoranjith
- Published: 2026-12-05
- Updated: 2026-12-05
- Category: Platform Features
- Tags: mcp, ai, automation, developer-tools

### Introduction

AI assistants such as Claude and Cursor have become part of everyday development. They write code, explain errors and review pull requests. But when it is time to deploy that code, check why a service is failing or find out what the cloud bill looks like, you usually have to leave the assistant and open another dashboard.

The **Nimbuz MCP Server** closes that gap. It connects your AI client to [Nimbuz](https://nimbuz.tech) through the **Model Context Protocol (MCP)**, so you can manage projects, environments, apps, managed tools, logs, metrics and billing by simply asking:

-   *"Why is the api app in shop-api production failing?"*
-   *"Deploy github.com/acme/web to staging."*
-   *"How much have I spent this month?"*

## What Is the Model Context Protocol?

The [Model Context Protocol](https://modelcontextprotocol.io) is an open standard that lets AI applications use external tools and data in a consistent way. An MCP server exposes a set of **tools** (such as "list apps" or "get logs"), and any MCP-compatible client, including Claude Code, Claude Desktop, Cursor, VS Code and Windsurf, can discover and call them.

The Nimbuz MCP Server exposes the Nimbuz platform as such a set of tools, so the AI can look things up and take actions on your behalf.

## How It Works

The server runs **on your own machine**. Your AI client starts it and talks to it over standard input and output. When the model calls a tool, the server calls the Nimbuz API with **your account API key**.

This means:

-   The AI can do exactly what your API key is allowed to do, and nothing more.
-   Nothing is hosted by a third party, and your data does not pass through anyone else.
-   You can revoke or narrow the key in the portal at any time.

## Requirements

-   **Node.js 18 or newer**
-   A Nimbuz **account API key** (it starts with `nmz_`), created in the portal under **Account → API keys**

The easiest way to provide the key is to log in once with the [Nimbuz CLI](https://www.npmjs.com/package/@nimbuz-tech/cli):

```bash
npx @nimbuz-tech/cli login
```

The MCP server reads the key the CLI saved and re-reads it on every call, so there is no need to restart your AI client after logging in again. Alternatively, set `NIMBUZ_API_KEY` in the server's environment.

## Setting Up the Server

### Claude Code

```bash
claude mcp add nimbuz -- npx -y @nimbuz-tech/mcp
```

To give it default scope and its own key:

```bash
claude mcp add nimbuz -e NIMBUZ_PROJECT=shop-api -e NIMBUZ_ENV=production \
  -e NIMBUZ_API_KEY=nmz_… -- npx -y @nimbuz-tech/mcp
```

Add `--scope project` to save the configuration in `.mcp.json` and share it with your team, or `--scope user` to use it in every project.

### Claude Desktop, Cursor, VS Code and Windsurf

Add the server to your client's MCP configuration. In Claude Desktop, open **Settings → Developer → Edit Config**:

```json
{
  "mcpServers": {
    "nimbuz": {
      "command": "npx",
      "args": ["-y", "@nimbuz-tech/mcp"],
      "env": { "NIMBUZ_PROJECT": "shop-api", "NIMBUZ_ENV": "production" }
    }
  }
}
```

Restart the client, and the Nimbuz tools appear in its tool list.

## What You Can Do

The server groups its tools so you can load only what you need:

-   **Projects:** list, create and update projects and environments, and check environment usage.
-   **Apps:** create apps from Git or a local archive, update and redeploy them, set variables and secrets, start, stop or restart them, and follow their releases.
-   **Tools:** browse the catalog, install PostgreSQL, MongoDB, n8n and more, then resize, start or stop them.
-   **Logs:** fetch runtime or build logs, filtered by time range or text.
-   **Metrics:** summarised CPU and memory usage for apps, tools, environments and containers.
-   **Domains:** expose apps publicly and manage custom domains.
-   **AI:** list models, create AI endpoints, set rate limits and check usage.
-   **Cron:** create and control scheduled jobs and view their executions.
-   **Billing:** invoices, month-to-date cost, cost forecast, credits and pricing.

By default the server loads projects, apps, tools, logs and metrics. Set `NIMBUZ_MCP_TOOLSETS` to `all`, or to a list such as `apps,logs,billing`, to choose for yourself.

The server also ships ready-made prompts: `deploy_app`, `diagnose_app` and `cost_report`.

## Example: Diagnosing a Failing App

Ask your assistant:

> Why is the api app in shop-api production failing?

The AI checks the app's status and latest release, reads the recent build and runtime logs, and compares CPU and memory with the app's limits. It then explains what went wrong, for example a missing environment variable or a container running out of memory, and can offer to fix it and redeploy.

Results are kept compact so they fit the model's context: metrics come back as current, average and maximum values against the limit, logs return only the lines you ask for, and very large results are cut short with a hint to narrow the query.

## Safety First

Giving an AI access to your cloud should never be risky. The Nimbuz MCP Server is built with several layers of protection.

### Scoped API keys

What a key may do is set in the portal: permissions per project, environment and action, an optional endpoint allow-list and an optional expiry. A good pattern is a dedicated key for your AI client, for example **read-only everywhere and write access only on staging**. API keys can never manage users, policies, two-factor authentication or other keys.

### Read-only mode

Set `NIMBUZ_MCP_READ_ONLY=true` and the server never loads tools that change anything. The AI can look, but not touch.

### Confirmation for destructive actions

Every tool tells the client whether it only reads or can destroy something, so clients can ask you before running it. Destructive tools such as `delete_app` or `remove_custom_domain` also require the exact resource name as confirmation, so a model cannot delete the wrong thing by accident.

### Secrets stay masked

Passwords and secret values are masked in every result. The two tools that return them in plain text are only loaded when you explicitly set `NIMBUZ_MCP_ALLOW_SECRETS=true`.

### Safe updates

Updates merge with the current configuration, so variables and secrets the AI does not mention are kept. Builds run asynchronously, and deployment tools can wait up to ten minutes and report progress instead of failing.

## Choosing a Project and Environment

If a request does not name a project or environment, the server uses, in order:

1.  `NIMBUZ_PROJECT` and `NIMBUZ_ENV`
2.  the context saved by `nimbuz use` in the CLI
3.  the only one that exists

If it still cannot decide, it lists the options and lets the model ask you.

## Conclusion

The **Nimbuz MCP Server** lets you run your cloud from the same place you write code. Ask your AI assistant to deploy an app, investigate a failure or explain your bill, and it does the work through your own scoped API key, with read-only mode, confirmations and masked secrets keeping you in control.

Add it to Claude Code with a single command and try it on [Nimbuz](https://nimbuz.tech) today.
