mvn-mcp-server
Maven MCP Server enables AI assistants to manage Maven dependencies through natural language, including version checking, security scanning, and dependency analysis.
README
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 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:
- Python 3.12+
- uv
- trivy (optional, for security scanning)
- maven (optional, for profile-based scanning)
Setup
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.
<div align="center">
Usage • Architecture • Contributing
</div>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.