---
title: Manage the OpenLM MCP Connector on a self-hosted OpenLM Platform
description: Upgrade, reconfigure, roll back, monitor, turn off, and uninstall the OpenLM MCP Connector on a self-hosted OpenLM Platform, with the Helm chart values and ConfigMap settings it uses.
product: OpenLM Platform
---

To keep the OpenLM MCP Connector running in your cluster, make every change with `helm upgrade` and your values files, or in your settings ConfigMaps. Don't edit the Deployments by hand, because the next upgrade undoes the change.

The commands on this page use the namespace `openlm` and the files from [Add the OpenLM MCP Connector](https://www.openlm.com/documentation/cloud/mcp-reporting-server/on-premises/install).

## Upgrade to a new version

To upgrade, install the new chart versions over the current ones. Each chart's version is also the version of the image it installs.

1. Update the repository and list the latest versions:

   ```bash
   helm repo update
   helm search repo openlm/reportingmcp
   ```

1. Upgrade the GraphQL API first, then the MCP server, with the new versions:

   ```bash
   helm upgrade --install reportingmcpapi openlm/reportingmcpapi --version <api-version> -n openlm -f reportingmcpapi-values.yaml
   helm upgrade --install reportingmcpserver openlm/reportingmcpserver --version <server-version> -n openlm -f reportingmcpserver-values.yaml
   ```

1. Wait until both pods show `Running` and `1/1`:

   ```bash
   kubectl -n openlm get pods | grep reportingmcp
   ```

## Change a setting

To change a setting, edit the ConfigMap and restart both services. A ConfigMap change doesn't restart the pods by itself.

1. Edit `reportingmcp-onprem.yaml`, then apply it:

   ```bash
   kubectl apply -n openlm -f reportingmcp-onprem.yaml
   ```

1. Restart both Deployments:

   ```bash
   kubectl -n openlm rollout restart deploy/openlm-reportingmcpserver deploy/openlm-reportingmcpapi
   ```

For which settings you can change, see [Settings in the ConfigMaps](#settings-in-the-configmaps).

## Roll back an upgrade

To return to an earlier version, find its revision in the Helm history, then roll back to it:

```bash
helm history reportingmcpserver -n openlm
helm rollback reportingmcpserver <revision> -n openlm
```

Roll back `reportingmcpapi` the same way.

## Read the logs

When a user reports that the connector doesn't answer, read the logs of both services first. Both write JSON lines.

```bash
kubectl -n openlm logs deploy/openlm-reportingmcpserver
kubectl -n openlm logs deploy/openlm-reportingmcpapi
```

Each question shows in the MCP server log as `POST /mcp`, and in the GraphQL API log as `POST /graphql` at the `INFO` level.

To see more or less in the logs, set `LOG_LEVEL` in both settings ConfigMaps, then restart the services as in [Change a setting](#change-a-setting). The following values are available:

- `INFO`: the default.
- `DEBUG`: more detail. Use it only for a short investigation.
- `ERROR`: errors only. It hides successful requests.

## Keep users signed in across restarts

The MCP server keeps sign-in sessions in your installation's Redis, under the key prefix `reporting-mcp`, so users stay signed in when the MCP server restarts. Without Redis, the sessions stay in the pod's memory, and users sign in again after every restart.

The MCP server finds Redis through `REDIS__CONNECTIONSTRING`. The ConfigMap `openlm-config-generic` sets it to `openlm-redis:6379`, and the Redis secret of your installation overrides it when it has the same key.

To check that Redis works, restart the MCP server, then ask a question from a client that is already signed in. The client answers without a new sign-in.

## Turn off the connector quickly

To stop all data access through the connector at once, scale the MCP server to zero:

```bash
kubectl -n openlm scale deploy/openlm-reportingmcpserver --replicas=0
```

Clients then get errors. To turn the connector back on, run the same command with `--replicas=1`.

## Uninstall the connector

To remove the connector, uninstall both charts and delete the settings ConfigMaps:

```bash
helm uninstall reportingmcpserver reportingmcpapi -n openlm
kubectl -n openlm delete configmap openlm-reportingmcpserver-env openlm-reportingmcpapi-env
```

The reporting database and OpenLM Identity stay as they are.

## Settings reference

The connector takes its configuration from two places: the Helm values of each chart, and the two settings ConfigMaps from [Create the settings ConfigMaps](https://www.openlm.com/documentation/cloud/mcp-reporting-server/on-premises/install#create-the-settings-configmaps).

### Chart values

The following table lists the chart values that an installation usually sets. Keep the chart defaults for every other value.

| Chart | Value | Default | Set it to |
|---|---|---|---|
| Both | `configmap.name` | None | `openlm-reportingmcpserver-env` or `openlm-reportingmcpapi-env`. Required. |
| Both | `deployment.image` | The image on `public.ecr.aws` for the chart's version | The image in your registry, when the cluster has no internet access |
| Both | `imagePullSecrets.name` | Empty | A pull secret for your registry, if it needs one |
| Both | `affinity`, `taints` | Empty | The node role that your platform uses, if your installation assigns services to nodes |
| Both | `resources` | MCP server: 350Mi request, 450Mi limit. GraphQL API: 400Mi request, 800Mi limit. | Higher values for heavy use |
| `reportingmcpserver` | `ingress.hostname` | A host name that isn't yours | Your installation's host name. Required. |
| `reportingmcpserver` | `ingress.ingressClassName` | `nginx` | Your installation's ingress class |
| `reportingmcpserver` | `ingress.secretName` | `openlm-lb-cert` | Your installation's TLS secret |
| `reportingmcpapi` | `secrets` | The MongoDB and Redis secrets, and `openlm-generic-reporting-mssql-credentials` | The same list with `openlm-generic-reporting-pgdb-credentials`, for PostgreSQL |

### Settings in the ConfigMaps

For your installation, change only the following settings:

- `DB_TYPE`: `mssql` or `postgresql`, the same value in both ConfigMaps.
- `DB_NAME`: the name of your reporting database.
- The host name in `IDENTITY_AUTHORITY`, in both ConfigMaps, and in `MCP_SERVER_URL`.
- `IDENTITY_VERIFY_SSL`: `false` only for a short test with a self-signed certificate, never in production.
- `LOG_LEVEL`: see [Read the logs](#read-the-logs).

Keep these settings exactly as shown in [Create the settings ConfigMaps](https://www.openlm.com/documentation/cloud/mcp-reporting-server/on-premises/install#create-the-settings-configmaps):

- `DEPLOYMENT_MODE`: `onprem`.
- `IDENTITY_CLIENT_ID`: `openlm.mcp.server.bff`.
- `IDENTITY_CALLBACK_PATH`: `/api/mcp-server/signin-oidc`.
- Both `IDENTITY_AUDIENCE` values, `IDENTITY_SCOPES`, and `IDENTITY_REQUIRED_SCOPE`.
- `MCP_EXPOSE_ADMIN_TOOLS`: `false`.

The MCP server refuses to start when `MCP_EXPOSE_ADMIN_TOOLS` is `true`, and its log names the setting in a `[STARTUP-CHECK]` line.
