Skip to main content

Troubleshoot the OpenLM MCP Connector on a self-hosted OpenLM Platform

Work from the symptom you see. Most problems with the OpenLM MCP Connector on a self-hosted OpenLM Platform are one of three things: the routing of its paths, the MCP client in OpenLM Identity, or the connection to the reporting database.

The commands on this page use the namespace openlm. For the settings and values that the fixes name, see Add the OpenLM MCP Connector.

Why doesn't a pod start?​

A pod that doesn't start usually lacks a setting, a secret, or its database. To see why, run kubectl -n openlm describe pod <pod> and read the pod's log. The following table lists the symptoms, causes, and fixes:

SymptomCauseFix
The GraphQL API pod is in CrashLoopBackOff, and its log mentions db_type.The settings ConfigMap is missing or isn't named in the values file, so the GraphQL API reads the database type from openlm-config-generic.Create the settings ConfigMaps and set configmap.name in both values files. See Create the settings ConfigMaps.
A pod is in CreateContainerConfigError.A ConfigMap or secret that the chart loads doesn't exist.Run kubectl -n openlm describe pod <pod>, which names the missing object. Check the reporting database secret and the MongoDB and Redis secrets.
The GraphQL API pod never becomes ready, and its probe reports context deadline exceeded.The reporting database can't be reached, or DB_NAME or the credentials are wrong.Inside the GraphQL API pod, run python -c "import urllib.request as u;print(u.urlopen('http://localhost:8000/health/ready').read())". The output shows the database error.
A pod stops, and its log has a [STARTUP-CHECK] line.A setting is missing or unsafe.Fix the setting that the log line names. See Settings in the ConfigMaps.
A pod is in ImagePullBackOff.The cluster can't reach public.ecr.aws.Allow the access through your proxy, or bring in the images yourself. See Install without internet access.

Why can't users reach the connector or sign in?​

Sign-in problems come from the routing of the connector's paths, or from the MCP client in OpenLM Identity. The checks in Verify the installation show which one. The following table lists the symptoms, causes, and fixes:

SymptomCauseFix
/mcp or /mcp-server/.well-known/oauth-authorization-server returns the OpenLM home page or an nginx 405.The path isn't routed to the MCP server.Check that ingress.hostname and ingress.ingressClassName match your installation, and that the Ingress is on the ingress controller that serves your host name. On OpenShift, add the routes yourself. See Route the paths yourself.
A request returns 503 no available server.The route exists, but no ready MCP server pod is behind it.Check that the MCP server pod is running and ready, and that the route points at the Service openlm-reportingmcpserver on port 3000.
The check of the OpenLM Identity scopes prints no scopes.The MCP client and its scopes aren't in your installation's OpenLM Identity.Your installation's OpenLM Identity needs the seed with the MCPServer and ReportingMCPGraphQLApi components.
The OpenLM Identity page shows invalid_request after the user starts to sign in.The return address that the MCP server sends isn't registered for its client.In the MCP server ConfigMap, check that MCP_SERVER_URL is https://<install-host>, IDENTITY_CLIENT_ID is openlm.mcp.server.bff, and IDENTITY_CALLBACK_PATH is /api/mcp-server/signin-oidc. The client in OpenLM Identity must allow the redirect address https://<install-host>/api/mcp-server/signin-oidc.
The sign-in page loads, then shows 404 after the user signs in./api/mcp-server isn't routed to the MCP server.Check the paths in the Ingress or in your routes.
Token or sign-in errors appear, and your installation uses a self-signed certificate.The GraphQL API doesn't trust the certificate.For a short test only, set IDENTITY_VERIFY_SSL to "false" in the GraphQL API ConfigMap, then restart the services. See Change a setting. Never leave it off in production.
Users must sign in again after every restart of the MCP server.The MCP server can't reach Redis.Check REDIS__CONNECTIONSTRING, from openlm-config-generic or the Redis secret, and the openlm-redis service. See Keep users signed in across restarts.
In Claude Desktop, no browser tab opens for the sign-in.npx is missing, or another program uses the callback port.Install Node.js, or choose another port in claude_desktop_config.json. Read mcp-server-openlm.log in the Claude Desktop logs folder.

Why are answers missing or incomplete?​

When users are signed in but answers fail or miss data, check the GraphQL API and the reporting data. The following table lists the symptoms, causes, and fixes:

SymptomCauseFix
A signed-in user gets Unable to reach the data service.The MCP server can't reach the GraphQL API.Check that the GraphQL API pod is ready, and that GRAPHQL_ENDPOINT is http://openlm-reportingmcpapi:8000/graphql.
Answers miss recent activity, or a whole area, such as allocations, returns nothing.The reporting ETL jobs are behind or stopped. The connector reads only what these jobs write to the reporting database.Check the reporting ETL jobs of your installation.

If a symptom isn't in these tables, read the logs of both services. See Read the logs.

The documentation team might draft this page using a large language model. A technical writer reviews every page and verifies it against the product before publishing it. A human makes the final decision.