Overview
Plugins let you bring external business context directly into Mesrai’s review workflow. They extend Mesrai’s understanding with data from tools such as Jira, so feedback and actions stay aligned with your team’s processes.
What Plugins Are
Plugins are Model Context Protocol (MCP) servers curated by Mesrai. Each plugin exposes specific capabilities—like fetching tasks or checking specs—that Mesrai can use while collaborating with you on pull requests.
Mesrai MCP
Every workspace ships with the Mesrai MCP already connected. It aggregates secure adapters for every supported Git provider—GitHub, GitLab, Bitbucket, and Azure DevOps—so you never need to install separate code-manipulation plugins.
Beyond source control, the Mesrai MCP unlocks first-party automations:
- Manage Mesrai rules directly from a review thread (create, edit, or remove).
- Open Mesrai issues manually when you need a custom follow-up outside of the automated flow.
Using Plugins in Suggestions
Interact with a plugin inside a code review suggestion by explicitly mentioning Mesrai in your comment. Once invoked, Mesrai calls the relevant plugin and replies in the same thread.
Example prompts
@mesrai, update this mesrai rule to ignore test files@mesrai, move this task https://jira.com/task-123 to DONE
These prompts keep the discussion in context and let teammates follow the full conversation insida e the PR.
Validating Business Logic
Use the @mesrai -v business-logic command when you want Mesrai to compare a pull request against a specification. Provide the spec content inline or share a link:
@mesrai -v business-logic https://jira.com/task-123
Mesrai will fetch the referenced specification through the plugin and confirm whether the implementation matches the documented behavior.
Business Logic Validation Guide
Explore the in-depth walkthrough with prerequisites and troubleshooting for @mesrai -v business-logic.
Controlling Access
Mesrai only sees the tools you enable for each workspace. Install the plugins that matter to your workflow and keep everything else private.
Custom Plugins
Bring your own MCP servers when you need capabilities beyond the curated catalog.
- Open the plugin catalog inside your workspace and click Add Custom Plugin.
- Provide the endpoint details:
- Plugin Name (required) and optional Description to help teammates understand the integration.
- Optional Logo URL for a recognizable icon in the catalog.
- The MCP URL that hosts your server along with the expected Protocol (HTTP or WebSocket).
- Any required Authorization method or custom headers for authentication.
- Click Create Plugin to instantly make it available to Mesrai within the current workspace.
Custom plugins follow the same permissions model as curated integrations: only workspaces where the plugin is installed can invoke it, and Mesrai never accesses endpoints you do not explicitly configure.
Tips
- Mention Mesrai only once per request so the correct plugin runs without duplication.
- Keep links accessible to your workspace; Mesrai needs permission to reach the target resource through the plugin.
- Review the plugin catalog periodically—new integrations are added as Mesrai curates additional MCP servers.