# Devin Review API, Mermaid rendering, per-PR review toggle, MCP secret scoping

> Devin Review is now triggerable via REST API for CI pipelines. Mermaid diagrams render as interactive SVGs in sessions. Admins get per-PR auto-review toggles, service user permission management, MCP secret scoping (personal vs org), and clickable diff stats. Plus fixes for repo selector and commit links.

| | |
|---|---|
| **Tool** | Devin |
| **Version** | — |
| **Kind** | release |
| **Published** | 2026-05-08 |
| **Observed** | 2026-08-21 |
| **Significance** | 3/5 |
| **Breaking** | no |
| **Categories** | feature, api-change, fix |

## What changed


- **Devin Review API**: `POST /v3/organizations/{org_id}/pr-reviews` with service user token or PAT for CI/script integration
- **Mermaid Diagram Rendering**: Mermaid code blocks render as interactive SVG diagrams with zoom/pan in sessions
- **Close PRs on Session Archive**: Dialog to optionally close linked PRs when archiving a session
- **Per-PR Auto-Review Toggle**: Enable/disable Devin Review per-PR from the PR actions menu
- **Sidebar Session Notifications**: Persistent status labels ("PR created", "Awaiting instructions") with read/unread orange dot indicators
- **Service User Permission Management**: `ManageAccountServiceUsers` permission assignable in custom Enterprise roles
- **Ask Devin in PR Discussions**: "Ask Devin" button available on discussion tab thread comments in Devin Review
- **MCP Secret Scoping**: Choose personal or organization scope when adding secrets for custom MCP servers
- **Clickable Diff Stats in Worklog**: Click +N/-M in worklog group headers to open a scoped diff tab
- **Repo Selector Fix**: Select-all now respects the current search filter instead of selecting all repos


## Sources

- [page_diff](https://docs.devin.ai/release-notes/overview#may-8-2026) — retrieved 2026-08-21


## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/devin/devin-review-api-mermaid-rendering-per-pr-review-toggle-mcp-secret-scoping
Entity: https://changelogs.info/devin
Event ID: `evt_2026-05-08_devin_may-8-2026`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
