Lets AI agents read the real source of any Maven dependency, decompiled from ~/.m2 or Central.
registry version 1.3.2
npm
npx -y maven-decoder-mcpnpm
npx -y maven-decoder-mcp@1.3.2Python
uvx maven-decoder-mcpPython
uvx maven-decoder-mcp@1.3.2
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp@1.3.2"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env MAVEN_REMOTE_PASSWORD=<YOUR_MAVEN_REMOTE_PASSWORD> maven-decoder-mcp -- npx -y maven-decoder-mcp
claude mcp add --env MAVEN_REMOTE_PASSWORD=<YOUR_MAVEN_REMOTE_PASSWORD> maven-decoder-mcp -- npx -y maven-decoder-mcp@1.3.2
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp@1.3.2"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}{
"servers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp@1.3.2"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp@1.3.2"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<YOUR_MAVEN_REMOTE_PASSWORD>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
MAVEN_REPOSITORY — Path to the local Maven repository. Defaults to ~/.m2/repository.MAVEN_REMOTE_REPOS — Comma or whitespace separated list of remote Maven repository base URLs.MAVEN_REMOTE_USERNAME — Username for authenticating against private remote Maven repositories.MAVEN_REMOTE_PASSWORD secret — Password or token for authenticating against private remote Maven repositories.MAVEN_OFFLINE — Set to true to disable all network access and use only the local repository.MAVEN_AUTO_DOWNLOAD — Whether to automatically download missing artifacts from remote repositories. Defaults to true.MAVEN_DECODER_CACHE_DIR — Override directory used for decompilation and metadata caches.⭐ 20 stars · 最近更新于 64 天前 · MIT license
Distributed as npm, Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/salitaba/maven-decoder-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/maven-decoder-mcp/)
HTML
<a href="https://mcpnav.net/server/maven-decoder-mcp/"><img src="https://mcpnav.net/badge/maven-decoder-mcp.svg" alt="Listed on MCPNav" height="20"></a>