Cursor Integration
Integrate Platform MCP Server with Cursor
Overview
Cursor is an AI-enabled code editor use MCP to connect to the Platform MCP Server. Once connected, the MCP client can use MCP tools to access and interact with Intelligent Risk Platform documentation, developer resources, and tenant data.
Set Environment Variables
Cursor has no secure key prompt, so these instructions reference an environment variable (IRP_API_KEY) instead of writing your key into a configuration file.
The execution-tool requires that the client authenticate with an API key. The API key enables the platform to authenticate the client and authorize requests to access API resources and perform operations based on group-based permissions granted the key.
To set environmental variable:
- In MacOS/Linux, add
export IRP_API_KEY="<API_KEY>"to the dotfile (e.g.bash_profile,.bashrc,.zshrc) that you use to configure the shell environment. - In Windows, Select Settings > System > About > Advanced System Settings > Environment Variables, and add the
IRP_API_KEYto User Variables.
Configure Connection
Connections to MCP Platform Server can be configured by two methods.
Configure with One-Click Installation
To add with one-click installation, click the Add to Cursor button that matches your Intelligent Risk Platform region:
Configure with Manually
To configure connection manually:
Add the following snippet to the .cursor/mcp.json (project) or ~/.cursor/mcp.json (global) file.
{
"mcpServers": {
"irp-integration-mcp": {
"url": "https://api-use1.rms.com/platform/integration/v1/mcp",
"headers": {
"Authorization": "${env:IRP_API_KEY}"
}
}
}
}If you cannot use environment variables, replace ${env:IRP_API_KEY} with your key in ~/.cursor/mcp.json. Because the API key is then stored in plain text, ensure that you keep the file private, and never commit a project-level .cursor/mcp.json that contains an API key to source control.
Validate Integration
To validate the configuration, open Cursor Settings > MCP.
- If configured correctly, the
irp-integration-mcpoption displays a green dot in the tool list. - A red dot with 401 usually means the environment variable is not visible to Cursor. .
Updated 1 day ago
