OpenGrok
JSON →OpenGrok MCP Server is a native Model Context Protocol (MCP) VS Code extension that seamlessly bridges the gap between your organization's OpenGrok indices and GitHub Copilot Chat. It arms your AI assistant with the deep, instantaneous repository context required to traverse, understand, and search massive codebases using only natural language.
Install
npx
**Global Tools · 8
- opengrok_search_code General search utility (full-text, defs, refs, path, history). Supports file_type filtering.
- opengrok_find_file Locate files by name or directory pattern.
- opengrok_get_file_content Read source code (requires start_line and end_line for large files).
- opengrok_get_file_history Retrieve commit history logs.
- opengrok_browse_directory View folder structure and contained files.
- opengrok_list_projects See all indexed repositories/projects.
- opengrok_get_file_annotate See line-by-line git blame information.
- opengrok_get_file_symbols Retrieve file symbols.
Environment variables
OPENGROK_BASE_URLOPENGROK_ENABLE_FILES_APIOPENGROK_HTTP_PORTOPENGROK_HTTP_AUTH_TOKENOPENGROK_HTTP_CLIENT_IDOPENGROK_HTTP_CLIENT_SECRET
Links
★ 4 GitHub stars