Skip to main content

Cursor Plugin

The Zscaler MCP Server is available as a native Cursor Plugin, providing AI-assisted management of the Zscaler Zero Trust Exchange platform directly within Cursor.

What's Included

ComponentLocationPurpose
Plugin manifest.cursor-plugin/plugin.jsonPlugin metadata, version, and entry points
Skillsskills/19 guided multi-step workflows for common Zscaler operations
MCP configmcp.jsonMCP server connection configuration

Skills (19 guided workflows)

The plugin bundles service-specific skills that Cursor auto-activates based on your prompt:

ServiceSkillsExamples
ZPA6Onboard application, create access/forwarding/timeout policy rules, create server group, troubleshoot connector
ZIA5Onboard location, audit SSL inspection, investigate URL category, check user access, investigate sandbox
ZDX5Troubleshoot user experience, analyze app health, investigate alerts, diagnose deep trace, audit software
EASM1Review attack surface
Z-Insights1Investigate security incident
Cross-product1Troubleshoot user connectivity (ZCC + ZDX + ZPA + ZIA)

Installation

Option 1: Cursor Settings UI

  1. Open Cursor
  2. Go to SettingsCursor SettingsTools & MCPNew MCP Server
  3. Add the following configuration:
{
"mcpServers": {
"zscaler-mcp-server": {
"command": "uvx",
"args": ["--env-file", "/absolute/path/to/.env", "zscaler-mcp"]
}
}
}

Option 2: Edit mcp.json directly

Add to ~/.cursor/mcp.json (macOS/Linux) or %USERPROFILE%\.cursor\mcp.json (Windows):

{
"mcpServers": {
"zscaler-mcp-server": {
"command": "uvx",
"args": ["--env-file", "/absolute/path/to/.env", "zscaler-mcp"]
}
}
}

Option 3: Docker

{
"mcpServers": {
"zscaler-mcp-server": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"--env-file", "/absolute/path/to/.env",
"zscaler/zscaler-mcp-server:latest"
]
}
}
}

Prerequisites

  • Cursor installed
  • uv installed (for uvx method) or Docker
  • Zscaler OneAPI credentials configured in .env

Configuration

The plugin manifest at .cursor-plugin/plugin.json defines:

  • Name: zscaler
  • Category: Security
  • Skills path: ./skills/
  • MCP config: ./mcp.json

Verification

After installation, verify by asking Cursor:

"What Zscaler tools are available?"

or

"List my ZPA application segments"

Resources