MCP.so
Sign In
Servers

Maven Dependencies MCP Server

@Bigsy

An MCP (Model Context Protocol) server that provides tools for checking Maven dependency versions.

Overview

What is Maven Dependencies MCP Server?

An MCP (Model Context Protocol) server that provides tools for checking Maven dependency versions. It enables LLMs (Large Language Models) to verify Maven dependencies and retrieve their latest versions from Maven Central Repository.

How to use Maven Dependencies MCP Server?

Install globally via npm install -g mcp-maven-deps or run directly with npx mcp-maven-deps. Add the server to your MCP settings configuration file using the command and args shown in the README. For SSE transport, specify --host and --port flags.

Key features of Maven Dependencies MCP Server?

  • Get latest stable Maven release (excludes pre‑releases by default)
  • Verify if a Maven dependency exists
  • Check if a specific version of a dependency exists
  • List Maven dependency versions with pre‑release filtering
  • Intelligent pre‑release detection (alpha, beta, milestone, RC, snapshot)
  • Support for full Maven coordinates including packaging and classifier
  • Real‑time access to Maven Central Repository data

Use cases of Maven Dependencies MCP Server?

  • LLM agents automatically verifying dependency versions during code generation
  • Checking whether a specific version of a library exists before writing build config
  • Listing recent versions of a dependency to choose an upgrade target
  • Validating that a dependency coordinate is correct and published on Maven Central
  • Integrating version‑checking into CI/CD pipelines via MCP client

FAQ from Maven Dependencies MCP Server

How can I get the latest stable release of a Maven dependency?

Use the get_latest_release tool with the dependency coordinate (e.g., "org.springframework:spring-core"). It returns the latest production‑ready version, excluding alpha, beta, milestone, RC, and snapshot releases by default.

How do I include pre‑release versions in results?

Set the excludePreReleases parameter to false when calling get_latest_release or list_maven_versions. Pre‑releases are identified by patterns like -alpha, -beta, -M, -RC, and -SNAPSHOT.

What transport modes does the server support?

The server supports stdio (default) for standard input/output communication and SSE (Server‑Sent Events) for HTTP‑based communication. SSE can be used with optional remote access by specifying --host=0.0.0.0 --port=3000.

Where does the server fetch dependency data from?

It queries Maven Central Repository directly using the maven-metadata.xml file at https://repo1.maven.org/maven2/<groupId>/<artifactId>/maven-metadata.xml. This is the same file Maven and Gradle consult during dependency resolution, so results are up‑to‑

More from Other