opengrok-go-mcp MCP Server

Agent-oriented MCP server for searching, navigating, and reading code through OpenGrok.

Local serverstdio

What is the opengrok-go-mcp Server?

opengrok-go-mcp is an MCP project maintained in the rokasklive/opengrok-go-mcp repository. The maintainer describes its purpose as “Agent-oriented MCP server for searching, navigating, and reading code through OpenGrok”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using /path/to/opengrok-go-mcp. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares OPENGROK_MCP_BASE_URL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the opengrok-go-mcp Server

{
  "mcpServers": {
    "opengrok": {
      "command": "/path/to/opengrok-go-mcp",
      "env": {
        "OPENGROK_MCP_BASE_URL": "https://your-opengrok-host/source/api/v1"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
OPENGROK_MCP_BASE_URLDeclared in the maintainer’s client configuration.Yes