MCP.so
登录

Maven Dependencies MCP Server

@Bigsy

关于 Maven Dependencies MCP Server

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

基本信息

分类

其他

许可证

MIT

运行时

node

传输方式

stdio

发布者

Bigsy

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "maven-mcp-server": {
      "command": "npx",
      "args": [
        "mcp-maven-deps"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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‑

评论

其他 分类下的更多 MCP 服务器