Skip to main content
The MCP server authenticates with a per-organization passed through the OPENCX_API_KEY environment variable in your MCP client configuration.

Create and configure an API key

1

Create an API key

Open your OpenCX dashboard, navigate to Settings > API Keys, and click Create API Key. Give it a descriptive name (e.g. “Cursor MCP”) and copy the key immediately — it is only shown once.
2

Configure your MCP client

Paste the key into the OPENCX_API_KEY field in your client’s env block. See Installation for full config examples per tool.
3

Rotate when needed

Create a new key in Settings > API Keys. Update your MCP client config with the new key. Delete the old key from the dashboard.

Environment variables

VariableRequiredDefaultDescription
OPENCX_API_KEYYesYour OpenCX API key
OPENCX_BASE_URLNohttps://api.open.cxAPI base URL for self-hosted deployments
Never commit API keys to version control. Use your local MCP client config file or CI secrets for automated environments.

Installation

MCP client config for Claude Desktop, Cursor, and VS Code

MCP Introduction

Overview and core concepts

Use Cases

Common workflows with the MCP server

Tools

Full list of available MCP tools