SM

salitaba/maven-decoder-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 16 forks 品質 74 トレンド 8MIT

Java AI コーディングエージェントの Maven .m2 JARs を検査、検索、分解するための MCP サーバー.

概要

AI エージェントは、Maven の依存関係の実際のソースを読み込み、~/.m2 または Maven Central のデコンパイル ジャー、および変更を破るためのバージョンを差します。 エージェントに「私は、1.17.2から1.23.2までのorg.jsoup:jsoupをアップグレードしている」と尋ねる - 何が壊れているのか?そして、それがメモリから答えるjarを読んでいなくても。 このサーバーでは、Compar versions は jar とレポートの両方を実際に変更しました。 会員は比較されているので、まだ呼び出し可能であっても、スーパータイプに移動した方が削除されます。 このツールは、独自の出力でこれを表示します。 余りのアーティファクトで動作します。extract class info は javap に戻り、パースされたフィールド、メソッド、バイトコードのバージョンを返します。これは、社内のネクサスでアーティファクトのケースです。 これにより、これらのツールの到達時にエージェントを指示するマーベンコード検索エージェントのスキルがインストールされます。 生の MCP サーバーのセットアップについては、インストールを参照してください.

概要(AI 翻訳)

あなたのエージェントは、読み込まれていないライブラリAPIで推測します。 これはそれを読みます。

AI エージェントは、あらゆる Maven の依存関係の実際のソースを読みましょう。 [~/.m2 または Maven セントラル、および変更を破棄するためのバージョン。

代理人に尋ねる*「私は1.17.2から1.23.2に[org.jsoup:jsoupをアップグレードしています - 何が壊れていますか?*と jar を読んでも、メモリから答えます。 このサーバーを使って、 [compare_versions は、jar とレポートの両方を実際に変更しました。

| | 1.17.2 → 1.23.2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | お問い合わせ | 変更を破る |45 | | 会員削除 | 31 | | メンバー追加 | 150 | | API変更に伴うクラス | 115 の 47 件 |

会員は**を宣言したので、スーパータイプに移動した方は次のように報告します。 それでもコール可能であっても削除されます。 このツールは、独自の出力でこれを表示します。

** ソース jar** も持っているアーティファクトで動作します: [extract_class_info 戻って落ちます javap に移動し、パースされたフィールド、メソッド、バイトコードのバージョンを正確に返します。 企業ネクサスにおける内部アーティファクトの場合。

##1 コマンドで試す

[maven-code-search] エージェントのスキルをインストールします。 これらのツール.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Maven Decoder MCP Server

Your agent guesses at library APIs it has never read. This makes it read them.

Lets AI agents read the actual source of any Maven dependency — decompiles jars from ~/.m2 or Maven Central, and diffs versions for breaking changes.

Ask an agent “I’m upgrading org.jsoup:jsoup from 1.17.2 to 1.23.2 — what breaks?” and without a way to read the jars it will answer from memory. With this server, compare_versions reads both jars and reports what actually changed:

1.17.2 → 1.23.2
Breaking changes 45
Members removed 31
Members added 150
Classes with API changes 47 of 115 compared

Members are compared as declared, so one that moved to a supertype is reported as removed even though it may still be callable. The tool states this in its own output.

It works on artifacts that have no sources jar too: extract_class_info falls back to javap and returns parsed fields, methods, and bytecode version — which is exactly the case for the internal artifacts in a corporate Nexus.

Try it in one command

npx skills add https://github.com/salitaba/maven-decoder-mcp --skill maven-code-search

That installs the maven-code-search agent skill, which tells your agent when to reach for these tools. For a raw MCP server setup instead, see Installation.

🚀 Features

Core Functionality

  • Jar File Analysis: Deep inspection of jar files including metadata, manifests, and structure
  • Dependency Resolution: Complete dependency tree analysis with transitive dependencies
  • Source Code Extraction: Extract source code from source jars or decompile bytecode
  • Class Information: Detailed class signatures, methods, fields, and annotations
  • Search Capabilities: Find classes, methods, and dependencies across all artifacts
  • Version Management: Compare versions, find dependents, and track version conflicts

Online Maven Support

  • Maven Central Search: Find artifacts and classes that are not installed locally
  • Remote Version Listing: See every published version, not just the ones you have
  • On-Demand Download: Fetch any artifact (jar, sources, POM) into a local cache
  • Transparent Fallback: Every analysis tool automatically downloads a missing artifact, so decompiling a dependency you never installed just works
  • Mirror Friendly: Point it at a corporate Nexus/Artifactory, with optional credentials
  • Offline Mode: A single env var restores fully local, network-free behavior

Advanced Features

  • Decompilation Support: Integrated support for multiple Java decompilers (CFR, Fernflower, Procyon)
  • Conflict Analysis: Detect and analyze dependency version conflicts
GitHub で README 全文を見る

インストール

uvx maven-decoder-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →