# Show virtual server plan

> The product one vServer was ordered as, and the operating systems it can be reinstalled with.

- Effect: Read - Changes nothing.
- Idempotent: yes
- Stability: beta
- MCP tool: `manitu_vserver_product_get` on https://mcp.manitu.de/mcp
- REST: `POST https://api.manitu.de/v1/vserver/product/get`
- Needs: `service_vserver`
- Page: /reference/vserver/product/get/

## MCP tool

`manitu_vserver_product_get`

### Description for the model

Returns the product (plan) one virtual server of the manitu customer account was ordered as, by its vserver_id from manitu_vserver_list: code, names, description and technical data (CPU, RAM, disk, snapshot limits) as they were when it was ordered, and runtime.os_image_list - the operating systems it can be reinstalled with now. No prices here.

### Arguments

- `vserver_id` (integer | string, required) - The vserver_id from manitu_vserver_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)

### Example

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "manitu_vserver_product_get",
    "arguments": {
      "vserver_id": 12345
    }
  }
}
```

## REST

`POST https://api.manitu.de/v1/vserver/product/get`

### Authentication

One of `X-API-Key`, `Authorization: Bearer …` - never more than one in a request.

### Request body

JSON; unknown fields are refused.

- `vserver_id` (integer | string, required) - The vserver_id from manitu_vserver_list - never guess one. (pattern `"^[1-9][0-9]*$"`; minimum `1`)

### Response

In `data`; the rest of the body as on every call.

- `code` (string, required) - The product, e.g. "vserver_server_m".
- `name` (object | null, required) - short and long name, e.g. "M" and "vServer M".
- `category` (object | null, required)
- `description` (object | null, required) - short and summary text.
- `tech_data` (object | null, required) - hardware and management limits.
- `contract` (object | null, required) - null here - the terms belong to the contract.
- `runtime` (object, required) - What is current now - os_image_list: the operating systems, by code.

### Statuses

- `200` Success.
- `400` The request does not match the declared input schema.
- `401` No credential was presented, or it was not recognised.
- `403` The credential is not permitted to use this operation.
- `500` The server failed. Nothing about the request was wrong. Whether a change took effect is not known - check before trying it again.
- `503` The channel this operation forwards through is unavailable.

### Example

```sh
curl -X POST 'https://api.manitu.de/v1/vserver/product/get' \
  -H 'X-API-Key: $API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"vserver_id":12345}'
```

## Example result

```json
{
  "code": "string",
  "name": {},
  "category": {},
  "description": {},
  "tech_data": {},
  "contract": {},
  "runtime": {}
}
```
