Back to Browse

Maven Decoder MCP Server

Developer ToolsUse Caution3.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

3.2
Use Caution3.2High Risk

The Maven Decoder MCP server is a legitimate developer tool for analyzing Java artifacts, with reasonable authentication design for its use case (local Maven repository access). However, several security concerns reduce confidence: unauthenticated remote downloads from Maven Central and mirrors without strict validation, potential shell command injection via decompiler invocation, overly broad subprocess execution, insufficient input validation on artifact coordinates, and logging practices that could expose sensitive information. The code quality is good and permissions align with stated purpose, but the vulnerability patterns warrant remediation before production use. Supply chain analysis found 10 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 2 issues.

4 files analyzed · 24 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

process_spawn

Check that this permission is expected for this type of plugin.

system_info

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Path to the local Maven repository. Defaults to ~/.m2/repository.Optional

Environment variable: MAVEN_REPOSITORY

Comma or whitespace separated list of remote Maven repository base URLs.Optional

Environment variable: MAVEN_REMOTE_REPOS

Username for authenticating against private remote Maven repositories.Optional

Environment variable: MAVEN_REMOTE_USERNAME

Password or token for authenticating against private remote Maven repositories.Required

Environment variable: MAVEN_REMOTE_PASSWORD

Set to true to disable all network access and use only the local repository.Optional

Environment variable: MAVEN_OFFLINE

Whether to automatically download missing artifacts from remote repositories. Defaults to true.Optional

Environment variable: MAVEN_AUTO_DOWNLOAD

Override directory used for decompilation and metadata caches.Optional

Environment variable: MAVEN_DECODER_CACHE_DIR

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-salitaba-maven-decoder-mcp": {
      "env": {
        "MAVEN_OFFLINE": "your-maven-offline-here",
        "MAVEN_REPOSITORY": "your-maven-repository-here",
        "MAVEN_REMOTE_REPOS": "your-maven-remote-repos-here",
        "MAVEN_AUTO_DOWNLOAD": "your-maven-auto-download-here",
        "MAVEN_REMOTE_PASSWORD": "your-maven-remote-password-here",
        "MAVEN_REMOTE_USERNAME": "your-maven-remote-username-here",
        "MAVEN_DECODER_CACHE_DIR": "your-maven-decoder-cache-dir-here"
      },
      "args": [
        "-y",
        "maven-decoder-mcp"
      ],
      "command": "npx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!