Skip to main content
Glama

Octocode MCP

README.mdโ€ข8.44 kB
<div align="center"> <img src="https://github.com/bgauryy/octocode-mcp/raw/main/packages/octocode-mcp/assets/logo_white.png" width="400px" alt="Octocode Logo"> # Octocode MCP **Agentic Assistant for AI Agents & IDEs - Smarter Context from Real Code** [![MCP Community Server](https://img.shields.io/badge/Model_Context_Protocol-Official_Community_Server-blue?style=flat-square)](https://github.com/modelcontextprotocol/servers) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/bgauryy/octocode-mcp) [![Trust Score](https://archestra.ai/mcp-catalog/api/badge/quality/bgauryy/octocode-mcp)](https://archestra.ai/mcp-catalog/bgauryy__octocode-mcp) </div> --- ## ๐Ÿ’ก What is Octocode? Octocode is an **agentic assistant for AI agents and IDEs** that creates smarter context from actual code implementations across millions of GitHub repositories. ### โœจ Key Benefits - **๐ŸŽฏ Real-World Code Patterns** - Learn from production codebases, not just documentation - **๐Ÿ”’ Enterprise-Grade Security** - Built-in content sanitization and secrets detection - **๐Ÿข Organization-Wide Support** - Can work on any GitHub organization (based on your permissions), including private orgs - **๐Ÿ“Š Progressive Research** - Discover โ†’ Explore โ†’ Analyze workflow for deep code understanding **Perfect for:** Code creation, bug fixes, architecture research, documentation, and learning from real implementations. --- ## ๐ŸŽฌ See It In Action ### ๐Ÿš€ Full-Stack Agentic App Built in Under 10 Minutes Watch Octocode transform a simple prompt into a complete production-ready application with full-stack implementation (frontend + backend). **๐Ÿ’ฌ The Single Prompt:** > **Prompt: > Use Octocode MCP for Deep Research** > I want to build an application with chat (front-end) that shows a chat window to the user. > The user enters a prompt in the chat, and the application sends the prompt to an Express backend that uses AI to process the request. > > Add a return box (to show the message returned from the AI) and loaders to the UI. > I want to build an AI agent system in Node.js using LangChain and LangGraph. Can you research the latest patterns? > > Please conduct thorough research on how to create this in the best way possible. > Focus on repositories with good documentation and recent activity. > > - Do a deep research > - Create a plan document > - Initiate the plan and create the application **๐Ÿ“‹ Phase 1: Research & Planning** https://github.com/user-attachments/assets/4225ab98-ae2f-46dc-b3ce-7d117e552b8c [Octocode Plan Document](https://gist.github.com/bgauryy/06504671c0d5fef727fe22c492e054d6) *Octocode researches best practices from Millions of repositories and creates a detailed implementation plan* **โšก Phase 2: Implementation** *(Run the plan using any CLI/IDE)* https://github.com/user-attachments/assets/2aaee9f1-3592-438a-a633-255b5cbbb8e1 *From plan to working code - full application built with real-world patterns* --- **๐ŸŽฏ What You Get:** - โœ… Deep research across popular repositories - โœ… Detailed architecture and implementation plan - โœ… Complete working application (frontend + backend) - โœ… Production-ready code following industry best practices - โฑ๏ธ **All in less than 10 minutes!** --- ### ๐ŸŒŸ More Examples - **[๐ŸŽฎ Live Demo: ThreeJS Implementation Comparison](https://octocode-sonnet4-gpt5-comparisson.vercel.app/)** See the dramatic quality difference between generic AI responses and Octocode-enhanced responses - **[๐Ÿ“บ YouTube Channel](https://www.youtube.com/@Octocode-ai)** Deep code research tutorials, AI agent workflows, and pull request analysis --- ## ๐Ÿš€ Quick Start Get started with Octocode in 2 minutes: ```bash # 1. Authenticate with GitHub (install GitHub CLI from https://cli.github.com/) gh auth login # 2. Add to your AI assistant's MCP configuration { "mcpServers": { "octocode": { "command": "npx", "args": ["octocode-mcp@latest"] } } } # 3. Start using it in your AI assistant! ``` **[๐Ÿ“– Complete Setup Guide โ†’](./packages/octocode-mcp/README.md#-quick-start-2-minutes)** --- ## ๐Ÿ“ฆ What's Inside This monorepo contains four powerful tools for AI-enhanced development: ### ๐Ÿ” Octocode MCP Server **[`packages/octocode-mcp/`](./packages/octocode-mcp/)** - The core MCP server Enable AI assistants to search and analyze millions of GitHub repositories with intelligent code discovery. **Key Features:** - ๐Ÿ” Smart code search across GitHub's entire public repository index - ๐Ÿ“Š Progressive research workflows (Discover โ†’ Explore โ†’ Analyze) - ๐Ÿ”’ Enterprise-grade security with automatic secrets sanitization - โšก Token-efficient responses (up to 70% reduction) - ๐ŸŽฏ Context-aware code retrieval with pattern matching **[๐Ÿ“– Full Documentation โ†’](./packages/octocode-mcp/README.md)** --- ### ๐Ÿงฐ Octocode Utils **[`packages/octocode-utils/`](./packages/octocode-utils/)** - Utility library Token optimization and content processing utilities used by Octocode MCP, available as a standalone package. **Key Features:** - ๐Ÿ—œ๏ธ Smart content minification for 50+ programming languages - โšก Advanced token optimization strategies (30-60% savings) - ๐Ÿ”ง Helper utilities for content processing - ๐Ÿ“ฆ Standalone NPM package for your own projects **Perfect for:** Building token-efficient AI tools, content processors, and LLM integrations. --- ### ๐Ÿง  Octocode Local Memory **[`packages/octocode-local-memory/`](./packages/octocode-local-memory/)** - In-memory storage MCP Ultra-fast in-memory storage for AI agent coordination and communication without external dependencies. **Key Features:** - โšก Sub-millisecond operations (< 1ms read/write) - ๐Ÿค Enable multiple AI agents to coordinate seamlessly - ๐Ÿ”’ File lock management to prevent race conditions - ๐Ÿ“Š Task assignments, status tracking, and inter-agent messaging - ๐Ÿชถ Zero configuration - no database or Redis required **Perfect for:** Multi-agent workflows, task coordination, real-time status tracking, and parallel agent execution. **[๐Ÿ“– Full Documentation โ†’](./packages/octocode-local-memory/README.md)** --- ### ๐Ÿค– Octocode Claude Plugin **[`octocode-claude-plugin/`](./octocode-claude-plugin/)** - Multi-agent development system Transform ideas into production-ready applications with a team of specialized AI agents working in parallel. **Key Features:** - ๐Ÿ‘ฅ 7 specialized AI agents (Product Manager, Architect, Frontend/Backend/DevOps Engineers, QA, Documentation) - ๐Ÿ“‹ 7-phase workflow: Requirements โ†’ Architecture โ†’ Development โ†’ Testing โ†’ Documentation โ†’ Deployment - ๐Ÿ”ฌ Research-driven decisions from 100,000+ GitHub repositories - ๐Ÿš€ Parallel execution with automatic file conflict prevention - โœ… 80-90% test coverage enforcement **Example Usage:** ```bash /octocode-generate Build a blog platform with authentication, comments, and admin panel ``` **[๐Ÿ“– Full Documentation โ†’](./octocode-claude-plugin/README.md)** --- ## ๐Ÿ“š Resources & Documentation ### ๐Ÿ“– Guides - **[๐ŸŒ Official Website](https://octocode.ai)** - Interactive tutorials and guides - **[๐Ÿ“– Usage Guide](./packages/octocode-mcp/docs/USAGE_GUIDE.md)** - 20+ real-world examples - **[๐Ÿ” Authentication Setup](./packages/octocode-mcp/docs/AUTHENTICATION.md)** - Complete setup guide - **[๐Ÿ”ง API Reference](./packages/octocode-mcp/docs/TOOL_SCHEMAS.md)** - Detailed tool schemas ### ๐Ÿ“ฆ Resources - **[๐Ÿ“š Curated Code Resources](./resources/)** - 610+ hand-picked repositories organized by category --- ## ๐ŸŒŸ Community & Support Join our growing community of developers using Octocode: - **โญ Star us on [GitHub](https://github.com/bgauryy/octocode-mcp)** - Show your support! - **๐Ÿ’ฌ [GitHub Discussions](https://github.com/bgauryy/octocode-mcp/discussions)** - Ask questions and share ideas - **๐Ÿ› [Report Issues](https://github.com/bgauryy/octocode-mcp/issues)** - Found a bug? Let us know - **๐Ÿ“บ [YouTube Channel](https://www.youtube.com/@Octocode-ai)** - Video tutorials and examples <div align="center"> <a href="https://glama.ai/mcp/servers/@bgauryy/octocode-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@bgauryy/octocode-mcp/badge" /> </a> --- **Built with โค๏ธ for developers by developers** [Website](https://octocode.ai) </div>

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bgauryy/octocode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server