Octocode MCP
A server for semantic code search and context generation across public and private repositories using LLMs.
Octocode: Research Driven Development for AI
Stop Guessing. Start Knowing.
Empower your AI assistant with the skills of a Senior Staff Engineer.
Installation
Prerequisites: GitHub authentication required. See Authentication Setup.
Recommended: Octocode CLI
npx octocode-cli
Interactive setup wizard with GitHub OAuth, MCP server installation, and skills marketplace.
Alternative Methods
Manual MCP Configuration
Add to your MCP configuration file:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}
Research Skill (Direct Install)
npx add-skill https://github.com/bgauryy/octocode-mcp/tree/main/skills/octocode-research
MCP Server
The Octocode MCP Server connects your AI assistant to code:
- GitHub & GitLab: Search repositories, find usage patterns, read implementations, explore PRs
- Local Tools: Search code, browse directories, find files in your local codebase
- LSP Intelligence: Go to Definition, Find References, Call Hierarchy -- compiler-level understanding
https://github.com/user-attachments/assets/de8d14c0-2ead-46ed-895e-09144c9b5071
Skills
Agent Skills are a lightweight, open format for extending AI agent capabilities. Skills index: skills/README.md
| Skill | What it does |
|---|---|
| Research | Deep code exploration via LSP, local tools, GitHub API, packages, PRs |
| Researcher | Primary code research and exploration — local + external |
| Plan | Evidence-based planning: Understand, Research, Plan, Implement |
| PR Reviewer | PR review across 7 domains with evidence-backed findings |
| Roast | Brutally honest code critique with file:line citations |
| Prompt Optimizer | Transform weak prompts into enforceable agent protocols |
| Documentation Writer | Generate comprehensive repo documentation in 6 phases |
https://github.com/user-attachments/assets/5b630763-2dee-4c2d-b5c1-6335396723ec
Documentation
For the full documentation index, start here: docs/README.md
Recommended quick links:
- Authentication Setup
- Configuration Reference
- Local Tools + LSP Reference
- CLI Skills Guide
- Skills Index
- Troubleshooting
The Manifest
"Code is Truth, but Context is the Map." -- Read the Manifest for Research Driven Development to understand the philosophy behind Octocode.
Contributing
See the Development Guide for monorepo setup, testing, and contribution guidelines.
相關伺服器
Scout Monitoring MCP
贊助Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
贊助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
CodeRabbit
Integrate with CodeRabbit AI for automated code reviews, pull request analysis, and report generation.
Azure DevOps
Interact with Azure DevOps Work Items using the Azure DevOps REST API.
Logfire
Provides access to OpenTelemetry traces and metrics through Logfire.
TeamCity MCP Server
MCP server for JetBrains TeamCity with 87 tools for builds, tests, agents, and CI/CD pipeline management.
Testomat.io
Integrate Testomat.io API with AI assistants for test management.
Agent Loop
An AI Agent with optional Human-in-the-Loop Safety and Model Context Protocol (MCP) integration.
ctfd-mcp
MCP server for CTFd that lets regular users browse challenges, manage dynamic instances, and submit flags.
MCP Script Runner
Execute developer-defined bash scripts in a Dockerized environment for coding agents.
MCPSwift
A Swift framework for building Model Context Protocol (MCP) servers with a simplified API.
Authless Remote MCP Server
An authentication-free remote MCP server designed for deployment on Cloudflare Workers.