What are Integrations?
Nectr integrations pull live context into every PR review — linked issues, production errors, team discussions, and more. By connecting external tools via the Model Context Protocol (MCP), Nectr’s AI reviewer gains a complete picture of what’s happening across your engineering stack.Available Integrations
GitHub
OAuth, webhooks, and REST API for PR data, issues, and review comments
Linear
Pull linked issues and task context via MCP during PR reviews
Sentry
Surface production errors for files changed in a PR
Slack
Fetch relevant channel messages as review context
How Integrations Work
Nectr uses two integration patterns:1. Native REST APIs
GitHub is the only native integration. Nectr directly calls the GitHub REST API to fetch PR diffs, files, issues, and post review comments.- Required:
GITHUB_PAT,GITHUB_CLIENT_ID,GITHUB_CLIENT_SECRET - Managed by:
app/integrations/github/client.py
2. MCP Protocol (Inbound)
All other integrations (Linear, Sentry, Slack) use the Model Context Protocol. Nectr acts as an MCP client and pulls context from external MCP servers during reviews.- Optional: Each integration requires an
_MCP_URLand API key - Managed by:
app/mcp/client.py - Behavior: If an MCP server is not configured, Nectr logs a warning and continues the review without that context (graceful degradation)
Outbound MCP Server
Nectr also exposes its own review data as an MCP server so external tools (Linear bots, Claude Desktop, Slack apps) can pull PR verdicts, contributor stats, and repo health metrics.Nectr MCP Server
Expose Nectr’s review data to external MCP clients
Configuration
All integrations are configured via environment variables in.env. See the Environment Variables reference for details.
Quick Start
-
GitHub (required for all reviews):
-
Linear (optional — enriches reviews with linked issues):
-
Sentry (optional — shows production errors for changed files):
-
Slack (optional — includes relevant channel messages):
Next Steps
MCP Protocol
Understand how Nectr uses the Model Context Protocol
GitHub Setup
Configure OAuth, webhooks, and PAT tokens
Run MCP Server
Expose Nectr’s data to external MCP clients