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.

コメント

「その他」の他のコンテンツ