Skip to content
Gemini CLI

Maven Decoder for Gemini CLI

io.github.salitaba/maven-decoder-mcp

Lets AI agents read the real source of any Maven dependency, decompiled from ~/.m2 or Central.

client:Gemini CLI transport:stdio runtime:npm

Install Maven Decoder in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "maven-decoder-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "maven-decoder-mcp"
      ],
      "env": {
        "MAVEN_REPOSITORY": "<MAVEN_REPOSITORY>",
        "MAVEN_REMOTE_REPOS": "<MAVEN_REMOTE_REPOS>",
        "MAVEN_REMOTE_USERNAME": "<MAVEN_REMOTE_USERNAME>",
        "MAVEN_REMOTE_PASSWORD": "<MAVEN_REMOTE_PASSWORD>",
        "MAVEN_OFFLINE": "<MAVEN_OFFLINE>",
        "MAVEN_AUTO_DOWNLOAD": "<MAVEN_AUTO_DOWNLOAD>",
        "MAVEN_DECODER_CACHE_DIR": "<MAVEN_DECODER_CACHE_DIR>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Maven Decoder in other clients