How to connect Linear to your code review tool
Connecting Linear to Mesrai enables automatic business logic validation against Linear issues and richer context for code review suggestions.
How to connect
- Go to Settings → Plugins
- Find Linear in the available plugins
- Click Connect and authorize access
- Select which workspaces Mesrai can access
What it enables
Automatic business logic validation
When a PR is linked to a Linear issue, Mesrai automatically:
- Fetches the issue title, description, and acceptance criteria
- Compares the PR diff against the requirements
- Reports missing implementations and gaps
On-demand validation
Paste any Linear URL in a PR comment:
@mesrai -v business-logic https://linear.app/your-team/issue/TEAM-123Richer code review context
With Linear connected, Mesrai can reference task context in rules and conversations.
For details, see Business Logic Validation and Plugins.