AgentMesh Catalog
mcp server · icyhot09.github.io

OpenGrok MCP Server

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

What it says

The record the registry holds

How you get it

There is no address to call. This one is a package you install and run yourself, wherever your assistant runs.

opengrok-mcp-server · npm · 9.6.0
the record Copied from the official MCP registry, exactly as it holds it.
{
  "server": {
    "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
    "name": "io.github.IcyHot09/opengrok-mcp-server",
    "description": "MCP server bridging OpenGrok search engine with AI for instant context across massive codebases.",
    "title": "OpenGrok MCP Server",
    "repository": {
      "url": "https://github.com/IcyHot09/opengrok-mcp-server",
      "source": "github"
    },
    "version": "9.6.0",
    "websiteUrl": "https://github.com/IcyHot09/opengrok-mcp-server",
    "packages": [
      {
        "registryType": "npm",
        "identifier": "opengrok-mcp-server",
        "version": "9.6.0",
        "runtimeHint": "npx",
        "transport": {
          "type": "stdio"
        },
        "environmentVariables": [
          {
            "description": "OpenGrok server base URL (e.g. https://opengrok.example.com/source/)",
            "isRequired": true,
            "format": "string",
            "placeholder": "https://opengrok.example.com/source/",
            "name": "OPENGROK_BASE_URL"
          },
          {
            "description": "OpenGrok authentication username. Leave unset for anonymous access.",
            "format": "string",
            "name": "OPENGROK_USERNAME"
          },
          {
            "description": "OpenGrok authentication password. Prefer storing via OS keychain using 'npx opengrok-mcp-server setup'.",
            "format": "string",
            "isSecret": true,
            "name": "OPENGROK_PASSWORD"
          },
          {
            "description": "Verify TLS certificates. Set to false for self-signed or internal CA certs.",
            "format": "boolean",
            "default": "true",
            "name": "OPENGROK_VERIFY_SSL"
          },
          {
            "description": "Enable Code Mode: 2-tool sandbox interface with env.opengrok.* JavaScript API. Reduces AI token usage by ~90%.",
            "format": "boolean",
            "default": "true",
            "name": "OPENGROK_CODE_MODE"
          },
          {
            "description": "Register the 3 memory tools in Code Mode (memory status, read, update). Off = api + execute only.",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_MEMORY_TOOLS"
          },
          {
            "description": "Default project to scope all searches. Can be overridden per call.",
            "format": "string",
            "name": "OPENGROK_DEFAULT_PROJECT"
          },
          {
            "description": "Response size tier controlling token usage.",
            "format": "string",
            "default": "standard",
            "choices": [
              "minimal",
              "standard",
              "generous"
            ],
            "name": "OPENGROK_CONTEXT_BUDGET"
          },
          {
            "description": "OpenGrok REST API version. Use v2 for call graph features (requires OpenGrok 1.12+).",
            "format": "string",
            "default": "v1",
            "choices": [
              "v1",
              "v2"
            ],
            "name": "OPENGROK_API_VERSION"
          },
          {
            "description": "HTTP/HTTPS proxy URL for all OpenGrok API requests (e.g. http://proxy.company.com:8080). Also set as HTTPS_PROXY.",
            "format": "string",
            "name": "HTTP_PROXY"
          },
          {
            "description": "Force a specific response format for all tools. Leave unset for per-tool auto-selection (recommended).",
            "format": "string",
            "choices": [
              "markdown",
              "json",
              "tsv",
              "toon",
              "yaml",
              "text"
            ],
            "name": "OPENGROK_RESPONSE_FORMAT_OVERRIDE"
          },
          {
            "description": "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.",
            "format": "string",
            "name": "OPENGROK_MEMORY_BANK_DIR"
          },
          {
            "description": "Comma-separated paths to compile_commands.json for C/C++ compiler flag and include-path extraction. Leave unset for automatic workspace discovery.",
            "format": "string",
            "name": "OPENGROK_LOCAL_COMPILE_DB_PATHS"
          },
          {
            "description": "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.",
            "format": "boolean",
            "default": "true",
            "name": "OPENGROK_ENABLE_ELICITATION"
          },
          {
            "description": "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).",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_SAMPLING"
          },
          {
            "description": "Model preference for MCP Sampling (used for error explanation and query reformulation).",
            "format": "string",
            "name": "OPENGROK_SAMPLING_MODEL"
          },
          {
            "description": "Files API Cache — avoids re-uploading unchanged investigation notes. Requires Files API support in the MCP client.",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_FILES_API"
          },
          {
            "description": "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).",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_OBSERVATION_MASKER"
          },
          {
            "description": "Number of most-recent opengrok_execute results to keep as full text before masking older ones. Default: 10.",
            "format": "string",
            "default": "10",
            "name": "OPENGROK_OBSERVATION_MASKER_TURNS"
          },
          {
            "description": "Maximum tokens for AI sampling responses (error explanation, query reformulation). Range: 64–4096.",
            "format": "string",
            "default": "256",
            "name": "OPENGROK_SAMPLING_MAX_TOKENS"
          },
          {
            "description": "Path to write structured audit events (CSV/JSON). Appends tool invocations, elicitation events, and errors. Leave unset to disable.",
            "format": "string",
            "name": "OPENGROK_AUDIT_LOG_FILE"
          },
          {
            "description": "Maximum requests per minute to the OpenGrok server. Default: 60.",
            "format": "string",
            "default": "60",
            "name": "OPENGROK_RATELIMIT_RPM"
          },
          {
            "description": "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.",
            "format": "string",
            "name": "OPENGROK_PER_TOOL_RATELIMIT"
          },
          {
            "description": "HTTP request timeout in seconds for OpenGrok API calls. Increase for slow servers. Default: 30.",
            "format": "string",
            "default": "30",
            "name": "OPENGROK_TIMEOUT"
          },
          {
            "description": "Default maximum number of results returned per search query. Default: 25.",
            "format": "string",
            "default": "25",
            "name": "OPENGROK_DEFAULT_MAX_RESULTS"
          },
          {
            "description": "Path to a file containing the OpenGrok password (file-mounted secret for containers). Takes precedence over the OS keychain when OPENGROK_PASSWORD is unset.",
            "format": "string",
            "name": "OPENGROK_PASSWORD_FILE"
          },
          {
            "description": "Hard cap on response payload size in bytes. Overrides the context-budget default. Non-positive values are ignored.",
            "format": "string",
            "name": "OPENGROK_MAX_RESPONSE_BYTES"
          },
          {
            "description": "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.",
            "format": "string",
            "name": "OPENGROK_SEARCH_AND_READ_CAP"
          },
          {
            "description": "When true, reject OPENGROK_BASE_URL values pointing at private/loopback IPs at startup. Default: false (warn only; per-request guards still apply).",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_STRICT_SSRF"
          },
          {
            "description": "Expected JWT issuer (iss claim) for HTTP transport OAuth. When set, JWTs from other issuers are rejected.",
            "format": "string",
            "name": "OPENGROK_JWT_ISSUER"
          },
          {
            "description": "Directory containing tree-sitter WASM grammars. Overrides the bundled grammar lookup.",
            "format": "string",
            "name": "OPENGROK_GRAMMAR_DIR"
          }
        ]
      }
    ]
  },
  "_meta": {
    "io.modelcontextprotocol.registry/official": {
      "status": "active",
      "statusChangedAt": "2026-09-16T07:02:40.419221Z",
      "publishedAt": "2026-09-16T07:02:40.419221Z",
      "updatedAt": "2026-09-16T07:02:40.419221Z",
      "isLatest": true
    }
  }
}
Make it installable

Draft an Agent Plugin from this

An MCP server is raw capability: some tools, wired to something. An Agent Plugin is the packaging that says what job it does, what it leaves behind and where it stops. The prompt below carries this record and asks for the packaging; your own assistant writes it, and nothing here is sent anywhere.

Make it installable

Draft an Agent Plugin from OpenGrok MCP Server

Paste it into your assistant. It asks for the manifest, the server wiring and the skills, and for an honest account of what this record does not say. Read that second file first.

301 lines · the record is inside it, so nothing else is needed
Draft an Agent Plugin (agent-plugins.org, specification 1.0.0) that wraps the
MCP server described below, so that somebody could install one thing and have
an assistant that knows when and how to use it.

An Agent Plugin is one installable unit: a `plugin.json` manifest, an
`mcp.json` that wires up the servers it needs, and a `skills/` directory
where each skill is a folder holding a `SKILL.md`. Hand back every file in
full, each under its own path, ready to save.

1. Write `plugin.json` with `$schema` exactly `https://agent-plugins.org/schemas/1.0.0/plugin.schema.json`. The name is
   1 to 64 characters of a-z, 0-9, `-` and `.`, alphanumeric at both ends, with
   no `--` and no `..` in it.

2. Write `mcp.json` wiring THIS server exactly as its record declares it. A
   remote keeps the URL and the transport type as written. A package keeps the
   registry, the identifier and the version as written. Do not invent a command,
   a port, a flag or an argument that is not in the record.

3. Every secret stays an input. No key, token, password or connection string
   belongs in either file. Declare what has to be supplied, name it, and say what
   it is for.

4. Do not invent tools. The record lists the tools it lists, and if it lists
   none then the honest plugin says the tool list was not published rather than
   guessing one from the description.

5. Skills are jobs, not tools. Write one skill per thing somebody would actually
   ask for, and inside each one say when to reach for this server, what a good
   result looks like, and what to do when it comes back empty. A skill per tool
   is a manual page with a different filename.

6. Say where it stops. Name what this plugin will not do — what it has no tool
   for, what needs a person, and what it must not be pointed at. A plugin with no
   stated edge reads as one with no edge.

7. Keep the author's own words for the description. If you would rather say it
   differently, say yours somewhere else and leave theirs where it is.

8. Record which version of the server you wrapped, and where the record came
   from, at the top of `plugin.json`'s description or in the readme. A plugin
   nobody can trace back to a version is one nobody can update.

Produce a second file alongside them, `LIMITS.md`, and treat it as the more
important of the two. The plugin is for whoever installs it. This is for
whoever has to decide whether installing it is a good idea, and that is
usually a different person who will never read the manifest.

It has three parts.

**What this is built from.** One paragraph: whose server it is, what the
record says it does, which version, and the fact that the record is all you
had. Say plainly that nobody ran it.

**What the record does not say.** One entry per gap. Whether the tool list was
published. What the server does with what it reads. What it costs. Whether it
writes anything anywhere. What credentials it will ask for and what those
credentials can reach. An unanswered question stays an unanswered question:
do not fill one in from the description or from what similar servers usually do.

**What a person has to check before trusting it.** The specific things
somebody should verify for themselves, in the order that would stop them
soonest if the answer is bad.

Write it in plain English, and do not soften it. A plugin drafted from a
directory record is a starting point to argue with, not something to install
into anything that matters.

The server record follows, exactly as the public index holds it. It is
everything I have: nobody has run this server, called a tool on it, or checked
that the address answers.

```json
{
  "server": {
    "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
    "name": "io.github.IcyHot09/opengrok-mcp-server",
    "description": "MCP server bridging OpenGrok search engine with AI for instant context across massive codebases.",
    "title": "OpenGrok MCP Server",
    "repository": {
      "url": "https://github.com/IcyHot09/opengrok-mcp-server",
      "source": "github"
    },
    "version": "9.6.0",
    "websiteUrl": "https://github.com/IcyHot09/opengrok-mcp-server",
    "packages": [
      {
        "registryType": "npm",
        "identifier": "opengrok-mcp-server",
        "version": "9.6.0",
        "runtimeHint": "npx",
        "transport": {
          "type": "stdio"
        },
        "environmentVariables": [
          {
            "description": "OpenGrok server base URL (e.g. https://opengrok.example.com/source/)",
            "isRequired": true,
            "format": "string",
            "placeholder": "https://opengrok.example.com/source/",
            "name": "OPENGROK_BASE_URL"
          },
          {
            "description": "OpenGrok authentication username. Leave unset for anonymous access.",
            "format": "string",
            "name": "OPENGROK_USERNAME"
          },
          {
            "description": "OpenGrok authentication password. Prefer storing via OS keychain using 'npx opengrok-mcp-server setup'.",
            "format": "string",
            "isSecret": true,
            "name": "OPENGROK_PASSWORD"
          },
          {
            "description": "Verify TLS certificates. Set to false for self-signed or internal CA certs.",
            "format": "boolean",
            "default": "true",
            "name": "OPENGROK_VERIFY_SSL"
          },
          {
            "description": "Enable Code Mode: 2-tool sandbox interface with env.opengrok.* JavaScript API. Reduces AI token usage by ~90%.",
            "format": "boolean",
            "default": "true",
            "name": "OPENGROK_CODE_MODE"
          },
          {
            "description": "Register the 3 memory tools in Code Mode (memory status, read, update). Off = api + execute only.",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_MEMORY_TOOLS"
          },
          {
            "description": "Default project to scope all searches. Can be overridden per call.",
            "format": "string",
            "name": "OPENGROK_DEFAULT_PROJECT"
          },
          {
            "description": "Response size tier controlling token usage.",
            "format": "string",
            "default": "standard",
            "choices": [
              "minimal",
              "standard",
              "generous"
            ],
            "name": "OPENGROK_CONTEXT_BUDGET"
          },
          {
            "description": "OpenGrok REST API version. Use v2 for call graph features (requires OpenGrok 1.12+).",
            "format": "string",
            "default": "v1",
            "choices": [
              "v1",
              "v2"
            ],
            "name": "OPENGROK_API_VERSION"
          },
          {
            "description": "HTTP/HTTPS proxy URL for all OpenGrok API requests (e.g. http://proxy.company.com:8080). Also set as HTTPS_PROXY.",
            "format": "string",
            "name": "HTTP_PROXY"
          },
          {
            "description": "Force a specific response format for all tools. Leave unset for per-tool auto-selection (recommended).",
            "format": "string",
            "choices": [
              "markdown",
              "json",
              "tsv",
              "toon",
              "yaml",
              "text"
            ],
            "name": "OPENGROK_RESPONSE_FORMAT_OVERRIDE"
          },
          {
            "description": "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.",
            "format": "string",
            "name": "OPENGROK_MEMORY_BANK_DIR"
          },
          {
            "description": "Comma-separated paths to compile_commands.json for C/C++ compiler flag and include-path extraction. Leave unset for automatic workspace discovery.",
            "format": "string",
            "name": "OPENGROK_LOCAL_COMPILE_DB_PATHS"
          },
          {
            "description": "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.",
            "format": "boolean",
            "default": "true",
            "name": "OPENGROK_ENABLE_ELICITATION"
          },
          {
            "description": "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).",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_SAMPLING"
          },
          {
            "description": "Model preference for MCP Sampling (used for error explanation and query reformulation).",
            "format": "string",
            "name": "OPENGROK_SAMPLING_MODEL"
          },
          {
            "description": "Files API Cache — avoids re-uploading unchanged investigation notes. Requires Files API support in the MCP client.",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_FILES_API"
          },
          {
            "description": "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).",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_ENABLE_OBSERVATION_MASKER"
          },
          {
            "description": "Number of most-recent opengrok_execute results to keep as full text before masking older ones. Default: 10.",
            "format": "string",
            "default": "10",
            "name": "OPENGROK_OBSERVATION_MASKER_TURNS"
          },
          {
            "description": "Maximum tokens for AI sampling responses (error explanation, query reformulation). Range: 64–4096.",
            "format": "string",
            "default": "256",
            "name": "OPENGROK_SAMPLING_MAX_TOKENS"
          },
          {
            "description": "Path to write structured audit events (CSV/JSON). Appends tool invocations, elicitation events, and errors. Leave unset to disable.",
            "format": "string",
            "name": "OPENGROK_AUDIT_LOG_FILE"
          },
          {
            "description": "Maximum requests per minute to the OpenGrok server. Default: 60.",
            "format": "string",
            "default": "60",
            "name": "OPENGROK_RATELIMIT_RPM"
          },
          {
            "description": "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.",
            "format": "string",
            "name": "OPENGROK_PER_TOOL_RATELIMIT"
          },
          {
            "description": "HTTP request timeout in seconds for OpenGrok API calls. Increase for slow servers. Default: 30.",
            "format": "string",
            "default": "30",
            "name": "OPENGROK_TIMEOUT"
          },
          {
            "description": "Default maximum number of results returned per search query. Default: 25.",
            "format": "string",
            "default": "25",
            "name": "OPENGROK_DEFAULT_MAX_RESULTS"
          },
          {
            "description": "Path to a file containing the OpenGrok password (file-mounted secret for containers). Takes precedence over the OS keychain when OPENGROK_PASSWORD is unset.",
            "format": "string",
            "name": "OPENGROK_PASSWORD_FILE"
          },
          {
            "description": "Hard cap on response payload size in bytes. Overrides the context-budget default. Non-positive values are ignored.",
            "format": "string",
            "name": "OPENGROK_MAX_RESPONSE_BYTES"
          },
          {
            "description": "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.",
            "format": "string",
            "name": "OPENGROK_SEARCH_AND_READ_CAP"
          },
          {
            "description": "When true, reject OPENGROK_BASE_URL values pointing at private/loopback IPs at startup. Default: false (warn only; per-request guards still apply).",
            "format": "boolean",
            "default": "false",
            "name": "OPENGROK_STRICT_SSRF"
          },
          {
            "description": "Expected JWT issuer (iss claim) for HTTP transport OAuth. When set, JWTs from other issuers are rejected.",
            "format": "string",
            "name": "OPENGROK_JWT_ISSUER"
          },
          {
            "description": "Directory containing tree-sitter WASM grammars. Overrides the bundled grammar lookup.",
            "format": "string",
            "name": "OPENGROK_GRAMMAR_DIR"
          }
        ]
      }
    ]
  },
  "_meta": {
    "io.modelcontextprotocol.registry/official": {
      "status": "active",
      "statusChangedAt": "2026-09-16T07:02:40.419221Z",
      "publishedAt": "2026-09-16T07:02:40.419221Z",
      "updatedAt": "2026-09-16T07:02:40.419221Z",
      "isLatest": true
    }
  }
}
```

The server is listed as "OpenGrok MCP Server".
What this is

MCP server

application/mcp-server-record+jsonlocal · you run it yourselfversion 9.6.0last seen 2026-10-05

These are the publisher's own words, filed by them with the official MCP registry and mirrored here. This catalog did not read them from the publisher and has not run, called or installed anything.

Terms

Somebody else's record

This listing was indexed rather than published here, so nobody has signed anything and this catalog cannot sign on their behalf. Treat it as a pointer to the publisher, not as terms.

Where it lives

The publisher's own address

https://github.com/IcyHot09/opengrok-mcp-server

The address the publisher put in their registry record, printed as they wrote it. Nobody here has opened it.