Skip to main content

Quick Install

uvx zenable-mcp install cursor
Requires UV. See the CLI command reference for more options.
That’s it! You’re all set. Restart Cursor and start using Zenable’s conformance checking in your AI coding assistant. This installs both the MCP server and Cursor hooks for real-time code checking.
The below is a minimal example which may need to be merged with your existing configuration. Consider using the quick install command to handle this automatically.
Place the following configuration:
{
  "mcpServers": {
    "zenable": {
      "type": "http",
      "url": "https://mcp.zenable.app/"
    }
  }
}
In one of these file locations:
.cursor/mcp.json
We only recommend this manual approach if your host doesn’t have uv or uvx installed and you’d like to avoid installing it. Otherwise, the installer is much safer and can handle configuration upgrades over time, handles merges with existing configs, performs backups and logging in case of issues, and more.
Hooks run automatically after file edits to check for conformance issues. The quick install command sets this up for you.
Place the following configuration in .cursor/hooks.json (project) or ~/.cursor/hooks.json (global):
{
  "version": 1,
  "hooks": {
    "afterFileEdit": [
      {
        "command": "uvx zenable-mcp@latest hook"
      }
    ]
  }
}
This uses Cursor’s afterFileEdit hook to run conformance checks after each file edit made by the AI agent.
Current Limitation: Cursor’s afterFileEdit hook cannot send output back to the agent or use exit codes to block edits. Conformance issues are printed to stdout for visibility in Cursor’s hook output panel, but the agent won’t automatically act on them. We’re talking with the Cursor team about enhanced support.
Cursor provides a CLI (cursor-agent) for managing MCP servers. After installation, you can use these commands:
# List configured MCP servers and their status
cursor-agent mcp list

# View tools provided by a specific server
cursor-agent mcp list-tools zenable

# Authenticate with an MCP server
cursor-agent mcp login zenable

# Disable a server
cursor-agent mcp disable zenable
As of 2025.12.17-996666f, the Cursor CLI is read-only for MCP management (no add/remove commands). Configuration changes require editing .cursor/mcp.json directly or using uvx zenable-mcp install cursor.
See Cursor’s CLI MCP documentation for more details.