Skip to main content
Glama
Octopus MCP Server

Octopus MCP Server

Octopus Code Review — エディタプラグイン

Octopus AIコードレビューをエディタに統合します。このリポジトリは次の2つの役割を持ちます:

  • Octopusをツールとして公開するMCPサーバー(@octp/mcp)

  • サーバーを組み込むCursorおよびClaudeマーケットプレイス向けのプラグイン

ツール

ツール

機能

octopus_status

接続を確認し、トークンが属するOctopus組織を表示します。

octopus_review_changes

作業中の変更をレビューします。diffを渡すか、repoPathを渡すとgit diffを実行します。指摘事項とサマリーを返します。

octopus_ask

コードや過去のレビューについてOctopusに質問します(回答はインデックス化されたリポジトリとレビュー履歴を使用します)。

Related MCP server: mcp_review_code_tool

トークンを取得する

ツールはOctopusの組織APIトークン(oct_...)で認証します:

npx @octp/cli login

またはoctopus-review.aiの設定で作成します。プラグインの設定に配置してください(リポジトリには絶対に置かないでください)。

インストール

Cursor — マーケットプレイスから「Octopus Code Review」をインストールし、プラグイン設定でOCTOPUS_TOKENを設定します。

Claude — このマーケットプレイスを追加してプラグインをインストールします:

claude plugin marketplace add octopusreview/octopus-plugin
claude plugin install octopus-review

その後、プロンプトが表示されたらトークンを設定します(機密ユーザー設定値として保存されます)。

任意のMCPクライアント — サーバーを直接実行します:

OCTOPUS_TOKEN=oct_... npx -y @octp/mcp

設定

変数

必須

デフォルト

OCTOPUS_TOKEN

必須

—

OCTOPUS_API_URL

任意

https://octopus-review.ai(セルフホスト型Octopusの場合はこれを設定)

開発

npm install
npm run build
OCTOPUS_TOKEN=oct_... node build/index.js   # a stdio MCP server

MITライセンスです。Octopus自体は別製品であり、このプラグインはユーザーに代わってその公開APIを呼び出すだけです。

Available Tools

3 tools
octopus_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

    A4.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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.

    Related MCP Connectors

    Related MCP Servers