mvn-mcp-server
Integrates Trivy vulnerability scanning for Java projects to detect CVEs and security issues in dependencies.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mvn-mcp-server Check if Spring Core 5.3.0 has any updates available"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Maven MCP Server
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 implementKey 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
Related MCP server: Maven Decoder MCP Server
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
mcp add mvn-mcp-server -- uvx mvn-mcp-serverOr 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_version_batch_tool | Check multiple dependencies |
|
list_available_versions_tool | List version history by tracks |
|
scan_java_project_tool | Security scan with Trivy |
|
analyze_pom_file_tool | Analyze POM file |
|
Available Prompts
Prompt | Description | Example Query |
list_mcp_assets_prompt | Show all capabilities with examples |
|
triage | Complete dependency and vulnerability analysis |
|
plan | Generate actionable remediation plan |
|
License
This project is licensed under the MIT License - see LICENSE for details.
Available Tools
5 toolsanalyze_pom_file_toolC
Analyze a single Maven POM file without scanning the entire workspace
Inputs: pom_file_path (required), include_vulnerability_check.
check_version_batch_toolC
Process multiple Maven dependency version checks in a single batch request
Inputs: dependencies (required).
check_version_toolC
Check a Maven version and get all version update information in a single call
Inputs: dependency (required), version (required), packaging, classifier.
list_available_versions_toolC
List all available versions of a Maven artifact grouped by minor version tracks
Inputs: dependency (required), version (required), packaging, classifier, +1 more.
scan_java_project_toolC
Java-specific tool for scanning Maven projects for vulnerabilities
Inputs: workspace (required), include_profiles, scan_all_modules, scan_mode, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Tools are mostly distinct: analyze POM, check version (single and batch), list versions, and scan vulnerabilities. The two version check tools (single and batch) could cause minor confusion, but their purposes are clearly separated by batch vs single.
All tools follow a consistent verb_noun_tool pattern (e.g., analyze_pom_file_tool, check_version_tool). The naming is uniform and predictable, making it easy for an agent to understand the action and target.
5 tools is well-suited for a Maven analysis server. Each tool covers a distinct area (POM analysis, version checking, version listing, vulnerability scanning) without being too sparse or overwhelming.
The toolset covers core Maven analysis tasks, but lacks tools for modifying POM files or performing dependency updates. This is a minor gap for a server focused on analysis, as agents can work around missing actions.
Maintenance
Related MCP Connectors
Free MCP security tools for AI coding agents. Check npm/PyPI package versions, identify known OSV vulnerabilities, compare with the latest releases, and review up to 3 dependencies before deployment.
MCP server that lets your AI assistant build and deploy apps, hosting each one at a live URL.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP (Model Context Protocol) server that provides tools for checking Maven dependency versions. This server enables LLMs to verify Maven dependencies and retrieve their latest versions from Maven Central Repository.3173 npm34MIT
- AlicenseBqualityBmaintenanceA comprehensive MCP server for analyzing Maven jar files in the local repository, enabling AI agents to understand dependencies, analyze bytecode, and extract source code.1777 npm124 PyPI20MIT

flyto-indexerofficial
AlicenseNot gradedqualityAmaintenanceMCP server that gives AI assistants impact analysis, cross-project reference tracking, and code health scoring.172 PyPI4Apache 2.0- FlicenseNot gradedqualityDmaintenanceMCP server that scans project dependencies for security vulnerabilities (CVEs) and provides fix instructions directly in VS Code via Copilot.3-