MCP Servers / development / OpenGrok

OpenGrok

JSON →
stdionone4development

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
How to run this server
[ { "cmd": "npx\r\n\r\n**Global", "imports": [] } ]
server path: opengrok
Tools
What this server exposes
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.
Configuration
Environment & auth
authnone
envOPENGROK_BASE_URL
envOPENGROK_ENABLE_FILES_API
envOPENGROK_HTTP_PORT
envOPENGROK_HTTP_AUTH_TOKEN
envOPENGROK_HTTP_CLIENT_ID
envOPENGROK_HTTP_CLIENT_SECRET
Resources
OpenGrok — MCP Server · libregistry