Skip to content
Cursor

Maven Decoder for Cursor

io.github.salitaba/maven-decoder-mcp

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

client:Cursor transport:stdio runtime:npm

Install Maven Decoder in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "maven-decoder-mcp": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Maven Decoder in other clients