CAT
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Cross AI Tools

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by @mertduzgun

Independent project, not affiliated with Anthropic

Octocode MCP - AI Context Platform

bgauryy/octocode-mcp
863authSTDIOregistry active
Summary

Octocode MCP provides AI assistants with research-driven development capabilities by connecting to GitHub, GitLab, and local codebases through tools including repository search, code pattern discovery, Language Server Protocol intelligence (Go to Definition, Find References, Call Hierarchy), and file browsing. The server enables AI agents to understand code implementations, explore pull requests, and perform compiler-level code analysis to solve problems that typically require senior engineer expertise. It offers both a core MCP server and modular skills (Researcher, Research, Engineer, and Plan) that support multi-phase investigation, code generation, and evidence-based planning workflows.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Agentic Research Platform

Octocode Logo

MCP Community Server Ask DeepWiki Website YouTube

Evidence-first code research for AI agents and developers.

Octocode gives an agent the full context it needs to change, review, or explain code: real evidence from your local workspace and from external sources (GitHub repositories, pull requests, and npm packages). One toolset covers all of it: ripgrep and AST structural search, repository tree browsing, precise content fetching, LSP semantic navigation, and binary inspection.

Run it as a CLI or an MCP server. A Rust engine keeps every call fast and token-efficient, minifying and skeletonizing code so an agent reads the shape of a file instead of every byte, from a single file to a mega-repo. It is also the best tool for cross-repository research and exploration across millions of repositories.


Table of Contents

  • Why Octocode
  • Tools
  • MCP
  • CLI
  • Configuration
  • Authentication Methods
  • Security
  • Language Support
  • Skills
  • Architecture
  • Documentation
  • Contributing

Why Octocode

Agents write better code from evidence than from assumptions. Octocode turns guess-driven work into research-driven work. Before an agent changes, reviews, or explains code, it gathers real evidence from your local workspace and from GitHub repositories, pull requests, and npm packages, then hands it back as compact, citable context. Code is truth; context is the map.

Most tools cover one slice: searching the web, or grepping your repo. Octocode covers the whole research flow, end to end:

  • Built for scale. In organizations with thousands of repositories and endless code, Octocode is the solution: spot a pattern in one repo, follow it through the pull request that introduced it, then trace the same shape across other repos and your own files without leaving the conversation. Clone any repo and study it locally, on any machine.
  • Smart GitHub workflows. Parallel bulk queries and built-in next-step hints keep the agent on the cheapest path: search broadly, read narrowly, trace semantically. Each result points to the natural follow-up.
  • No GitHub required. Even without GitHub, clone any repository locally and point Octocode's local tools (search, structural AST, LSP, content) at it for the same evidence-first research.
  • Reads the shape, not the noise. Code is minified and skeletonized on the fly across 70+ languages, so an agent grasps a 100 KB file in a few hundred tokens instead of spending its context on boilerplate.
  • Fast and self-contained. Search, parsing, semantic navigation, and redaction run in one prebuilt Rust engine: quick on a laptop or a mega-repo, with no extra toolchain to install.
  • Safe by default. Every byte returned to the model is scanned and secrets redacted first (see Security).

Get Started

Add Octocode to an AI assistant with MCP, or run the same tools directly from your terminal with the CLI.

MCP fast install:

Install in Cursor Install in VS Code Install in VS Code Insiders

# Interactive installer for Cursor, Claude Code, Codex, VS Code, and more
npx octocode install

CLI fast install:

npx octocode

Authenticate GitHub when you want private repositories or higher API limits:

npx octocode auth login

Benchmarks

Latest benchmark output: packages/octocode-benchmark/output.

ast-grep Structural Comparison

Bars show relative throughput. Higher is better; lower ms is better.

What we tested: ast-grep CLI and Octocode structural grep on the same real repository files, using the same broad AST node-kind searches (call_expression, call, method_invocation). The goal was to check structural AST grep compatibility by match count, then measure where time is spent across Octocode's raw matcher, agent tool path, and public CLI.

This benchmark does not test text grep, LSP navigation, rewriting, or the full ast-grep rule language. Those are separate capabilities.

Octocode raw native  ████████████████████    5.0 ms median  │  3.0x faster  │  6/6 matched
ast-grep CLI         ███████░░░░░░░░░░░░░   15.1 ms median  │  baseline     │  6/6 matched

Octocode raw native means the direct Rust/NAPI structuralSearchFiles matcher: parse and match only, with no tool validation, sanitizer, pagination, JSON shaping, or Node CLI startup. The agent-facing localSearchCode and public octocode grep paths are intentionally slower because they include those safety and DX layers.

What was checked: we took ast-grep's benchmark scenario repo list, picked one deterministic file from each supported repo, asked both tools to find the same AST node kind in that file, verified identical match counts, then timed the median run.

Benchmark files: runner · scenario manifest · latest output


Tools

Octocode ships 13 research tools; the same implementations run identically over MCP and the CLI. ghCloneRepo is opt-in for MCP (ENABLE_CLONE=true) and enabled by default for CLI; local tools require ENABLE_LOCAL (CLI default: on, MCP default: off). All flags: Configuration Reference.

Token knobs. concise:true returns path/title-only lists. minify controls file read density: symbols = skeleton with line numbers, standard = comments/blanks stripped (default), none = exact bytes.

GitHub Tools

ToolWhat it doesKnob
ghSearchCodeCode and path search across GitHub by owner, repo, path, filename, extension, and match filters. Accepts 1 to 5 parallel queries.concise
ghGetFileContentRead a GitHub file or region: full file, line range, match slice, or paginated chars.minify
ghViewRepoStructureBrowse a GitHub repository's directory tree before reading files.
ghSearchReposDiscover repositories by keywords, owner, topic, language, stars, forks, size, dates, license, visibility.concise
ghHistoryResearchSearch PR history, or deep-read one PR: files, patches, comments, reviews, commits.concise
ghCloneRepoClone a repo or sparse subtree into the local cache for local/LSP analysis. Opt-in (ENABLE_CLONE=true).sparsePath

Local Tools

ToolWhat it doesKnob
localSearchCodeLocal code/text search returning file and line anchors. mode:"structural" runs Octocode AST shape queries (pattern or rule).mode
localViewStructureBrowse a local directory tree: depth, filters, pagination, metadata.concise
localFindFilesFind local files and directories by name, path, regex, extension, size, time, permissions, type.
localGetFileContentRead a local file or region: exact slice, match string, line range, or paginated chars.minify
localBinaryInspectInspect archives, compressed streams, and native binaries: inspect (format/symbols/imports/deps), list, extract, decompress, strings.

Package Search

ToolWhat it doesKnob
npmSearchnpm package lookup and keyword search; returns metadata and the source repository for GitHub handoff.concise

LSP

ToolWhat it does
lspGetSemanticsTyped semantic navigation. Raw tools support definition, references, callers, callees, callHierarchy, hover, documentSymbols, typeDefinition, and implementation. The CLI lsp shortcut is for symbol-anchored queries only; use ls --symbols for documentSymbols. Navigation runs through installed language servers (see the LSP Tools Reference).

Per-tool references (full schemas, fields, and examples) live in docs/mcp:

  • GitHub Tools
  • Local Tools
  • Binary Tools
  • LSP Tools
  • Tool Behavior Guide

MCP

The MCP server exposes all 13 tools directly to your AI assistant over stdio. Install once; the assistant calls tools automatically.

Install

Fast install:

Install in Cursor Install in VS Code Install in VS Code Insiders

Or use the installer (detects your installed clients):

# Interactive: detects your installed clients
npx octocode install

# Non-interactive
octocode install --ide cursor
octocode install --ide claude-code

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

Manual Configuration

Add to your MCP client config file:

{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": ["octocode-mcp@latest"]
    }
  }
}

For GitHub auth, add a token under env (see Authentication Methods).

Configuration

Set tokens and options as env entries here, or machine-wide in .octocoderc. See Configuration for every setting, the home-folder layout, and precedence.


CLI

The CLI exposes the same research engine without an MCP client. Use quick commands for humans, or call raw tools from scripts and CI. It is agent-friendly by design: npx octocode --help, npx octocode context, and npx octocode tools <name> --scheme publish the research protocol, tool descriptions, and exact schemas, while command output returns compact anchors, pagination, and follow-up hints that guide agents through evidence-first research.

Install

npx octocode
npx octocode auth login
npx octocode status

All Commands

Local paths route to local tools; owner/repo[/path] targets route to GitHub tools.

CommandUse it for
octocode ls <path|owner/repo>Browse local or GitHub structure; a file or --symbols shows a symbol outline
octocode cat <path|owner/repo/path>Read a file, symbol skeleton (--mode symbols), line range, or matched slice
octocode grep <term> <path|owner/repo>Text/regex search, or AST structural search with --pattern / --rule (local). --type accepts extensions and language aliases such as ts, rust, typescript, and *.rs.
octocode find <query> [path|owner/repo]Find files by name, path, metadata, or content
octocode lsp <file> --type <type> --symbol <name> --line <n>Trace definition, references, callers, callees, callHierarchy, hover, typeDefinition, and implementation; use ls --symbols for file outlines
octocode pr <owner/repo[#N]|PR-URL>Search or deep-read pull requests
octocode history <owner/repo[/path]>Inspect commit history for a repo, directory, or file
octocode repo <keywords...>Discover GitHub repositories
octocode pkg <package|keywords>Search npm and hand off to source repositories
octocode binary <file>Inspect archives, compressed files, and native binaries
octocode unzip <archive>Unpack an archive to <octocode-home>/tmp/unzip/<name>-<timestamp>/, then use local ls, grep, cat, and lsp
octocode clone <owner/repo[/path][@branch]>Clone a repo or subtree to <octocode-home>/tmp/clone/ for local/LSP analysis (ENABLE_CLONE=true)
octocode toolsList tools, read schemas, or run any MCP tool directly from the terminal
octocode contextPrint agent-facing protocol, system prompt, tool descriptions, and schemas
octocode installConfigure Octocode in MCP clients
octocode authManage GitHub authentication with login, logout, or refresh
octocode login / octocode logoutSign in or clear stored GitHub credentials
octocode statusCheck token presence, auth identity, MCP installs, sync state, and cache paths

Full command syntax, flags, examples, and exit codes live in the CLI Reference.


Configuration

Everything is optional; Octocode runs on sensible defaults. Settings resolve from three sources, in priority order:

environment variables  >  <octocode-home>/.octocoderc  >  built-in defaults
  1. MCP / environment variables (highest): per client or per project, set in your MCP config env or your shell.
  2. Global config: <octocode-home>/.octocoderc, machine-wide defaults read by both the CLI and the MCP server.
  3. Built-in defaults: used when neither is set.

Octocode home (<octocode-home>) holds the global config, encrypted credentials, sessions, stats, logs, and tmp materialization caches. Its location is fixed per platform (there is no override):

PlatformLocation
macOS~/.octocode
Linux${XDG_CONFIG_HOME:-~/.config}/.octocode
Windows%APPDATA%\.octocode

Set in MCP (env entries; these win over .octocoderc):

{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": ["octocode-mcp@latest"],
      "env": {
        "GITHUB_TOKEN": "ghp_xxxxxxxx",
        "ENABLE_LOCAL": "true",
        "ENABLE_CLONE": "false"
      }
    }
  }
}

Set globally for both the CLI and MCP in <octocode-home>/.octocoderc (JSON, comments and trailing commas tolerated; never put tokens here). See the ready-to-copy example below.

Common settings

The Scope column shows where a setting applies: Both, or MCP (the CLI ignores it).

Env var.octocoderc keyDefaultScopeWhat it does
OCTOCODE_TOKEN / GH_TOKEN / GITHUB_TOKENenv onlyunsetBothGitHub token, in priority order. Tokens stay in env, never in .octocoderc.
GITHUB_API_URLgithub.apiUrlhttps://api.github.comBothAPI endpoint; use /api/v3 for GitHub Enterprise.
ENABLE_LOCALlocal.enabledCLI true, MCP falseBothTurns local filesystem + LSP tools on/off.
ENABLE_CLONElocal.enableCloneCLI true, MCP falseBothghCloneRepo and directory fetch. Default differs by surface; set false to disable in either.
WORKSPACE_ROOTlocal.workspaceRootcwdBothAbsolute root for resolving relative local paths.
ALLOWED_PATHSlocal.allowedPaths[]BothExtra path allowlist for local access; empty means home directory only after validation.
TOOLS_TO_RUN / ENABLE_TOOLS / DISABLE_TOOLStools.*unsetMCPWhitelist, add to, or remove from the registered tool set. The CLI exposes every tool.
REQUEST_TIMEOUTnetwork.timeout30000BothRequest timeout in ms (clamped 5000..300000).
MAX_RETRIESnetwork.maxRetries3BothRetry attempts (clamped 0..10).
OCTOCODE_OUTPUT_FORMAToutput.formatyamlBothResponse format: yaml or json.

Local and clone defaults differ by surface. The CLI honors ENABLE_LOCAL and defaults local tools on; clone is enabled by default. The MCP server honors ENABLE_LOCAL and defaults local tools and clone off, so a deployment can control what an assistant may touch. Explicit env or .octocoderc values override those defaults.

Example .octocoderc

Drop this at <octocode-home>/.octocoderc for machine-wide defaults shared by the CLI and the MCP server. Every field is optional; keep only what you want to change. Tokens never go here (use env or octocode login).

{
  // GitHub Enterprise users: point at your API endpoint.
  "github": { "apiUrl": "https://api.github.com" },

  "local": {
    "enabled": true,            // overrides the surface default for CLI and MCP
    "enableClone": false,       // false disables ghCloneRepo for CLI and MCP
    "workspaceRoot": "~/code",  // base for relative local paths (absolute or ~)
    "allowedPaths": []          // extra dirs the local tools may read
  },

  "network": { "timeout": 30000, "maxRetries": 3 },

  "output": { "format": "yaml" }  // "yaml" or "json"
}

Per-project overrides and custom LSP servers live in a workspace .octocode/ folder (for example .octocode/lsp-servers.json). For every variable, the full .octocoderc schema, clone-cache tuning, GitHub Enterprise setup, local-state paths, and precedence details, see the Configuration Reference.


Authentication Methods

GitHub-backed tools require authentication. Any one method is enough. Full details: Authentication Setup.

Option 1: Octocode CLI (Recommended)

npx octocode auth login
npx octocode status       # verify the active token source

Octocode stores OAuth credentials encrypted on disk.

Option 2: GitHub CLI (also supported)

gh auth login

Octocode reads the gh token automatically — no further config needed.

Option 3: Personal Access Token (also supported)

Set OCTOCODE_TOKEN, GH_TOKEN, or GITHUB_TOKEN in your shell. Required scopes: repo, read:user, read:org.

Create a token at github.com/settings/tokens.

Security tip: Never commit tokens to version control. Use environment variables or secure secret management.


Security

Every byte that reaches the model is scanned and redacted first. All content (local files, GitHub and npm responses, error messages, and tool outputs) passes through the Rust engine's secret scanner on the way in (tool inputs) and on the way out (results), so secrets never reach the LLM or logs. The same enforcement runs identically under MCP and the CLI.

  • Secret redaction, in and out. 270+ provider credential patterns (AWS, Azure, GCP, GitHub, OpenAI, Anthropic, Stripe, Slack, 1Password, and more) plus generic JWTs, PEM/private keys, bearer tokens, database connection strings, and high-entropy strings. Masked values surface a Secrets detected and redacted warning so the agent knows.
  • Content sanitized at the source. Local reads (localGetFileContent, ripgrep, structural search, binary, find, structure) and external fetches (GitHub code/files, npm) are scanned as they are read, not only at the boundary.
  • Path safety. Local reads are bounded to WORKSPACE_ROOT and ALLOWED_PATHS (default: your home directory). Symlinks are resolved and the real target is re-validated against the same rules, so a link cannot escape into a blocked location. Every local tool runs this check before touching the filesystem.
  • Sensitive files and directories are blocked by default. Octocode refuses to read known secret-bearing files and folders wherever they live, returning a redacted error instead of contents. Blocked patterns include:
    • Keys and certs: *.pem, *.key, *.crt/*.cer/*.csr, *.p12/*.pfx/*.jks/*.keystore, and SSH keys (id_rsa, *_ed25519, authorized_keys, known_hosts, .ssh/).
    • Credentials and tokens: .env / .env.*, .netrc, .npmrc, .pgpass, .git-credentials, *_token / .token, client_secret*.json, *service-account*.json, auth.json, .htpasswd.
    • Cloud and infra: .aws/, .azure/, .config/gcloud/, .kube/ / kubeconfig, .docker/, .terraform/ and *.tfstate.
    • OS and app secret stores: .git/, secrets/, private/, browser login data (Chrome/Firefox), OS keychains, password managers (*.kdbx), shell history files, and crypto wallets.
  • Command safety. Local execution is whitelisted to rg, find, and ls via spawn with argument arrays: no shell strings, no injection.
  • Schema validation runs before any tool executes; untrusted input size and shape are bounded.
  • Credentials. GitHub auth via env tokens, AES-256-GCM-encrypted on-disk OAuth, or the gh CLI; tokens are never logged.

Full security model, pipeline, and threat coverage: SECURITY.md. Related: Authentication · Configuration · Credentials


Language Support

Four code-intelligence axes; three are native to the Rust engine and need no external tooling:

AxisWhat it doesHow to use it
Structural ASTTree-sitter shape queries (pattern or YAML rule) across 33 grammars.localSearchCode mode:"structural" · CLI grep --pattern/--rule
Signature outlineBody-free skeleton with line numbers from real tree-sitter parsing, no heuristics. An anti-growth guard returns the real file when a skeleton wouldn't be smaller.minify:"symbols" · CLI cat --mode symbols
Content minificationComment/whitespace stripping for 70+ languages and config formats; HTML/Vue/Svelte also minify embedded <style>/<script>.minify:"standard" (default)
LSP navigationdefinition, references, callers/callees, callHierarchy, hover, typeDefinition, implementation, documentSymbols, via an installed language server; JS/TS also have a native, no-server path.lspGetSemantics · CLI lsp / ls --symbols

📋 Full support matrix: every extension with its exact AST, signature, LSP, and minify capability, machine-generated from the shipped binary, lives in benchmark/SUPPORT.md (150 extensions: 61 AST, 47 signature, 56 LSP, 89 minify-only). Regenerate or verify with yarn workspace @octocodeai/octocode-benchmark matrix:check.


Skills

Agent Skills are a lightweight, open format for extending AI agent capabilities. Browse and install on skills.sh/bgauryy/octocode-mcp · Skills index: skills/README.md

These are the skills the Octocode team itself uses to build Octocode. ⭐ Engineer is the recommended starting skill.

SkillWhat it does
⭐ EngineerCodebase understanding, implementation, bug investigation, refactors, PR review, and RFC validation with AST + LSP evidence
ResearchDeep code exploration with HTTP-based tool orchestration: trace flow, find usages, understand a codebase
BrainstormingValidate ideas against GitHub, npm, and web evidence; produces a decision-ready brief
RFC GeneratorEvidence-backed RFCs, design docs, migration and implementation plans before coding
InstallInteractive step-by-step Octocode installer for macOS and Windows
Search SkillFind, evaluate, install, rate, and refactor Agent Skills (SKILL.md format)
StatsRender an Octocode MCP usage dashboard from stats.json (tokens saved, cache hits, errors)

Architecture

A yarn-workspaces monorepo. The MCP server and the CLI are thin front-ends over one shared TypeScript tool core, which delegates every CPU-heavy path to a single Rust engine (compiled via napi-rs to prebuilt .node binaries). One tool catalog, one security layer, one response shaper, reached two ways.

graph LR
    CLI["octocode<br/>CLI"]
    MCP["octocode-mcp<br/>MCP server, stdio"]
    VSC["VS Code extension<br/>OAuth + install"]
    CORE["octocode-tools-core<br/>tools, GitHub client, auth, pagination, security bridge"]
    ENGINE["octocode-engine (Rust)<br/>secrets, minify, AST, signatures, ripgrep/diff/YAML, LSP"]
    EXT["GitHub API, local FS + ripgrep, language servers"]

    CLI --> CORE
    MCP --> CORE
    VSC -. starts .-> MCP
    CORE --> ENGINE
    CORE --> EXT
    ENGINE --> EXT

    style ENGINE fill:#1a1a2e,stroke:#e75d2a,color:#fff

Request flow is identical whether a call arrives over MCP or the CLI:

client → sanitize inputs (Rust) → run tool (GitHub / FS / LSP) → sanitize + YAML-serialize + paginate (Rust) → result + next-step hints

One Rust engine owns secret detection, sanitization, path/command validation, minification (70+ languages), signature extraction, structural AST search, ripgrep parsing, diff filtering, YAML serialization, and LSP, so the Node event loop stays unblocked and there is no duplicate native loader. It ships prebuilt for darwin (arm64/x64), linux (arm64/x64, gnu + musl), and win32-x64; no Rust toolchain is needed at runtime.

Packages

Directorynpm packageRole
packages/octocodeoctocodeCLI: quick commands, raw tool runner, auth/login/logout, install, status, context.
packages/octocode-mcpoctocode-mcpMCP server (stdio) that registers the tool catalog for AI assistants.
packages/octocode-tools-core@octocodeai/octocode-tools-coreShared tool core: implementations, GitHub client, credentials and token resolution, session, pagination, security bridge.
packages/octocode-engine@octocodeai/octocode-engineRust/napi native engine: security scanning, minification, signatures, structural AST, ripgrep/diff/YAML, LSP.
packages/octocode-vscodeoctocode-mcp-vscodeVS Code extension: GitHub OAuth + multi-editor MCP install.

Documentation

Website: octocode.ai · Full docs: github.com/bgauryy/octocode/tree/main/docs · Index: docs/README.md. All monorepo documentation lives in docs/ (no per-package docs/).

Docs map

  • docs/mcp/: MCP server configuration, authentication, tools, workflows, architecture
  • docs/cli/: CLI commands, flags, benchmarks
  • docs/: guides for development, security, skills, Pi setup

Setup

  • Authentication Setup
  • Configuration Reference
  • Using octocode-mcp with Pi

Tool References

  • GitHub Tools
  • Local Tools
  • LSP Tools
  • Clone & Local Workflow

Security, CLI & Skills

  • Security Model
  • CLI Reference
  • Skills Guide · Skills Index

Shared Internals

  • Credentials Architecture · Session Persistence

Operations

  • Development Guide · Agent Guidance (AGENTS.md)

Recommended dev mode: Pi + Octocode

Pi is a fast, local-first coding agent whose stated philosophy is "CLI tools with READMEs (Skills) over MCP." Pairing it with Octocode gives a lean, evidence-driven dev loop — Pi edits, Octocode researches. Two routes, pick by how much surface you need:

  • Skill route — recommended, leanest. Drop the octocode-engineer skill into Pi's global skills dir. It drives the Octocode CLI directly — no MCP transport, minimal token overhead — and Pi auto-discovers it:

    npx -y degit bgauryy/octocode/skills/octocode-engineer ~/.pi/agent/skills/octocode-engineer
    
  • Adapter route — full tool surface. Install pi-mcp-adapter to expose all 13 Octocode MCP tools behind a single ~200-token proxy tool, so servers stay disconnected until a tool is actually called. Enable clone tools with ENABLE_CLONE=true.

Tune Pi's behavior with an APPEND_SYSTEM.md (a compact starter lives at docs/PI/APPEND_SYSTEM.md). The full walkthrough — adapter install, MCP config scopes, skills, system-prompt tuning, and custom models — is in the Pi Setup Guide.

The Manifest

"Code is Truth, but Context is the Map." Read the Manifest of Octocode for Research Driven Development to understand the philosophy behind Octocode.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Keep your Mac awake
Keep your Mac awake
Keep your Mac awake while Claude Code and 40+ AI agents run. Sleeps when they're idle.
One time payment $9 →
Context.devContext.dev
Context.dev
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Make money from your Skills
Make money from your Skills
On Capafy, your Skill runs online 24/7 as an agent product, and you get paid every time someone uses it.
Start earning →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →

Configuration

GITHUB_TOKENsecret

GitHub Personal Access Token. Optional - authenticate via GitHub CLI (gh auth login) for automatic token management, or set this token manually for CI/CD environments.

Categories
Developer ToolsSearch & Web Crawling
Registryactive
Packageoctocode-mcp
TransportSTDIO
AuthRequired
UpdatedNov 10, 2025
View on GitHub

Related Developer Tools MCP Servers

View all →
Git Mcp Server

ray0907/git-mcp-server

MCP server for GitLab and GitHub
Git Mcp Server

cyanheads/git-mcp-server

Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.
221
Atlassian Dc Mcp Bitbucket

io.github.b1ff/atlassian-dc-mcp-bitbucket

MCP server for Atlassian Bitbucket Data Center - interact with repositories and code
77
Atlassian Dc Mcp Jira

io.github.b1ff/atlassian-dc-mcp-jira

MCP server for Atlassian Jira Data Center - search, view, and create issues
77
Atlassian Jira

com.mcparmory/atlassian-jira

Create, search, and manage issues, projects, and team workflows
25
Vscode Terminal Mcp

sirlordt/vscode-terminal-mcp

Execute commands in visible VSCode terminal tabs with output capture and session reuse.
1