MCP.so
登录

Maven MCP Server

@danielscholl

基本信息

分类

其他

传输方式

stdio

作者

danielscholl

关于 Maven MCP Server

MCP Server to communicate with Maven Central Feed

Maven MCP Server 配置

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

{
  "mcpServers": {
    "mvn-mcp-server": {
      "command": "uv",
      "args": [
        "sync"
      ]
    }
  }
}

Maven MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Maven MCP Server?

Maven MCP Server is a Model Context Protocol (MCP) server that provides tools for working with Maven dependencies. It checks if specific versions of dependencies exist in the Maven Central repository, retrieves the latest versions, and finds the latest version based on semantic versioning components.

How to use Maven MCP Server?

Clone the repository, install dependencies with uv sync and uv pip install -e ., then run tests with uv run pytest. Add an MCP configuration to .mcp.json using uv run maven-mcp-server as the command. Tools are invoked through MCP clients such as Claude Code.

Key features of Maven MCP Server

  • Check if a specific Maven dependency version exists
  • Retrieve latest major, minor, and patch versions
  • Batch check multiple dependencies in a single request
  • List all available versions grouped by minor tracks
  • Support for optional packaging and classifier parameters

Use cases of Maven MCP Server

  • Verifying whether a specific version of a Maven dependency has been published
  • Identifying available updates for dependencies in a project
  • Batch checking version updates across multiple dependencies
  • Exploring all available versions of a dependency for upgrade planning

常见问题

1

What tools does Maven MCP Server provide?

It provides three core tools: `maven-mcp-server__check_version_tool` for single‑dependency checks, `maven-mcp-server__check_version_batch_tool` for batch checks, and `maven-mcp-server__list_available_versions_tool` for listing all versions grouped by minor tracks.

2

How are dependencies specified?

Dependencies are specified in the format `groupId:artifactId` (e.g., `org.springframework:spring-core`). Optional parameters include `packaging` (defaults to `jar`) and `classifier`.

3

What happens on error?

All tools return a standardized error response with an error code. Common codes include `INVALID_INPUT_FORMAT`, `DEPENDENCY_NOT_FOUND`, `VERSION_NOT_FOUND`, `MAVEN_API_ERROR`, and `INTERNAL_SERVER_ERROR`.

4

Does Maven MCP Server require any external services?

Yes, it queries the Maven Central Repository API. No authentication is needed.

5

Can I check multiple dependencies at once?

Yes, the `check_version_batch_tool` accepts a list of dependency objects, each with its own dependency, version, and optional packaging/classifier.

评论

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