OpenGrok MCP Server
MCP server bridging OpenGrok search engine with AI for instant context across massive codebases.
Open the source (opens github.com) https://github.com/icyhot09/opengrok-mcp-server
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: OPENGROK_PASSWORD. Use a key with the least access you can.
What it is
MCP servers from io.github.IcyHot09.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
opengrok-mcp-server@9.6.0
From the server's entry in the official MCP Registry
Settings it asks for
OPENGROK_BASE_URLrequired · OpenGrok server base URL (e.g. https://opengrok.example.com/source/)OPENGROK_USERNAME· OpenGrok authentication username. Leave unset for anonymous access.OPENGROK_PASSWORDsecret · OpenGrok authentication password. Prefer storing via OS keychain using 'npx opengrok-mcp-server setup'.OPENGROK_VERIFY_SSL· Verify TLS certificates. Set to false for self-signed or internal CA certs.OPENGROK_CODE_MODE· Enable Code Mode: 2-tool sandbox interface with env.opengrok.* JavaScript API. Reduces AI token usage by ~90%.OPENGROK_ENABLE_MEMORY_TOOLS· Register the 3 memory tools in Code Mode (memory status, read, update). Off = api + execute only.OPENGROK_DEFAULT_PROJECT· Default project to scope all searches. Can be overridden per call.OPENGROK_CONTEXT_BUDGET· Response size tier controlling token usage.OPENGROK_API_VERSION· OpenGrok REST API version. Use v2 for call graph features (requires OpenGrok 1.12+).HTTP_PROXY· HTTP/HTTPS proxy URL for all OpenGrok API requests (e.g. http://proxy.company.com:8080). Also set as HTTPS_PROXY.OPENGROK_RESPONSE_FORMAT_OVERRIDE· Force a specific response format for all tools. Leave unset for per-tool auto-selection (recommended).OPENGROK_MEMORY_BANK_DIR· Directory where the AI stores investigation notes (active-task.md, investigation-log.md). Defaults to ~/.config/opengrok-mcp/memory-bank/ or…
Related
-
OpenGrok MCP Server
MCP serversMCP server bridging OpenGrok search engine with AI for instant context across massive codebases.
opengrok-mcp-server@3.3.5 -
GitHub MCP server
MCP serversGitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.
https://api.githubcopilot.com/mcp/ -
Apify MCP server
MCP serversLets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.
-
Connect MCP servers to Claude Code
MCP serversAnthropic's guide to adding MCP servers to Claude Code, with examples of local and remote servers.
-
MCP reference servers
MCP serversSmall example servers from the MCP project (filesystem, git, fetch, memory and more) that show how MCP works.
-
Official MCP Registry
MCP serversThe MCP project's own registry of public MCP servers, so you can look for a connector before building one.