Skip to main content

Maven MCP Server

CI Release Python License MCP

AI-powered Maven dependency management through natural language.

Maven MCP Server enables AI assistants to interact with Maven Central repository, providing comprehensive tools for version checking, security scanning, and dependency analysis—all through conversational interfaces.

Why Maven MCP Server?

Traditional Maven workflow:

mvn versions:display-dependency-updates  # Check all dependencies
# Read through XML output, manually check each update
# Manually verify security advisories
# Repeat for each project...

With Maven MCP Server:

You: "Scan this project for vulnerabilities and create an update plan"
AI: ✅ Found 3 critical CVEs, 12 outdated dependencies
    📋 Created prioritized update plan with file locations
    🎯 Ready to implement

Key Benefits:

  • Natural language instead of complex Maven commands
  • Single workflow combining version checks + security + planning
  • AI-assisted decision making with full context
  • Intelligent caching for faster repeated queries
  • Enterprise-ready with audit trails and traceability

Features

Category Capabilities
Version Management Check single or batch dependency versions • Discover available updates (major/minor/patch) • List version history grouped by tracks
Security Scanning Integrate Trivy vulnerability scanning • CVE detection with severity filtering • Multi-module project support • Profile-based scanning for multi-cloud deployments
Enterprise Workflows Guided dependency triage analysis • Actionable remediation planning • Complete audit trail with CVE traceability
AI-Optimized Single-call comprehensive responses • Batch operations for efficiency • Intelligent caching

Quick Start

Prerequisites:

Setup

Install with UV in VS Code

mcp add mvn-mcp-server -- uvx mvn-mcp-server

Or add manually to your MCP configuration:

{
  "mcpServers": {
    "mvn-mcp-server": {
      "command": "uvx",
      "args": ["mvn-mcp-server"]
    }
  }
}

Try It

"Check if Spring Core 5.3.0 has any updates available"

"Scan my Java project for security vulnerabilities"

Optional: Security Scanning

Install Trivy for vulnerability detection:

# macOS
brew install trivy

# Linux
# See: https://aquasecurity.github.io/trivy/latest/getting-started/installation/

Without Trivy, version checking and dependency analysis work normally. Security scanning tools will gracefully report Trivy unavailable.

Security Note: All processing happens locally. No source code or project data is sent to external services (except public Maven Central API queries for version information).

Available Tools

Tool Description Example Query
check_version_tool Check single dependency version Check org.springframework:spring-core version 5.3.0
check_version_batch_tool Check multiple dependencies Check these for updates: spring-core 5.3.0, junit 4.13.2
list_available_versions_tool List version history by tracks Show all versions of commons-lang3
scan_java_project_tool Security scan with Trivy Scan this project for vulnerabilities
analyze_pom_file_tool Analyze POM file Analyze this pom.xml for issues

Available Prompts

Prompt Description Example Query
list_mcp_assets_prompt Show all capabilities with examples What can this server do?
triage Complete dependency and vulnerability analysis Run triage for my-service
plan Generate actionable remediation plan Create update plan for my-service

License

This project is licensed under the MIT License - see LICENSE for details.


Release files for mvn-mcp-server 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mvn-mcp-server 2.3.0
File Size Uploaded
mvn_mcp_server-2.3.0.tar.gz 82.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mvn-mcp-server 2.3.0
File Interpreter ABI Platform
mvn_mcp_server-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 184.2 kB

Release files / mvn_mcp_server-2.3.0.tar.gz

Download URL mvn_mcp_server-2.3.0.tar.gz
Size 82.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d97db9cdfb805c41d438b4b720890a310dd822465429af68d4fae3aea76a101c
BLAKE2b-256 checksum
How to use checksums
db9422ff2da73e70ef57d34822e002939e72a1dafc727b61597517a405e3b3b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

Release files / mvn_mcp_server-2.3.0-py3-none-any.whl

Download URL mvn_mcp_server-2.3.0-py3-none-any.whl
Size 101.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b753ab8cb97f59e394476f8dc7a4a23a4a21d764e4171a7c8a70b9ac3919a52
BLAKE2b-256 checksum
How to use checksums
c11f32f45d81d6e65a3478786057b838031b24c3cbea6662fef002eb594e2487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page