Back to Browse

Opengrok MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (2 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (3/3 approved).

3 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

OpenGrok server base URL (e.g. https://opengrok.example.com/source/)Optional

Environment variable: OPENGROK_BASE_URL

OpenGrok authentication usernameOptional

Environment variable: OPENGROK_USERNAME

OpenGrok authentication password. Prefer storing via OS keychain using 'npx opengrok-mcp-server setup'.Required

Environment variable: OPENGROK_PASSWORD

Verify TLS certificates. Set to false for self-signed or internal CA certs.Optional

Environment variable: OPENGROK_VERIFY_SSL

Enable Code Mode: 5-tool sandbox interface with env.opengrok.* JavaScript API. Saves 80-95% tokens on large codebases.Optional

Environment variable: OPENGROK_CODE_MODE

Default project to scope all searches. Can be overridden per call.Optional

Environment variable: OPENGROK_DEFAULT_PROJECT

Response size tier controlling token usage.Optional

Environment variable: OPENGROK_CONTEXT_BUDGET

Enable interactive project picker at session start and env.opengrok.elicit() in Code Mode sandbox. Requires a supporting MCP client.Optional

Environment variable: OPENGROK_ENABLE_ELICITATION

Model preference for MCP Sampling (used for error explanation and query reformulation).Optional

Environment variable: OPENGROK_SAMPLING_MODEL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-icyhot09-opengrok-mcp-server": {
      "env": {
        "OPENGROK_BASE_URL": "your-opengrok-base-url-here",
        "OPENGROK_PASSWORD": "your-opengrok-password-here",
        "OPENGROK_USERNAME": "your-opengrok-username-here",
        "OPENGROK_CODE_MODE": "your-opengrok-code-mode-here",
        "OPENGROK_VERIFY_SSL": "your-opengrok-verify-ssl-here",
        "OPENGROK_CONTEXT_BUDGET": "your-opengrok-context-budget-here",
        "OPENGROK_SAMPLING_MODEL": "your-opengrok-sampling-model-here",
        "OPENGROK_DEFAULT_PROJECT": "your-opengrok-default-project-here",
        "OPENGROK_ENABLE_ELICITATION": "your-opengrok-enable-elicitation-here"
      },
      "args": [
        "-y",
        "opengrok-mcp-server"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!