Connect Codex, Claude Code, and WorkBuddy via MCP
Connect Codex, Claude Code, or WorkBuddy to Licentivo via MCP. Look up products and licenses in your workspace, and issue or renew licenses with the permissions you grant.
- 01Create productProduct ID
- 02Create a policyDevice / seat limit
- 03Create a licenseFull key
- 04Integrate and activateRunFeature
Create a read-only MCP connection
- As the workspace owner, open MCP connections in the AI task center, select “Add connection”, enter a name, and choose the client and expiry.
- For ongoing access, choose the permanent option. A time-limited connection can last 1–365 days.
- Choose “Read-only” for the first connection. If you use “Allow selected tools only”, make sure list_products is selected, then select “Create connection”.
- Select “Copy token” and store it securely. The token is shown once. Copy the client configuration or use the matching example below.
Replace the example HTTPS URL with the address shown on the MCP connections page. For Codex or Claude Code, set LICENTIVO_API_KEY to the connection token in the environment that launches the client.
Codex
Add this configuration to ~/.codex/config.toml, then restart Codex.
[mcp_servers.licentivo]
url = "https://licensing.example.com/api/v1/mcp"
bearer_token_env_var = "LICENTIVO_API_KEY"
Claude Code
Merge this server configuration into .mcp.json in your project root, then restart Claude Code.
{
"mcpServers": {
"licentivo": {
"type": "http",
"url": "https://licensing.example.com/api/v1/mcp",
"headers": {
"Authorization": "Bearer ${LICENTIVO_API_KEY}"
}
}
}
}
WorkBuddy
Add a custom MCP connector in WorkBuddy using Streamable HTTP. Use the settings below and replace the placeholder in Authorization with the connection token, keeping the Bearer prefix.
{
"mcpServers": {
"licentivo": {
"type": "http",
"url": "https://licensing.example.com/api/v1/mcp",
"headers": {
"Authorization": "Bearer <LICENTIVO_API_KEY>"
}
}
}
}
Verify the connection by listing products
Ask your client to “List the products in my Licentivo workspace”. A successful call to list_products returns your workspace’s products. An empty list also confirms success if the workspace has no products yet.
Tool permissions and revocation
Choose “Allow selected tools only” to grant lookup, issuance, or renewal separately. The same limits apply when the key calls the management API.
To issue or renew licenses, select “Read / write” and enable the relevant tools. Revoking a connection on the MCP connections page immediately invalidates its token.