Maven Decoder for VS Code
io.github.salitaba/maven-decoder-mcp
Lets AI agents read the real source of any Maven dependency, decompiled from ~/.m2 or Central.
client:VS Code
transport:stdio
runtime:npm
Install Maven Decoder in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "maven-repository",
"description": "MAVEN_REPOSITORY",
"password": true
},
{
"type": "promptString",
"id": "maven-remote-repos",
"description": "MAVEN_REMOTE_REPOS",
"password": true
},
{
"type": "promptString",
"id": "maven-remote-username",
"description": "MAVEN_REMOTE_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "maven-remote-password",
"description": "MAVEN_REMOTE_PASSWORD",
"password": true
},
{
"type": "promptString",
"id": "maven-offline",
"description": "MAVEN_OFFLINE",
"password": true
},
{
"type": "promptString",
"id": "maven-auto-download",
"description": "MAVEN_AUTO_DOWNLOAD",
"password": true
},
{
"type": "promptString",
"id": "maven-decoder-cache-dir",
"description": "MAVEN_DECODER_CACHE_DIR",
"password": true
}
],
"servers": {
"maven-decoder-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REPOSITORY": "${input:maven-repository}",
"MAVEN_REMOTE_REPOS": "${input:maven-remote-repos}",
"MAVEN_REMOTE_USERNAME": "${input:maven-remote-username}",
"MAVEN_REMOTE_PASSWORD": "${input:maven-remote-password}",
"MAVEN_OFFLINE": "${input:maven-offline}",
"MAVEN_AUTO_DOWNLOAD": "${input:maven-auto-download}",
"MAVEN_DECODER_CACHE_DIR": "${input:maven-decoder-cache-dir}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs