MCP Integration Using MCP Integration Key
This guide explains how to integrate OX Security with your IDE or AI coding tool using an MCP server. It includes setup for the following:
Creating a new MCP integration key
To integrate with the MCP server, you need to create an integration key.
To create a new MCP integration key:
From the left pane of the OX dashboard, select Settings > API Key Settings.
In the API Key Settings window, select CREATE API KEY.

In the Create API Key box set the following:
API Key Name
A descriptive name for the API key to identify its purpose MCP key 1
API Key Type
Select VibeSec/MCP Integration
Assign role
Assign a role according to your permissions needs, as follows:
Admin for full access.
Dev Manager/Security Champion for limited access to specific actions.
Assign scopes
Defines which applications and issues the API key can access:
Entire organization: Access to all applications and issues in the organization.
Custom: Access restricted to specific applications/issues.
Expiration Date
The date and time when the API key will expire and no longer be valid.
Copy the API Key Secret to be used when connecting to APIs. Save the key in a safe location. This is the only time when you can see and copy the actual key.
Select CLOSE. The new key appears in the API Key Settings page.
Integrating Cursor with OX MCP
By integrating with OX’s MCP, Cursor becomes a security-aware development assistant, able to query live security data, suggest actions, and triage issues directly from your IDE
To integrate Cursor with OX MCP:
1. Click here, to open Cursor in the relevant location where you can start working.

In the authorization header, replace the placeholder value with the MCP Integration key that you saved.
Select Install.
In the Cursor tools menu, OX Security logo appears.

More info: Cursor Documentation.
Integrating Claude Desktop with OX MCP
Claude Desktop offers an intuitive interface for integrating with OX Security's MCP, providing teams with robust security capabilities directly from their desktop environment.
Claude Desktop supports the following integration methods:
Method 1, local configuration file: Manual JSON editing in
claude_desktop_config.json. The configuration file supports only local (stdio) MCP servers, so this method uses themcp-remotebridge to reach the OX MCP server.Method 2, custom connector: Configured entirely in the Claude Desktop interface, with no configuration file editing and no Node.js setup. Available if your Claude account already supports request headers for custom connectors (currently in beta).
Method 1: Local configuration file
Claude Desktop's configuration file supports only local (stdio) MCP servers, so this method uses the mcp-remote bridge to connect to the remote OX MCP server.
Prerequisite: Node.js
This method uses npx to run the mcp-remote bridge. Because npx is included with Node.js, Node.js v18 or later must be installed and available on your PATH before you configure the connection.
To verify that Node.js and npx are available, open a new terminal and run:
Both commands must return a version number. If either command is not recognized, install the Node.js LTS version:
Windows: Download Node.js from
nodejs.org, or runwinget install OpenJS.NodeJS.LTS.macOS: Download Node.js from
nodejs.org, or runbrew install node.Linux: Use your distribution's package manager, or download Node.js from
nodejs.org.
After installing Node.js, fully quit Claude Desktop, including from the system tray or menu bar, and then start it again. This ensures that Claude Desktop uses the updated PATH. Closing the application window without quitting the application is not sufficient.
If you use nvm, make sure the active Node.js version is 18.x or later.
Note: If you do not want to install Node.js, use Method 2, custom connector. This method does not require Node.js or changes to the configuration file.
To integrate Claude Desktop with OX MCP using the configuration file:
In Claude Desktop, go to Settings > Developer.
Select Edit Config.
Claude automatically opens the configuration file claude_desktop_config.json
Add the JSON MCP server configuration for OX Security:
Note:
claude_desktop_config.jsonusually already exists and contains other Claude Desktop settings. Do not delete or replace them, only add the OX Security configuration:
If the file does not have an
mcpServerssection yet, add the whole"mcpServers"block shown above as an additional top-level section (for example, right after the opening{), and keep all other settings unchanged.If the file already has an
mcpServerssection with other MCP servers, add only the"ox-security"entry inside it.Only if the file is empty, its entire content should be exactly the JSON above.
For example, this is how the configuration file can look after the OX Security section is added — the rest of the settings remain untouched:

Replace
PASTE_YOUR_API_TOKEN_HEREwith the MCP Integration key that you saved.Save the file and restart Claude Desktop.
After restart, OX Security appears as an available MCP server in Claude Desktop.

Troubleshooting: Claude Desktop shows the server as failed or disconnected
Open the Claude Desktop MCP log and check for any of the following errors:
On Windows.
On macOS or Linux.
Or:
These errors indicate that Claude Desktop could not start the mcp-remote bridge because Node.js is not installed or is not available on the PATH inherited by Claude Desktop.
To resolve the issue:
Verify Node.js as described in the prerequisite above. In a new terminal, run:
Both commands must return a version.
If both commands return a version but Claude Desktop still cannot start the bridge, quit Claude Desktop completely, including from the system tray or menu bar, and then start it again.
Claude Desktop reads the
PATHwhen it starts. If Node.js was installed while Claude Desktop was running, you must fully restart the application for it to use the updatedPATH.On Windows, if the issue persists, use
npx.cmdor run Node.js directly, as described in Troubleshooting (Windows) below.Verify that the API key type is
VibeSec/MCP Integration.Verify that the header value contains the raw API key, starting with
ox_, without aBearerprefix.
Troubleshooting (Windows)
In case you have issues setting up MCP servers in Windows using the configuration file, consider using alternative commands, such as npx.cmd or direct Node.js execution.
Use npx.cmd:
Run Node.js directly:
Install MCP Remote globally:
Update your config with your local Node.js path:
Method 2: Custom connector
Anthropic is gradually rolling out support for authenticating custom connectors with request headers (currently in beta). If your Claude account already supports request headers for custom connectors, see Anthropic's documentation.
You can connect to OX MCP entirely from the Claude Desktop interface, with no configuration file editing and no Node.js setup:
In Claude Desktop, go to Settings > Connectors.
Select Add custom connector.
Set a name (for example, OX Security) and the URL:
Open Request headers and add a header: select
authorizationas the header name, and paste the MCP Integration key that you saved as the value. Enter the key exactly as is — do not add aBearerprefix.Mark the header as Required.
Select Add.
If the Request headers section does not appear in the Add custom connector dialog, your account does not have the feature yet — use the local configuration file method instead.
OX Security tools are now available in Claude Desktop conversations through the tools menu.

Note: On Team and Enterprise plans, custom connectors are added by an Owner under Admin settings > Connectors, and members then connect from Settings > Connectors.
Claude Code integration with OX MCP
Claude Code, Anthropic's agentic coding tool for the terminal, connects to OX Security's MCP directly from the command line, allowing developers to query live security data, triage issues, and get remediation guidance without leaving their coding session.
Note: Ensure Claude Code is installed and up to date. To check your version, run
claude --version; to update, runclaude update. For installation instructions, see the Claude Code documentation.
To integrate Claude Code with OX MCP:
Open a terminal and run the following command:
Replace
PASTE_YOUR_API_TOKEN_HEREwith the MCP Integration Key that you saved.

Start Claude Code:
In the Claude Code session, run the
/mcpcommand to verify the connection.ox-securityappears in the list of MCP servers with a connected status, along with the OX Security tools available to Claude Code.

When connected, you can ask Claude Code security questions in natural language, for example: "Give me the top 3 applications by business value from OX."

Choosing a configuration scope
By default, the server is added in the local scope and is available only to you in the current project directory. Use the --scope flag to make it available more broadly:
local
(default)
Available only to you, in the current project directory.
user
--scope user
Available to you in all projects on your machine.
project
--scope project
Shared with your team through a .mcp.json file in the project root, which can be checked into source control.
For example, to make OX Security available in all of your projects:
Manual configuration (alternative)
Instead of using the claude mcp add command, you can add the OX Security MCP server configuration directly to a .mcp.json file in your project root:
Note: If the
.mcp.jsonfile is checked into source control, do not store the MCP Integration Key in it. Claude Code supports environment variable expansion, set the key in an environment variable (for example,OX_API_TOKEN) and reference it in the configuration as"Authorization": "${OX_API_TOKEN}".
Troubleshooting
If ox-security does not appear as connected:
Run
claude mcp listin the terminal to check the server's connection status.Verify that the MCP Integration Key was pasted correctly and has not expired. You can review your keys in the OX dashboard under Settings > API Key Settings.
Remove and re-add the server:
Integrating Visual Code with OX MCP
Visual Studio Code provides versatile options to connect with OX Security's MCP, enabling developers to streamline their security workflows within the versatile VS Code ecosystem.
Note: This method also uses
npxto run themcp-remotebridge and requires Node.js v18 or later. For more information, see Prerequisite: Node.js.
To integrate VS Code with OX MCP:
Open VS Code Settings.
Open MCP User Configuration, see VS Code MCP Docs for details.

Add the JSON MCP server configuration for OX Security in
mcp.json:
Replace
PASTE_YOUR_API_TOKEN_HEREwith the MCP Integration key that you saved.Save the configuration.
In the VS Code chat, click Add Context.

Select the desired tools.

OX Security appears as an available MCP server.


Last updated