
How to add Maven Tools MCP Server to Cursor
Maven Central dependency intelligence for JVM build tools: versions, upgrades, CVEs, licenses, and POM-aware analysis. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 14, 2026 · 27★ · stdio · no auth
Cursor config for Maven Tools MCP Server
docker run -i --rm arvindand/maven-tools-mcp:latest{
"mcpServers": {
"maven-tools-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"arvindand/maven-tools-mcp:latest"
]
}
}
}Requires Docker to be installed and running.
Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the Maven Tools MCP Server config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of Maven Tools MCP Server's tools to confirm it's connected.
Before you start
- Docker
- An MCP-capable client (Claude Desktop, VS Code + GitHub Copilot, Cursor, etc.)
What Maven Tools MCP Server can do in Cursor
get_latest_versionFind the latest version of a dependency with stability-aware selection.
check_version_existsVerify that a specific version exists and classify its stability.
check_multiple_dependenciesBulk lookup for multiple dependency coordinates.
compare_dependency_versionsCompare current versions against available upgrades.
analyze_dependency_ageClassify how old a dependency is.
analyze_release_patternsExamine release cadence and maintenance signals.
analyze_project_healthRun a broader dependency health audit.
analyze_pom_dependenciesPOM-aware: resolve effective versions from raw pom.xml, classify each dep as EXPLICIT / MANAGED / EXPLICIT_OVERRIDE, surface multi-BOM conflicts and the managing BOM coordinate.
Security
Runs locally via Docker over stdio; no authentication required. Uncached queries need network access to Maven Central. Context7 documentation tools are optional and can be disabled via the :latest-noc7 image; CONTEXT7_API_KEY is optional and passed with -e CONTEXT7_API_KEY if needed. Custom CA certificate support is available for locked-down corporate networks.
Maven Tools MCP Server + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the Maven Tools MCP Server config there under the "mcpServers" key and restart the client.
Is Maven Tools MCP Server safe to use with Cursor?
Runs locally via Docker over stdio; no authentication required. Uncached queries need network access to Maven Central. Context7 documentation tools are optional and can be disabled via the :latest-noc7 image; CONTEXT7_API_KEY is optional and passed with -e CONTEXT7_API_KEY if needed. Custom CA certificate support is available for locked-down corporate networks.
Does this replace Renovate or Dependabot?
For Maven Central-based JVM projects it can. Maven Tools MCP is the dependency intelligence layer, and the replacement behavior comes from an agent workflow built on top of it (e.g., the repository's own weekly self-update flow that opens reviewable PRs for safe minor/patch upgrades).
Does it work offline?
Not fully. Uncached queries need network access to Maven Central.
Does it work for Gradle or other JVM build tools?
Yes, as long as the project depends on libraries resolved through Maven Central coordinates. The inputs are standard Maven coordinates, so the same data applies to Maven, Gradle, SBT, and Mill.