
Maven Tools Mcp
io.github.arvindand由 GitHub 帳號 arvindand 發布v3.2.4更新於 Nov 1, 2026
JVM dependency intelligence for AI assistants via Maven Central
概覽
此 MCP 伺服器為助理提供 Maven Central 即時資料,用來檢查 JVM 相依版本、健康狀態、授權、CVE 與 POM 升級。
- 可以做什麼
- 查詢 Maven 座標的最新版本或指定版本、判定穩定性,並批次檢查多個相依套件
- 比對目前版本與可用升級,區分主版本、次版本與修補層級變更
- 稽核相依套件的年齡、發佈節奏、維護訊號、已知漏洞與授權資訊
- 解析 pom.xml 中宣告的版本,追溯父 POM、屬性與匯入的 BOM,並標出衝突
- 產生結構化的 POM 升級建議,區分可直接套用的修改與需人工複核的變更
- 透過選用的 Context7 工具查詢函式庫文件
- 適用情境
- 適合助理參與 JVM 專案時使用:檢查相依版本、規劃升級,或在不建置專案的情況下稽核 Maven POM 的過時程度、CVE 與授權問題。
- 執行需求
- 以 stdio 在本機執行;文件中的安裝方式需要已安裝並執行 Docker(不需本機 Java),也可改用 JAR 方式。未快取的中繼資料查詢需要連線 Maven Central 或你設定的儲存庫,漏洞檢查與 Context7 文件還依賴外部服務。CONTEXT7_API_KEY 為選用。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Maven Tools Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Maven Tools MCP Server
[Java] [Spring Boot] [Spring AI] [MCP Protocol] [License] [GitHub release (latest by date)] [Docker] [Docker Pulls] [GitHub stars]
Maven Tools MCP Server gives MCP-capable clients a practical way to inspect JVM dependencies using live Maven Central data.
It is built for developers and agents that need more than a plain version lookup: stability filtering, upgrade comparisons, dependency health signals, license data, CVE checks, and optional documentation lookups through Context7.
What It Helps With
- Version checks: find stable releases and compare upgrades with major/minor/patch context.
- Dependency audits: inspect age, release cadence, known vulnerabilities, and license data.
- POM analysis: resolve declared dependency versions through parents and BOMs without building the project.
- Upgrade planning: get structured edits an agent can validate and apply, with major upgrades, conflicts, and overrides flagged for review.
- Documentation: look up library docs through the optional Context7 tools.
Coordinate-based tools work with Maven, Gradle, SBT, and Mill projects. The POM analysis and upgrade-planning tools take Maven pom.xml files.
Quick Start
Prerequisite: Docker installed and running. No local Java installation is required. For a Docker-free setup, see building and running the JAR.
Claude Desktop
Add the maven-tools entry to your Claude Desktop config (see config file locations):
VS Code + GitHub Copilot
Add the following server to .vscode/mcp.json in your workspace:
Image Variants
The current release is v3.2.4. For version-pinned setups, use :3.2.4, :3.2.4-noc7 or :3.2.4-http; each supports Linux AMD64 and ARM64.
CONTEXT7_API_KEY is optional. Most setups can start without it. If your environment requires Context7 auth, or you want to avoid anonymous limits, pass it through Docker with -e CONTEXT7_API_KEY.
For fuller setup guidance, including JAR and native-container usage, Docker Compose, and environment notes, see docs/setup.md.
Available Tools
The default image exposes 11 MCP tools; -noc7 exposes the 9 core tools.
Maven intelligence tools
Context7 documentation tools
For parameters, examples, and tool-by-tool notes, see docs/tools.md.
POM-aware dependency analysis
Both POM tools use Apache Maven Model Builder for parent inheritance, properties, and dependency management, including imported BOMs. They accept raw POM XML and an optional sideloadedPoms bundle for unreleased parents or sibling modules.
analyze_pom_dependenciesreturns effective versions, classifies declarations asEXPLICIT,MANAGED, orEXPLICIT_OVERRIDE, and identifies managing BOMs and conflicts.recommend_pom_upgradesreturnsdeterministicActionsfor mechanical edits andneedsAttentionfor major upgrades, BOM conflicts, and explicit overrides. Actions identify the version field or property to edit in the input POM.
Recommendations cover editable parent/BOM versions, explicit dependencies, root dependency-management entries, and direct build/plugin dependencies. Declarations without an unambiguous edit location in the input POM are skipped. The server returns recommendations; the client or agent validates and applies them.
Analysis covers declared dependencies, not the full transitive dependency graph. Profile activation is limited to active-by-default profiles. See POM analysis details and limits.
Example
A common prompt in Copilot or Claude is:
Check all latest versions of the dependencies in my
pom.xmland call out anything risky.
The client can combine tool results to report:
- current version vs latest version
- whether the upgrade is major, minor, or patch
- whether the newest release is stable
- whether the dependency looks fresh, aging, or stale
- whether there are known CVEs or license concerns worth noticing
For broader questions like "which library should I choose?", combine Maven metadata with Context7 documentation and client-side web search for ecosystem context.
See more prompt examples or the maven-tools agent skill for guidance on choosing and combining tools.
Dogfooding
This repository uses its own tools in a weekly dependency-update workflow. A Python agent sends the POM to recommend_pom_upgrades, validates and applies minor/patch actions, and opens a PR for review. Its XML editor checks current versions and preserves formatting. Manual major-upgrade reviews use the GitHub Copilot SDK; routine updates do not require an LLM.
See the dogfooding guide for the agent, GitHub Actions workflow, credentials, and manual triggers.
FAQ
- Does this replace Renovate or Dependabot? The server provides dependency analysis and upgrade recommendations. File edits, testing, scheduling, and PR creation require a separate agent or workflow. The included agent demonstrates this for Maven POM updates.
- Does it work offline? Not fully. Uncached metadata queries need access to Maven Central or your configured repository. Vulnerability checks and Context7 documentation also use external services.
- Does it parse Gradle, SBT, or Mill build files? No. Use their dependencies' Maven coordinates with the coordinate-based tools; whole-file analysis accepts Maven POM XML.
For a few more usage notes, see the FAQ section in docs/examples.md.
Acknowledgements
The effective POM resolver under com.arvindand.mcp.maven.pom follows the resolution
shape of maxxq-org/maxxq-maven (MIT,
Guy Chauliac), scoped here to declared-dep resolution. See NOTICE.
More Docs
docs/setup.md- installation, client configuration, image variants, build-from-source optionsdocs/tools.md- full tool catalog, parameters, and response behaviordocs/examples.md- practical prompts, advanced use cases, reusable commands, and FAQ notesdocs/dogfooding.md- weekly self-update workflow and agent integrationdocs/troubleshooting.md- common environment issues and fixesdocs/architecture.md- design principles, transport/runtime options, and technical notesCORPORATE-CERTIFICATES.md- custom CA certificate support for locked-down networks
Further Reading
- How I Connected Claude to Maven Central (and Why You Should Too)
- Guided Delegation: Adding Context7 Documentation to My Maven Tools MCP Server
Contributing
If you want to build or test locally, start with docs/setup.md and the helper scripts in build/.
Check out v3.2.4 to build this release from source; main may contain unreleased changes.
Project history and release notes live in CHANGELOG.md.
License
This project is licensed under the MIT License. See LICENSE.
Author
Arvind Menon
- GitHub: @arvindand
來源:README.md,提交 54e55c0
工具
0版本歷史
3- v3.2.4最新Nov 1, 2026
- v3.2.3Oct 4, 2026
- v3.2.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分