Skip to main content
Glama
Octopus MCP Server

Octopus MCP Server

Octopus 코드 리뷰 — 편집기 플러그인

Octopus AI 코드 리뷰를 편집기로 가져오세요. 이 저장소는 다음 두 가지를 제공합니다:

  • 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