Skip to main content
Devolens hosts a remote MCP (Model Context Protocol) server at:
Connecting it to an MCP client such as Claude, ChatGPT, or Codex lets an AI agent work with your Devolens account directly: query the usage analytics behind the KPI dashboards, investigate floating capacity, find upcoming license expirations, look up and manage license keys, and manage customers. The agent can only use the permissions you grant. The skills and llms.txt files described in AI-assisted integration help an agent write your integration code. The MCP server is different: it lets an agent act on your live account.

Available tools

Each tool maps to a Web API endpoint and requires the corresponding access token permission. A connection that was only granted analytics permissions cannot create or block keys. The floating-capacity and expiration report tools are read-only. They require Usage Analytics permission and a subscription with analytics access. To include customer names, company names, and email addresses in the license lists, also grant Get Customers permission. To investigate floating capacity, ask the agent to start with the overview, identify the licenses behind a finding, and then inspect a license’s history. Use CapacityMode=below to look for unused capacity instead of the default exceeded mode. Daily overview rows describe the worst 30-minute interval. The reports use recorded data that updates asynchronously, so missing data does not mean zero usage and the results do not capture every instantaneous peak.

Enable MCP access

MCP access is disabled by default and is currently available for company accounts only.
  1. Open Security settings and enable MCP access.
  2. Connected clients appear under Connected Apps, where you can review the permissions granted to each connection and revoke it at any time.

Connect a client

Run /mcp inside Claude Code to start the authorization flow.
When the client connects for the first time, your browser opens a Devolens authorization page. Sign in and choose the exact permissions the client should have. These are the same permissions used by access tokens, and presets are available for common setups such as read-only access, usage analytics, license operations, and customer management. Completing the flow creates an access token named “Devolens MCP OAuth” scoped to exactly the permissions you selected. Revoking the connection under Connected Apps removes the client’s access.

Authenticate with an access token

Instead of the browser-based authorization flow, you can authenticate by sending an existing access token in the token header. This is useful for headless environments, CI pipelines, and automations, or when you want to reuse a token whose permissions you have already narrowed down.
In Claude Code:
You can create and manage access tokens here. We recommend creating a dedicated token for each MCP client with only the permissions it needs.

Security recommendations

  • Grant the minimum permissions for the task. For usage analytics and license reports, grant Usage Analytics permission; add Get Customers permission if you need customer details in reports. Key and customer write permissions are only needed if the agent should change your account.
  • Data returned by the tools is processed by the AI model you use, so only grant read access to data you are comfortable sharing with your AI provider.
  • Review which data each permission exposes. Usage Analytics permission allows access to aggregated usage data and license reports, which can include license keys and customer IDs. Customer names, company names, and email addresses in these reports additionally require Get Customers permission. Other key and customer permissions can expose further details, such as notes and machine codes.
  • When you authenticate with an access token, you can additionally use feature lock for data masking to hide individual fields, such as notes, from license key responses.
  • Review Connected Apps periodically and revoke connections you no longer use.
  • Every tool call is executed as a regular Web API request, so MCP activity is recorded in the Web API log and can be audited like any other API usage.

Example prompts