Connect GitHub Copilot in VS Code to the OpenLM MCP Connector
To ask GitHub Copilot about your OpenLM Platform license data in VS Code, add the OpenLM MCP Connector as an HTTP MCP server, sign in with your OpenLM Platform account, and use Copilot Chat in Agent mode.
This page applies to the GitHub Copilot desktop app in VS Code. GitHub Copilot reads MCP servers from a configuration file in the project, or from your user configuration.
Before you begin
To connect GitHub Copilot, you need the following:
- An active OpenLM Platform account with access to a cloud-hosted tenant (US or EU).
- VS Code with GitHub Copilot signed in. If your organization manages your Copilot plan, its policy must allow MCP servers.
- The OpenLM MCP Connector URL for your region.
The following table lists the OpenLM MCP Connector URL for each environment:
| Environment | OpenLM MCP Connector URL |
|---|---|
| Prod US | https://cloud-us.openlm.com/mcp |
| Prod EU | https://cloud-eu.openlm.com/mcp |
Add the connector to a project
To add the connector to one project, create a .vscode/mcp.json file in it:
-
In VS Code, open any project folder.
-
In the project root, create a folder named
.vscodeif it doesn't already exist. -
In
.vscode, create a file namedmcp.json. -
Paste the following configuration, entering a name for the server and the OpenLM MCP Connector URL for your environment:
{"servers": {"openlm-mcp-copilot": {"type": "http","url": "https://cloud-us.openlm.com/mcp"}}} -
Open the Command Palette (Control+Shift+P).
-
Select MCP: List Servers.
-
Select your server, for example
openlm-mcp-copilot, and select Start Server. -
On the OpenLM sign-in page, sign in with your OpenLM Platform credentials.
After you sign in, the server connects and the tools are discovered.
Add the connector with the MCP: Add Server command
To add the connector without editing JSON, or to make it available in every workspace, use the guided flow in VS Code:
- Open the Command Palette (Control+Shift+P) and select MCP: Add Server.
- Select HTTP (HTTP or Server-Sent Events).
- Enter the OpenLM MCP Connector URL for your region.
- Enter a server ID, for example
openlm-reporting. - Choose where to save the server: the current workspace, or your user configuration to use it in every workspace.
- When the OpenLM sign-in page opens, sign in with your OpenLM Platform credentials.
Ask GitHub Copilot about your license data
To use the OpenLM tools in a chat:
-
Open GitHub Copilot Chat.
-
Set the mode drop-down list at the bottom of the chat box to Agent.
Tools work only in Agent mode.
-
To check the connection, ask
Which OpenLM account am I signed in as? -
Ask a question about your license data, for example
Show the license denials for the last 30 days by feature.
In the Copilot chat box, select the tools icon and check that the tools of the OpenLM MCP Connector are toggled on.
For more questions to ask, see License FinOps prompt library.
Troubleshoot the GitHub Copilot connection
The following problems are specific to GitHub Copilot in VS Code:
- VS Code says that access to MCP servers is disabled by your organization: Your organization's Copilot policy blocks MCP servers. Ask the administrator of your organization's Copilot plan to allow them.
- The OpenLM tools don't appear in the chat: Check that the chat mode is Agent, and that the OpenLM tools are turned on in the tools list of the chat box.
- The server doesn't connect: Open the Command Palette, select MCP: List Servers, select your server, and select Start Server again.
For problems that affect every AI client, see OpenLM MCP Connector FAQ and troubleshooting.
Next steps
To continue, use the following pages:
- License FinOps prompt library: Copy prompts that find unused licenses, size renewals, and track denials.
- Tools and capabilities reference: See the data that each OpenLM tool returns.
- Connect Microsoft Copilot Studio to the OpenLM MCP Connector: Build a Copilot agent for your whole team instead.
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.