Skip to main content
Glama

Octocode: AI를 위한 연구 중심 개발


설치

사전 요구 사항: GitHub 인증이 필요합니다. 인증 설정을 참조하세요.

권장 사항: Octocode CLI

npx octocode-cli install

GitHub OAuth, MCP 서버 설치 및 스킬 마켓플레이스가 포함된 대화형 설정 마법사입니다. 비대화형 설치를 위해 --ide <ide>를 전달하세요 (예: npx octocode-cli install --ide cursor).

대체 방법

MCP 구성 파일에 추가하세요:

{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": ["octocode-mcp@latest"]
    }
  }
}
npx add-skill https://github.com/bgauryy/octocode-mcp/tree/main/skills/octocode-research

Related MCP server: MCP Indexer

MCP 서버

Octocode MCP 서버는 AI 어시스턴트를 코드와 연결합니다:

  • GitHub & GitLab: 저장소 검색, 사용 패턴 찾기, 구현 읽기, PR 탐색

  • 로컬 도구: 코드 검색, 디렉토리 탐색, 로컬 코드베이스 내 파일 찾기

  • LSP 인텔리전스: 정의로 이동, 참조 찾기, 호출 계층 구조 — 컴파일러 수준의 이해

https://github.com/user-attachments/assets/de8d14c0-2ead-46ed-895e-09144c9b5071


스킬

에이전트 스킬은 AI 에이전트의 기능을 확장하기 위한 가볍고 개방적인 형식입니다. 스킬 인덱스: skills/README.md

스킬

기능

Researcher

코드 검색 및 탐색 — 로컬 LSP + 외부 (GitHub, npm/PyPI)

Research

세션, 체크포인트, 상태 지속성을 갖춘 다단계 연구

Engineer

코드 이해, 작성, 분석, 감사 — AST + LSP + 의존성 그래프

Plan

증거 기반 계획: 이해 > 연구 > 계획 > 구현

RFC Generator

대안, 트레이드오프 및 권장 사항이 포함된 공식 기술 결정

PR Reviewer

LSP 흐름 추적을 통한 7개 도메인 전반의 PR 및 로컬 코드 리뷰

Roast

파일:라인 인용 및 심각도 수준을 포함한 가차 없는 코드 비평

Prompt Optimizer

약한 프롬프트를 실행 가능한 에이전트 프로토콜로 변환

Doc Writer

16개 이상의 검증된 문서를 생성하는 6단계 파이프라인

https://github.com/user-attachments/assets/5b630763-2dee-4c2d-b5c1-6335396723ec


문서

전체 문서 인덱스는 여기에서 시작하세요: docs/README.md

권장 빠른 링크:

매니페스트

"코드는 진실이지만, 컨텍스트는 지도이다." -- Octocode의 철학을 이해하려면 연구 중심 개발을 위한 매니페스트를 읽어보세요.


기여

모노레포 설정, 테스트 및 기여 지침은 개발 가이드를 참조하세요.


Available Tools

13 tools
githubGetFileContentA
Idempotent

Read GitHub file or download directory [EXTERNAL: GitHub API]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

githubSearchCodeA
Read-onlyIdempotent

Search GitHub code [EXTERNAL: GitHub API]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

githubSearchPullRequestsA
Read-onlyIdempotent

Search GitHub Pull Requests [EXTERNAL: GitHub API]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

githubSearchRepositoriesA
Read-onlyIdempotent

Search GitHub repositories [EXTERNAL: GitHub API]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

githubViewRepoStructureA
Read-onlyIdempotent

Display GitHub repo structure [EXTERNAL: GitHub API]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

localFindFilesA
Read-onlyIdempotent

Find files by metadata [LOCAL: filesystem]

Config/docs: localGetFileContent directly

  • Faster than content search (metadata indexing)

  • excludeDir for noise (node_modules, dist, .git)

  • Time: '7d', '2h', '30m'

  • path="/workspace/src", name="*.ts", modifiedWithin="7d"

  • path="/workspace", iname="readme", type="f"

  • path="/workspace", sizeGreater="10M", excludeDir=["node_modules"]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

localGetFileContentA
Read-onlyIdempotent

Read file content [LOCAL: filesystem]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

localSearchCodeA
Read-onlyIdempotent

Search code patterns [LOCAL: ripgrep] - START HERE for code questions

Without LSP:

  • localGetFileContent(matchString) for context

  • lineHint is 1-indexed (first line = 1)

  • filesOnly=true for fast discovery

  • type filter (ts, js, py) faster than globs

  • path="/workspace/src", pattern="function handleAuth", type="ts"

  • path="/workspace", pattern="export.*UserService", perlRegex=true

  • path="/workspace", pattern="TODO", filesOnly=true

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

localViewStructureA
Read-onlyIdempotent

View directory structure [LOCAL: filesystem]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

lspCallHierarchyA
Read-onlyIdempotent

Trace function call relationships [LOCAL: LSP]

REQUIRES lineHint - call localSearchCode FIRST to get line number

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

lspFindReferencesA
Read-onlyIdempotent

Find all usages of a symbol [LOCAL: LSP]

REQUIRES lineHint - call localSearchCode FIRST to get line number

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

lspGotoDefinitionA
Read-onlyIdempotent

Navigate to symbol definition [LOCAL: LSP]

REQUIRES lineHint - call localSearchCode FIRST to get line number

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

packageSearchA
Read-onlyIdempotent

Find NPM/Python packages [EXTERNAL: npm/PyPI]

Inputs: queries (required), responseCharOffset, responseCharLength. Returns: results, responsePagination

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool targets a distinct operation: GitHub tools for remote repo actions (get file, search code, search PRs, search repos, view structure), local tools for filesystem actions (find files, get file content, search code, view structure), LSP tools for semantic analysis (goto definition, find references, call hierarchy), and a separate package search tool. There is no overlap in purpose.

    Naming Consistency5/5

    All tool names follow a consistent camelCase pattern with a prefix indicating domain (github, local, lsp) followed by a verb-noun combination (e.g., githubGetFileContent, localSearchCode, lspGotoDefinition). The naming is predictable and intuitive.

    Tool Count5/5

    13 tools is well-scoped for a server that combines GitHub API exploration (5 tools), local filesystem analysis (4 tools), LSP-based code navigation (3 tools), and package search (1 tool). Each tool serves a clear purpose and contributes to the overall functionality without bloat.

    Completeness5/5

    The tool set covers the complete lifecycle for code exploration and analysis: discovery (search repos, view structure, find files), content access (get file content, search code), semantic navigation (goto definition, find references, call hierarchy), and package lookup. There are no obvious gaps for the server's stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      A free, open-source service that transforms GitHub projects into MCP endpoints, enabling AI assistants to access and understand project documentation without any setup.
      32
      8,537
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables semantic code search across multiple repositories using natural language queries. Provides intelligent code discovery, symbol lookups, and cross-repo dependency analysis for AI coding agents.
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      A local-first codebase intelligence tool that enables AI assistants to research codebases using semantic search, multi-hop relationship discovery, and structural parsing. It allows users to extract architectural patterns and institutional knowledge across 30+ programming languages through an MCP-compatible interface.
      2
      2,894 PyPI
      1,466
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides semantic code search and code insights via a knowledge graph, enabling AI to understand, navigate, and modify complex projects with deep dependency and architecture analysis.
      MIT