Skip to main content

Quick Install

uvx zenable-mcp install claude
Requires UV and Claude Code 1.0.58+. See the CLI command reference for more options.
That’s it! You’re all set. Restart Claude Code and start using Zenable’s conformance checking in your AI coding assistant. This installs both the MCP server and Claude Code 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:
.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 .claude/settings.json (project) or ~/.claude/settings.json (global):
{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "uvx zenable-mcp@latest hook"
          }
        ]
      }
    ]
  }
}
This uses Claude Code’s PostToolUse hook to run conformance checks after each file edit.