Skip to main content
Glama
octopusreview

Octopus MCP Server

Octopus Code Review — plugin de editor

Trae la revisión de código de IA de Octopus a tu editor. Este repositorio es a la vez:

  • un servidor MCP (@octp/mcp) que expone Octopus como herramientas, y

  • un plugin para los marketplaces de Cursor y Claude que integra el servidor.

Herramientas

Herramienta

Qué hace

octopus_status

Verifica la conexión y muestra a qué organización de Octopus pertenece tu token.

octopus_review_changes

Revisa tus cambios en curso. Pasa un diff, o un repoPath y ejecuta git diff por ti. Devuelve hallazgos + un resumen.

octopus_ask

Pregunta a Octopus sobre tu código o una revisión anterior (las respuestas usan tus repos indexados + historial de revisiones).

Related MCP server: mcp_review_code_tool

Obtén un token

Las herramientas se autentican con un token de API de organización de Octopus (oct_...):

npx @octp/cli login

o crea uno en los ajustes de octopus-review.ai. Ponlo en la configuración del plugin (nunca en un repositorio).

Instalación

Cursor — instala "Octopus Code Review" desde el marketplace y luego establece tu OCTOPUS_TOKEN en la configuración del plugin.

Claude — añade este marketplace e instala el plugin:

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

luego establece tu token cuando se te solicite (se almacena como un valor de configuración de usuario sensible).

Cualquier cliente MCP — ejecuta el servidor directamente:

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

Configuración

Variable

Requerido

Predeterminado

OCTOPUS_TOKEN

sí

—

OCTOPUS_API_URL

no

https://octopus-review.ai (configúralo para Octopus autoalojado)

Desarrollo

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

Con licencia MIT. Octopus es un producto aparte; este plugin solo llama a su API pública en tu nombre.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
repoIdNoOptional Octopus repository id to scope the answer to.
questionYesThe question to ask.
conversationIdNoContinue a previous conversation by passing its id.

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It usefully states that answers come with context from indexed repositories and review history, but it does not explicitly confirm side effects, permissions, output shape, or behavior when no context is found. This is acceptable but not richly transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the primary action, and contains no filler. Every phrase adds relevant information about the tool's purpose and data sources.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple Q&A tool with three well-documented parameters and no output schema, the description covers the main use case and information source. It could mention how to use conversationId for follow-ups or what the response format looks like, but the schema already covers parameter mechanics and the tool is not complex.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already clearly documents question, repoId, and conversationId. The description adds no additional parameter-level semantics, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Ask') with a clear resource ('Octopus') and a well-defined subject ('a question about your code or a past review'). It also clarifies the answer draws on indexed repositories and review history, which differentiates it from sibling tools like octopus_status and octopus_review_changes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies when to use this tool: whenever the user wants a contextual answer about code or a past review. It does not explicitly name alternatives or exclusion criteria, but the general use case is clear enough for an agent to select it appropriately among its siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
diffNoA unified diff to review. If omitted, repoPath is used to run git diff.
modelNoOptional Octopus model id to review with (defaults to the org's default).
titleNoOptional title/context for the change set.
repoPathNoPath to a git repo. Used only when `diff` is omitted; runs `git diff HEAD` (falls back to staged).

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. It clearly states what the tool does (runs git diff if repoPath is given, uses HEAD with fallback to staged) and what it returns (findings and a summary). It also mentions the optional model and title, though it doesn't explicitly state any side effects or permissions. Overall, it provides good behavioral context beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the primary purpose, and each sentence earns its place. It covers the main usage modes, input handling, and output summary without any fluff. Perfectly concise for the functionality.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool is moderately complex (4 params, no output schema, no annotations), the description is fairly complete: it explains the input options, fallback behavior, and return type. However, it doesn't mention what the findings look like or any limitations (e.g., diff size, performance). But since no annotations exist, the description does a good job covering the essential behavioral context. A small gap is lack of info on what 'summary' contains, but overall adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the description adds meaning: it explains the relationship between diff and repoPath (mutually exclusive alternatives), mentions the fallback to staged, and clarifies the default behavior for model. Even though the schema covers all params, the description adds practical usage semantics, which is valuable. Not a 5 because the schema descriptions are already quite detailed, but the description reinforces and clarifies the key logic.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool runs an Octopus code review on a unified diff, with specific verbs (run, review) and resource (Octopus, unified diff). It distinguishes from siblings: octopus_status is for status, octopus_ask is for asking questions, while this one reviews changes. The first sentence is specific and actionable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly explains when to use it: for uncommitted/working changes, and provides two usage modes: pass diff directly or pass repoPath to run git diff. It doesn't explicitly name alternatives or exclusions, but the contrast with siblings is implied by the tool name and function. The second sentence gives clear context for usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

octopus_statusOctopus statusA

Check the Octopus connection and show which organization the current API token belongs to. Use this to verify setup.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It describes a read-only check operation (connection and token org), which is non-destructive. However, it does not disclose any additional behavioral traits, such as what happens when connection fails, whether it makes network calls, or what the exact output format is. Given the simplicity, a score of 3 is reasonable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the main action and supplemented with a clear use case. Every word earns its place; there is no fluff or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with zero parameters and no output schema, the description adequately covers the tool's function and purpose. It lacks detail on edge cases or output specifics, but given the tool's simplicity, it is complete enough. The sibling context doesn't introduce additional complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, and the schema coverage is 100% (trivially, as there are no properties). The description clarifies that the tool requires no input, which is sufficient. With zero parameters, the baseline is 4, and the description adds the context of what it checks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: checking the Octopus connection and revealing which organization the current API token belongs to, with the explicit use case of verifying setup. It uses a specific verb ('check') and resource ('Octopus connection'), and it distinguishes itself from siblings like octopus_review_changes and octopus_ask, which are for other actions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes 'Use this to verify setup,' which provides clear guidance on when to use this tool. While it does not explicitly mention alternatives, the sibling tools' names suggest different functions, and the 'verify setup' context is sufficient to differentiate usage. Lacks explicit 'when not to use' exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv0.1.0
    • First observedoctopus_ask
    • First observedoctopus_review_changes
    • First observedoctopus_status

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.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers