> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/ai/mcp-server/use-cases/manage-infrastructure.md).

# Manage Infrastructure with AI

**Who this is for:** DevOps engineers, SREs, platform engineers, and network engineers who audit <code class="expression">space.vars.ionos\_cloud</code> infrastructure without leaving their AI client or opening the DCD console.

Use the MCP server to audit, explore, and cross-reference your IONOS CLOUD infrastructure through natural language, without switching away from your AI client.

{% hint style="info" %}
**Note:** All tools are read-only. You can inspect and query resources, but the MCP server cannot power servers on or off, resize resources, attach storage, or make any modifications. Use the [<mark style="color:blue;">DCD</mark>](https://dcd.ionos.com/) or [<mark style="color:blue;">IONOS CLOUD API</mark>](https://api.ionos.com/docs/) for write operations.
{% endhint %}

Most Compute Engine tools are scoped to a specific data center. When asking about servers, volumes, or LANs, include the data center name or ID for best results.

## List and inspect resources

Ask your AI assistant to list and describe your resources:

> List all my data centers and their locations.

> Show me the servers in data center `abc-123`.

> What volumes are attached to server `web-01`?

The assistant calls the relevant tools (`list_datacenters`, `list_servers`, `list_server_volumes`) and returns the results in a readable format.

## Find and inspect networking resources

> List all LANs in my data centers.

> What are the firewall rules for server `db-01`?

> Do I have any IP blocks reserved that are not in use?

## Check load balancers and NAT gateways

> List all network load balancers and their forwarding rules.

> What NAT gateways are configured in data center `prod`?

## Review security groups

> List all security groups and their inbound rules.

> Which servers are in security group `web-tier`?

## Cross-reference resources

You can chain questions to navigate your infrastructure:

> Find all servers in Frankfurt and list their attached volumes.

> Which data centers have load balancers configured?

{% hint style="info" %}
**Note:** Compute Engine tools are registered at startup by default, so they are immediately available. If you have opted into lazy mode with `IONOS_MCP_LOAD_MODE=lazy`, ask your AI assistant to *load the Compute tools* first. For more information, see [<mark style="color:blue;">Selective Tool Loading</mark>](/cloud/ai/mcp-server/configuration/selective-tool-loading.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/ai/mcp-server/use-cases/manage-infrastructure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
