Octopus MCP Server
This server brings Octopus AI code review into MCP clients/editors, exposing review, PR, status, and Q&A tools.
octopus_status — verify the connection and see which Octopus org your token belongs to.
octopus_review_changes — review uncommitted/working changes by passing a unified
diffor arepoPath(runsgit difffor you).octopus_review_pr — trigger a server-side review of a pull/merge request; Octopus posts findings as comments on the PR.
octopus_ask — ask Octopus about your code or past reviews, optionally scoped to a repo or continuing a conversation.
/octopus-reviewcommand — review working changes or a specific PR.Autofix skill — scan open PRs for Octopus review-bot comments, apply fixes, push, and re-trigger review.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Octopus MCP Server Review my current uncommitted changes with Octopus."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Octopus Code Review — editor plugin
Bring Octopus AI code review into your editor. This repo is both:
an MCP server (
@octp/mcp) that exposes Octopus as tools, anda plugin for the Cursor and Claude marketplaces that wires the server in.
Tools
Tool | What it does |
| Verify the connection and show which Octopus org your token belongs to. |
| Review your working changes. Pass a |
| Trigger a full server-side review of an open pull/merge request; Octopus posts findings as comments on the PR. Pass a PR number or URL. |
| Ask Octopus about your code or a past review (answers use your indexed repos + review history). |
Related MCP server: mcp_review_code_tool
Skills & commands
/octopus-review— review your working changes, or pass a PR number/URL to review a pull request.autofix skill — say "octopus autofix" to scan your open PRs for Octopus review-bot comments, apply the fixes, push, and re-trigger review.
Get a token
The tools authenticate with an Octopus org API token (oct_...):
npx @octp/cli loginor create one in your octopus-review.ai settings. Put it in the plugin's config (never in a repo).
Install
Cursor — install "Octopus Code Review" from the marketplace, then set your OCTOPUS_TOKEN in the plugin config.
Claude — add this marketplace and install the plugin:
claude plugin marketplace add octopusreview/octopus-plugin
claude plugin install octopus-reviewthen set your token when prompted (stored as a sensitive user config value).
Any MCP client — run the server directly:
OCTOPUS_TOKEN=oct_... npx -y github:octopusreview/octopus-pluginConfig
Variable | Required | Default |
| yes | — |
| no |
|
Develop
npm install
npm run build
OCTOPUS_TOKEN=oct_... node build/index.js # a stdio MCP serverMIT licensed. Octopus itself is a separate product; this plugin only calls its public API on your behalf.
Available Tools
3 toolsoctopus_askAsk OctopusA
Ask Octopus a question about your code or a past review. Octopus answers with context from your indexed repositories and review history.
Inputs: question (required), repoId, conversationId.
octopus_review_changesReview current changes with OctopusA
Run an Octopus code review on a unified diff (uncommitted/working changes). Pass diff directly, or pass repoPath and Octopus will run git diff for you. Returns findings and a summary.
Inputs: diff, model, title, repoPath.
octopus_statusOctopus statusA
Check the Octopus connection and show which organization the current API token belongs to. Use this to verify setup.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool handles a clearly distinct responsibility: verifying connectivity, reviewing a diff, and asking follow-up questions. There is zero overlap that could cause an agent to select the wrong tool.
All tools follow the same snake_case convention with the `octopus_` prefix, creating a predictable pattern. The verb-like suffixes (`status`, `review_changes`, `ask`) are consistent in style and clearly convey action.
At 3 tools, the server is at the minimal end of the ideal range, yet each tool genuinely earns its place and the count is well-scoped for the server's purpose. A couple of additional tools (e.g., configuration or history browsing) could make it feel more substantial.
The core workflow of connect → review → ask follow-ups is fully covered. Minor gaps include the lack of a direct way to list past reviews without using `octopus_ask` and no configuration or preference settings, but these are workable for common use cases.
Maintenance
Related MCP Connectors
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
AI code review for GitHub PRs with an MCP autofix loop for Claude Code and Cursor
Team memory for AI coding agents and code reviews, reviewed by humans and served over MCP.
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Related MCP Servers
- AlicenseBqualityDmaintenanceAI-powered code review server that analyzes git diffs and PRs with context from project guidelines and task lists. Supports integration with Claude Code and Cursor via MCP.3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for code review using OpenRouter API. Supports local code review via MCP or web interface.12ISC
- AlicenseNot gradedqualityDmaintenanceMCP server for reviewing code changes using LLMs, supporting Copilot, Ollama, and OpenAI-compatible endpoints.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for automated code review using AI agents. It analyzes code diffs or file paths for bugs, security issues, and style violations.MIT