The Octocode MCP Server connects AI assistants to code, enabling search and exploration of repositories on GitHub and GitLab, as well as local codebases with advanced language server protocol (LSP) intelligence.
From the registry: AI code research platform. Search, analyze, and extract insights from any GitHub repository.

$ npx octocode-clihttps://github.com/bgauryy/octocode-mcp/blob/main/packages/octocode-mcp/docs/AUTHENTICATION_SETUP.mdPlease install the `octocode-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **GitHub authentication** — Requires GitHub authentication. Run `npx octocode-cli` for interactive OAuth setup, or see the AUTHENTICATION_SETUP.md doc. Run: `npx octocode-cli` (https://github.com/bgauryy/octocode-mcp/blob/main/packages/octocode-mcp/docs/AUTHENTICATION_SETUP.md)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["octocode-mcp@latest"]
Note: This README is the octocode-mcp monorepo root; packages include octocode-mcp and octocode-cli. The server itself is published as `octocode-mcp`.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.MCP server for searching Airweave collections with natural language queries.