Skip to main content

OpenLM MCP Connector for a self-hosted OpenLM Platform

If you run a self-hosted OpenLM Platform, your users can now ask an AI assistant about their license data too. Add the OpenLM MCP Connector to the cluster that runs your OpenLM Platform. The connector runs as two services next to your OpenLM Platform, signs users in with its OpenLM Identity, and reads only your reporting database. Your license data, sign-ins, and database stay in your network. The only part that can sit outside it is the AI model, and only if you choose a model that runs in a provider's cloud.

On a self-hosted OpenLM Platform, the connector runs the same code as the OpenLM MCP Connector for cloud tenants, so your users get the same tools and safeguards. For the tools, see Tools and capabilities reference.

What you need​

To add the connector to a self-hosted OpenLM Platform, you need the following:

  • OpenLM Platform installed on Kubernetes or OpenShift with the OpenLM Helm charts.
  • A reporting database on SQL Server or PostgreSQL.
  • An HTTPS host name for the installation, for example openlm.example.com. Users reach the connector on this same host name.

For the full list, see Add the OpenLM MCP Connector.

How it works​

The connector adds one entry point to your installation: the MCP server. The MCP server signs users in and turns each request from the AI model into read-only queries through the GraphQL API. Only the GraphQL API connects to your reporting database, and nothing outside the cluster can reach the GraphQL API.

The connector adds two services to your cluster. The following table lists what each part does and what it connects to:

PartWhat it doesConnects to
AI client, such as Claude DesktopSends the user's question to the AI model, then runs the tools that the model picksThe MCP server and the AI model
MCP server, from the reportingmcpserver chartSigns users in, offers the read-only reporting tools, and applies the safeguardsOpenLM Identity, the GraphQL API, and Redis
GraphQL API, from the reportingmcpapi chartChecks each user's token and runs read-only queriesThe reporting database and OpenLM Identity

The connector also uses three parts that your installation already has: OpenLM Identity for users, passwords, and roles, Redis to keep users signed in when the MCP server restarts, and the reporting database. Redis is optional.

When a user asks a question, the following happens:

  1. The first time, the AI client opens https://<install-host>/mcp, and your installation's OpenLM sign-in page opens in the browser. The user signs in with their OpenLM account.
  2. The user asks a question. The client sends it to the AI model, with the list of OpenLM tools.
  3. The model picks a tool and its arguments, for example a summary of license usage.
  4. The client calls the MCP server. The MCP server checks the user's token and the arguments, then calls the GraphQL API with the user's token.
  5. The GraphQL API checks the token with OpenLM Identity and runs a read-only query on the reporting database.
  6. The MCP server removes sensitive values from the result, limits its size, and returns it to the client.
  7. The model writes the answer, and the client shows it.

Answers come from reporting data​

The connector reads only reporting data: the history that the reporting ETL jobs process into the reporting database. It doesn't read the operational databases that hold the live state of license servers, users, and sessions. An answer is as current as the last ETL run, so a license checked out a minute ago might not show yet.

Where your data goes​

What leaves your network depends only on the AI model that your users connect. The connector stores no license data. The following table lists what each part holds:

WhereWhat it holdsLeaves your network
Reporting databaseLicense usage, denials, allocations, and users, read with a read-only loginNo
GraphQL APINothing stored. Query results stay in memory for a short time.No
MCP serverSign-in sessions, in Redis or in memory. If usage logging is set up, a log of tool calls in your installation's MongoDB, with each entry deleted after 90 days.No
OpenLM IdentityYour installation's own sign-ins and rolesNo
AI model in your networkThe questions, and the tool results that the model readsNo
AI model in a provider's cloud, such as Claude or ChatGPTThe questions, and the tool results that the model reads, which include license and user dataYes, to that provider
Cloud AI models receive license and user data

Before your users connect an AI model that runs in a provider's cloud, confirm that your organization accepts that the provider receives their questions and the license and user data in the tool results. If all data must stay in your network, use an AI model that runs in your network. See Use a model in your network or your own API key.

Built-in safeguards​

On a self-hosted OpenLM Platform, the connector has the same safeguards as on cloud tenants:

  • Sign-in required: every call needs an OpenLM sign-in. The GraphQL API checks each token's signature, audience, and scope against your installation's OpenLM Identity.
  • Read-only tools: every data tool only reads. The administration tools are turned off.
  • No internals in answers: the tools instruct the AI model not to describe OpenLM's tables, schemas, queries, or internal design.
  • Redaction: tokens, secrets, internal host names, and connection details are removed from every tool result.
  • Input limits: row limits, text lengths, and date ranges are checked before a query runs.
  • Response size limit: large results are shortened before they reach the AI model.
  • Safe errors: a failure returns a general message, never a stack trace, a query, or an internal address.
  • Startup check: the services refuse to start if a setting points at OpenLM's cloud, the database type isn't SQL Server or PostgreSQL, or the OpenLM Identity address is missing.
  • No outside access to the GraphQL API: nothing routes to the GraphQL API from outside the cluster.
All signed-in users see all reporting data

Permissions per role aren't available yet. Every user who can sign in to your OpenLM Platform installation can ask about all of its reporting data, whatever their OpenLM role.

Next steps​

To set up the connector, follow these pages in order:

  1. Add the OpenLM MCP Connector to your OpenLM Platform and verify it.
  2. Connect an AI client and test the connection.
  3. Manage the connector: upgrades, settings, logs, and the settings reference.

If something doesn't work, see Troubleshooting.

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.