OpenGrok MCP Server
io.github.IcyHot09/opengrok-mcp-server
Serveur MCP Non testé
MCP server bridging OpenGrok search engine with AI for instant context across massive codebases.
Fiche technique
- Auteur
- IcyHot09 (espace de noms du registre)
- Dépôt
- github.com/IcyHot09/opengrok-mcp-server
- Site
- github.com/IcyHot09/opengrok-mcp-server
- Version
- 9.6.0
- Transport
- stdio
- Authentification
- Aucune (déclarée au registre)
- Paquets
- opengrok-mcp-server 9.6.0 npm stdio
- Outils
- —
- Catégories
- Recherche et web
- Dernière mise à jour
- 16 sept. 2026
- Publication
- 16 sept. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : pas de test réussi pas encore
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.IcyHot09/opengrok-mcp-server)<a href="https://latlas.dev/mcp/io.github.IcyHot09/opengrok-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.IcyHot09/opengrok-mcp-server.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi. Dernier test non réussi : le badge affiche seulement « référencé ».
[](https://latlas.dev/mcp/io.github.IcyHot09/opengrok-mcp-server)<a href="https://latlas.dev/mcp/io.github.IcyHot09/opengrok-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.IcyHot09/opengrok-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Aucune adresse distante publiée : ce serveur se lance en local, nous ne le testons pas.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport non listé | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Lancement local du paquet opengrok-mcp-server (npm). Formats repris de la documentation de chaque client.
claude mcp add-json opengrok-mcp-server '{"command":"npx","args":["-y","[email protected]"]}'{
"mcpServers": {
"opengrok-mcp-server": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"opengrok-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"opengrok-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y","[email protected]"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"opengrok-mcp-server": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}{
"mcpServers": {
"opengrok-mcp-server": {
"command": "npx",
"args": ["-y","[email protected]"]
}
}
}[mcp_servers.opengrok-mcp-server]
command = "npx"
args = ["-y","[email protected]"]Variables d’environnement déclarées
| Nom | Requise | Description |
|---|---|---|
| OPENGROK_BASE_URL | oui | OpenGrok server base URL (e.g. https://opengrok.example.com/source/) |
| OPENGROK_USERNAME | non | OpenGrok authentication username. Leave unset for anonymous access. |
| OPENGROK_PASSWORD | non (secret) | OpenGrok authentication password. Prefer storing via OS keychain using 'npx opengrok-mcp-server setup'. |
| OPENGROK_VERIFY_SSL | non | Verify TLS certificates. Set to false for self-signed or internal CA certs. |
| OPENGROK_CODE_MODE | non | Enable Code Mode: 2-tool sandbox interface with env.opengrok.* JavaScript API. Reduces AI token usage by ~90%. |
| OPENGROK_ENABLE_MEMORY_TOOLS | non | Register the 3 memory tools in Code Mode (memory status, read, update). Off = api + execute only. |
| OPENGROK_DEFAULT_PROJECT | non | Default project to scope all searches. Can be overridden per call. |
| OPENGROK_CONTEXT_BUDGET | non | Response size tier controlling token usage. |
| OPENGROK_API_VERSION | non | OpenGrok REST API version. Use v2 for call graph features (requires OpenGrok 1.12+). |
| HTTP_PROXY | non | 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 | non | Force a specific response format for all tools. Leave unset for per-tool auto-selection (recommended). |
| OPENGROK_MEMORY_BANK_DIR | non | Directory where the AI stores investigation notes (active-task.md, investigation-log.md). Defaults to ~/.config/opengrok-mcp/memory-bank/ or workspace-relative when set by the VS Code extension. |
| OPENGROK_LOCAL_COMPILE_DB_PATHS | non | Comma-separated paths to compile_commands.json for C/C++ compiler flag and include-path extraction. Leave unset for automatic workspace discovery. |
| OPENGROK_ENABLE_ELICITATION | non | Interactive AI Prompts — the AI pauses to ask questions during investigations (project selection, file disambiguation). Requires Claude Code v2.1.76+ or a client that supports MCP Elicitation. |
| OPENGROK_ENABLE_SAMPLING | non | AI Sampling — allow the server to request LLM completions for error explanations and summaries. Off by default to avoid consuming premium requests (e.g. GitHub Copilot). |
| OPENGROK_SAMPLING_MODEL | non | Model preference for MCP Sampling (used for error explanation and query reformulation). |
| OPENGROK_ENABLE_FILES_API | non | Files API Cache — avoids re-uploading unchanged investigation notes. Requires Files API support in the MCP client. |
| OPENGROK_ENABLE_OBSERVATION_MASKER | non | Observation Masker — prepend compact history summaries to opengrok_execute results after N turns. Disabled by default; has no benefit for clients that retain full context (Claude Code, Cursor). |
| OPENGROK_OBSERVATION_MASKER_TURNS | non | Number of most-recent opengrok_execute results to keep as full text before masking older ones. Default: 10. |
| OPENGROK_SAMPLING_MAX_TOKENS | non | Maximum tokens for AI sampling responses (error explanation, query reformulation). Range: 64–4096. |
| OPENGROK_AUDIT_LOG_FILE | non | Path to write structured audit events (CSV/JSON). Appends tool invocations, elicitation events, and errors. Leave unset to disable. |
| OPENGROK_RATELIMIT_RPM | non | Maximum requests per minute to the OpenGrok server. Default: 60. |
| OPENGROK_PER_TOOL_RATELIMIT | non | Per-tool rate limits in requests per minute, as comma-separated tool:rpm pairs (e.g. opengrok_execute:15,opengrok_search_code:30). Overrides OPENGROK_RATELIMIT_RPM for specific tools. |
| OPENGROK_TIMEOUT | non | HTTP request timeout in seconds for OpenGrok API calls. Increase for slow servers. Default: 30. |
| OPENGROK_DEFAULT_MAX_RESULTS | non | Default maximum number of results returned per search query. Default: 25. |
| OPENGROK_PASSWORD_FILE | non | Path to a file containing the OpenGrok password (file-mounted secret for containers). Takes precedence over the OS keychain when OPENGROK_PASSWORD is unset. |
| OPENGROK_MAX_RESPONSE_BYTES | non | Hard cap on response payload size in bytes. Overrides the context-budget default. Non-positive values are ignored. |
| OPENGROK_SEARCH_AND_READ_CAP | non | Cap for the search_and_read compound tool in bytes. Overrides the context-budget default (2–8 KB depending on tier). Non-positive values are ignored. |
| OPENGROK_STRICT_SSRF | non | When true, reject OPENGROK_BASE_URL values pointing at private/loopback IPs at startup. Default: false (warn only; per-request guards still apply). |
| OPENGROK_JWT_ISSUER | non | Expected JWT issuer (iss claim) for HTTP transport OAuth. When set, JWTs from other issuers are rejected. |
| OPENGROK_GRAMMAR_DIR | non | Directory containing tree-sitter WASM grammars. Overrides the bundled grammar lookup. |
Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
[OpenGrok MCP Server — L’Atlas](https://latlas.dev/mcp/io.github.IcyHot09/opengrok-mcp-server)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.