# BuildOpenApiAndMcpRequest

The connector or tool files of a build, by kind.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `openApi` | [`BuildRequestItem`](https://docs.maitento.com/reference/types/build-request-item.md)`[]` | yes | HTTP (OpenAPI) files, from the project's `open-api/` folder. Constraints: required (empty or whitespace-only strings are rejected). |
| `modelContextProtocol` | [`BuildRequestItem`](https://docs.maitento.com/reference/types/build-request-item.md)`[]` | yes | MCP files (`[]` for none). Constraints: required (empty or whitespace-only strings are rejected). |

## Example

```json
{
  "openApi": [
    {
      "name": "...",
      "filename": "...",
      "lines": []
    }
  ],
  "modelContextProtocol": [
    {
      "name": "...",
      "filename": "...",
      "lines": []
    }
  ]
}
```

## Where it's used

- Inside [`BuildRequest`](https://docs.maitento.com/reference/types/build-request.md)
