L'Agora
MCPLocal

OpenGrok MCP Server

io.github.IcyHot09/opengrok-mcp-server

MCP server bridging OpenGrok search engine with AI for instant context across massive codebases.

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by IcyHot09

Repository
github.com/IcyHot09/opengrok-mcp-server
Website
github.com/IcyHot09/opengrok-mcp-server
Version
9.6.0
Author
IcyHot09 (namespace verified by the registry)
Source
Official MCP registry (updated Sep 16, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Variables to fill in: OPENGROK_BASE_URL, OPENGROK_USERNAME, OPENGROK_PASSWORD, OPENGROK_VERIFY_SSL, OPENGROK_CODE_MODE, OPENGROK_ENABLE_MEMORY_TOOLS, OPENGROK_DEFAULT_PROJECT, OPENGROK_CONTEXT_BUDGET, OPENGROK_API_VERSION, HTTP_PROXY, OPENGROK_RESPONSE_FORMAT_OVERRIDE, OPENGROK_MEMORY_BANK_DIR, OPENGROK_LOCAL_COMPILE_DB_PATHS, OPENGROK_ENABLE_ELICITATION, OPENGROK_ENABLE_SAMPLING, OPENGROK_SAMPLING_MODEL, OPENGROK_ENABLE_FILES_API, OPENGROK_ENABLE_OBSERVATION_MASKER, OPENGROK_OBSERVATION_MASKER_TURNS, OPENGROK_SAMPLING_MAX_TOKENS.

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add opengrok-mcp-server -e OPENGROK_BASE_URL=YOUR_OPENGROK_BASE_URL -e OPENGROK_USERNAME=YOUR_OPENGROK_USERNAME -e OPENGROK_PASSWORD=YOUR_OPENGROK_PASSWORD -e OPENGROK_VERIFY_SSL=YOUR_OPENGROK_VERIFY_SSL -e OPENGROK_CODE_MODE=YOUR_OPENGROK_CODE_MODE -e OPENGROK_ENABLE_MEMORY_TOOLS=YOUR_OPENGROK_ENABLE_MEMORY_TOOLS -e OPENGROK_DEFAULT_PROJECT=YOUR_OPENGROK_DEFAULT_PROJECT -e OPENGROK_CONTEXT_BUDGET=YOUR_OPENGROK_CONTEXT_BUDGET -e OPENGROK_API_VERSION=YOUR_OPENGROK_API_VERSION -e HTTP_PROXY=YOUR_HTTP_PROXY -e OPENGROK_RESPONSE_FORMAT_OVERRIDE=YOUR_OPENGROK_RESPONSE_FORMAT_OVERRIDE -e OPENGROK_MEMORY_BANK_DIR=YOUR_OPENGROK_MEMORY_BANK_DIR -e OPENGROK_LOCAL_COMPILE_DB_PATHS=YOUR_OPENGROK_LOCAL_COMPILE_DB_PATHS -e OPENGROK_ENABLE_ELICITATION=YOUR_OPENGROK_ENABLE_ELICITATION -e OPENGROK_ENABLE_SAMPLING=YOUR_OPENGROK_ENABLE_SAMPLING -e OPENGROK_SAMPLING_MODEL=YOUR_OPENGROK_SAMPLING_MODEL -e OPENGROK_ENABLE_FILES_API=YOUR_OPENGROK_ENABLE_FILES_API -e OPENGROK_ENABLE_OBSERVATION_MASKER=YOUR_OPENGROK_ENABLE_OBSERVATION_MASKER -e OPENGROK_OBSERVATION_MASKER_TURNS=YOUR_OPENGROK_OBSERVATION_MASKER_TURNS -e OPENGROK_SAMPLING_MAX_TOKENS=YOUR_OPENGROK_SAMPLING_MAX_TOKENS -- npx -y [email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "opengrok-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENGROK_BASE_URL": "YOUR_OPENGROK_BASE_URL",
        "OPENGROK_USERNAME": "YOUR_OPENGROK_USERNAME",
        "OPENGROK_PASSWORD": "YOUR_OPENGROK_PASSWORD",
        "OPENGROK_VERIFY_SSL": "YOUR_OPENGROK_VERIFY_SSL",
        "OPENGROK_CODE_MODE": "YOUR_OPENGROK_CODE_MODE",
        "OPENGROK_ENABLE_MEMORY_TOOLS": "YOUR_OPENGROK_ENABLE_MEMORY_TOOLS",
        "OPENGROK_DEFAULT_PROJECT": "YOUR_OPENGROK_DEFAULT_PROJECT",
        "OPENGROK_CONTEXT_BUDGET": "YOUR_OPENGROK_CONTEXT_BUDGET",
        "OPENGROK_API_VERSION": "YOUR_OPENGROK_API_VERSION",
        "HTTP_PROXY": "YOUR_HTTP_PROXY",
        "OPENGROK_RESPONSE_FORMAT_OVERRIDE": "YOUR_OPENGROK_RESPONSE_FORMAT_OVERRIDE",
        "OPENGROK_MEMORY_BANK_DIR": "YOUR_OPENGROK_MEMORY_BANK_DIR",
        "OPENGROK_LOCAL_COMPILE_DB_PATHS": "YOUR_OPENGROK_LOCAL_COMPILE_DB_PATHS",
        "OPENGROK_ENABLE_ELICITATION": "YOUR_OPENGROK_ENABLE_ELICITATION",
        "OPENGROK_ENABLE_SAMPLING": "YOUR_OPENGROK_ENABLE_SAMPLING",
        "OPENGROK_SAMPLING_MODEL": "YOUR_OPENGROK_SAMPLING_MODEL",
        "OPENGROK_ENABLE_FILES_API": "YOUR_OPENGROK_ENABLE_FILES_API",
        "OPENGROK_ENABLE_OBSERVATION_MASKER": "YOUR_OPENGROK_ENABLE_OBSERVATION_MASKER",
        "OPENGROK_OBSERVATION_MASKER_TURNS": "YOUR_OPENGROK_OBSERVATION_MASKER_TURNS",
        "OPENGROK_SAMPLING_MAX_TOKENS": "YOUR_OPENGROK_SAMPLING_MAX_TOKENS"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "opengrok-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENGROK_BASE_URL": "YOUR_OPENGROK_BASE_URL",
        "OPENGROK_USERNAME": "YOUR_OPENGROK_USERNAME",
        "OPENGROK_PASSWORD": "YOUR_OPENGROK_PASSWORD",
        "OPENGROK_VERIFY_SSL": "YOUR_OPENGROK_VERIFY_SSL",
        "OPENGROK_CODE_MODE": "YOUR_OPENGROK_CODE_MODE",
        "OPENGROK_ENABLE_MEMORY_TOOLS": "YOUR_OPENGROK_ENABLE_MEMORY_TOOLS",
        "OPENGROK_DEFAULT_PROJECT": "YOUR_OPENGROK_DEFAULT_PROJECT",
        "OPENGROK_CONTEXT_BUDGET": "YOUR_OPENGROK_CONTEXT_BUDGET",
        "OPENGROK_API_VERSION": "YOUR_OPENGROK_API_VERSION",
        "HTTP_PROXY": "YOUR_HTTP_PROXY",
        "OPENGROK_RESPONSE_FORMAT_OVERRIDE": "YOUR_OPENGROK_RESPONSE_FORMAT_OVERRIDE",
        "OPENGROK_MEMORY_BANK_DIR": "YOUR_OPENGROK_MEMORY_BANK_DIR",
        "OPENGROK_LOCAL_COMPILE_DB_PATHS": "YOUR_OPENGROK_LOCAL_COMPILE_DB_PATHS",
        "OPENGROK_ENABLE_ELICITATION": "YOUR_OPENGROK_ENABLE_ELICITATION",
        "OPENGROK_ENABLE_SAMPLING": "YOUR_OPENGROK_ENABLE_SAMPLING",
        "OPENGROK_SAMPLING_MODEL": "YOUR_OPENGROK_SAMPLING_MODEL",
        "OPENGROK_ENABLE_FILES_API": "YOUR_OPENGROK_ENABLE_FILES_API",
        "OPENGROK_ENABLE_OBSERVATION_MASKER": "YOUR_OPENGROK_ENABLE_OBSERVATION_MASKER",
        "OPENGROK_OBSERVATION_MASKER_TURNS": "YOUR_OPENGROK_OBSERVATION_MASKER_TURNS",
        "OPENGROK_SAMPLING_MAX_TOKENS": "YOUR_OPENGROK_SAMPLING_MAX_TOKENS"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "opengrok-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENGROK_BASE_URL": "YOUR_OPENGROK_BASE_URL",
        "OPENGROK_USERNAME": "YOUR_OPENGROK_USERNAME",
        "OPENGROK_PASSWORD": "YOUR_OPENGROK_PASSWORD",
        "OPENGROK_VERIFY_SSL": "YOUR_OPENGROK_VERIFY_SSL",
        "OPENGROK_CODE_MODE": "YOUR_OPENGROK_CODE_MODE",
        "OPENGROK_ENABLE_MEMORY_TOOLS": "YOUR_OPENGROK_ENABLE_MEMORY_TOOLS",
        "OPENGROK_DEFAULT_PROJECT": "YOUR_OPENGROK_DEFAULT_PROJECT",
        "OPENGROK_CONTEXT_BUDGET": "YOUR_OPENGROK_CONTEXT_BUDGET",
        "OPENGROK_API_VERSION": "YOUR_OPENGROK_API_VERSION",
        "HTTP_PROXY": "YOUR_HTTP_PROXY",
        "OPENGROK_RESPONSE_FORMAT_OVERRIDE": "YOUR_OPENGROK_RESPONSE_FORMAT_OVERRIDE",
        "OPENGROK_MEMORY_BANK_DIR": "YOUR_OPENGROK_MEMORY_BANK_DIR",
        "OPENGROK_LOCAL_COMPILE_DB_PATHS": "YOUR_OPENGROK_LOCAL_COMPILE_DB_PATHS",
        "OPENGROK_ENABLE_ELICITATION": "YOUR_OPENGROK_ENABLE_ELICITATION",
        "OPENGROK_ENABLE_SAMPLING": "YOUR_OPENGROK_ENABLE_SAMPLING",
        "OPENGROK_SAMPLING_MODEL": "YOUR_OPENGROK_SAMPLING_MODEL",
        "OPENGROK_ENABLE_FILES_API": "YOUR_OPENGROK_ENABLE_FILES_API",
        "OPENGROK_ENABLE_OBSERVATION_MASKER": "YOUR_OPENGROK_ENABLE_OBSERVATION_MASKER",
        "OPENGROK_OBSERVATION_MASKER_TURNS": "YOUR_OPENGROK_OBSERVATION_MASKER_TURNS",
        "OPENGROK_SAMPLING_MAX_TOKENS": "YOUR_OPENGROK_SAMPLING_MAX_TOKENS"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

This server runs on your machine: we cannot test it remotely.

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

OpenGrok MCP Server · L’Agora

[OpenGrok MCP Server — L’Agora](https://lagora.dev/en/entry/io.github.icyhot09/opengrok-mcp-server)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.IcyHot09/opengrok-mcp-server on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.IcyHot09/opengrok-mcp-server on L’Agora](https://lagora.dev/badge/io.github.icyhot09/opengrok-mcp-server.svg?lang=en)](https://lagora.dev/en/entry/io.github.icyhot09/opengrok-mcp-server)

HTML

<a href="https://lagora.dev/en/entry/io.github.icyhot09/opengrok-mcp-server"><img src="https://lagora.dev/badge/io.github.icyhot09/opengrok-mcp-server.svg?lang=en" alt="io.github.IcyHot09/opengrok-mcp-server on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

Report this entry