Skip to main content
Glama
Octopus MCP Server

Octopus MCP Server

Octopus Code Review — Editor-Plugin

Bringen Sie die KI-Code-Review von Octopus in Ihren Editor. Dieses Repository ist beides:

  • ein MCP-Server (@octp/mcp), der Octopus als Tools bereitstellt, und

  • ein Plugin für die Cursor- und Claude-Marketplaces, das den Server einbindet.

Tools

Tool

Was es tut

octopus_status

Überprüft die Verbindung und zeigt an, zu welcher Octopus-Organisation Ihr Token gehört.

octopus_review_changes

Überprüft Ihre Arbeitsänderungen. Übergeben Sie ein diff oder einen repoPath, und es führt git diff für Sie aus. Gibt Ergebnisse + eine Zusammenfassung zurück.

octopus_ask

Fragen Sie Octopus zu Ihrem Code oder einer früheren Überprüfung (Antworten verwenden Ihre indizierten Repos + den Review-Verlauf).

Related MCP server: mcp_review_code_tool

Token erhalten

Die Tools authentifizieren sich mit einem Organisations-API-Token von Octopus (oct_...):

npx @octp/cli login

oder erstellen Sie eines in den Einstellungen von octopus-review.ai. Fügen Sie es in die Plugin-Konfiguration ein (niemals in ein Repository).

Installation

Cursor — Installieren Sie „Octopus Code Review" aus dem Marketplace und setzen Sie dann Ihr OCTOPUS_TOKEN in der Plugin-Konfiguration.

Claude — Fügen Sie diesen Marketplace hinzu und installieren Sie das Plugin:

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

Setzen Sie dann Ihr Token, wenn Sie dazu aufgefordert werden (wird als sensibler Benutzerkonfigurationswert gespeichert).

Beliebiger MCP-Client — Führen Sie den Server direkt aus:

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

Konfiguration

Variable

Erforderlich

Standard

OCTOPUS_TOKEN

ja

—

OCTOPUS_API_URL

nein

https://octopus-review.ai (setzen Sie dies für selbst gehostetes Octopus)

Entwicklung

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

MIT-lizenziert. Octopus selbst ist ein separates Produkt; dieses Plugin ruft nur seine öffentliche API in Ihrem Namen auf.

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