Skip to content

Maven Decoder for Zed

io.github.salitaba/maven-decoder-mcp

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

client:Zed transport:stdio runtime:npm

Install Maven Decoder in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "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>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Maven Decoder in other clients