Prerequisites
- Claude Code installed (
claudecommand) - VS Code or Cursor installed
- A Corridor account with a team created
Setup
Install the Corridor extension
First install the Corridor extension in VS Code or Cursor. Open the Extensions panel (
Cmd+Shift+X or Ctrl+Shift+X), search for “Corridor”, and click Install. See VS Code / Cursor setup for detailed instructions.Sign in to your Corridor account
Click the Corridor icon in the activity bar and sign in through the browser authentication flow.
Hooks
Hooks are deterministic scripts that run at specific points in the code generation process, enabling real-time security reviews and policy enforcement. Hooks are automatically enabled in the latest version of the Corridor extension.MCP compliance
Corridor tracks which MCP servers are active and enforces your team’s policies. To configure, navigate to the Compliance tab in the Corridor dashboard and choose Allowlist Mode or Blocklist Mode.Stop hooks (experimental)
When Claude Code generates code, Corridor can automatically evaluate the diff, identify potential security issues, and guide Claude to remediate problems iteratively—all in the background. By default, hooks run in monitoring mode and won’t block code generation. To enable blocking behavior:- Open the Corridor extension menu in your IDE
- Click Enable Stop Hooks (experimental)
- Hooks will now prevent code with critical security issues from being applied
MCP compliance via hooks is currently supported with Cursor and Claude Code.