modelcontextprotocol / modelcontextprotocol/java-sdk
Java MCP Server examples are incomplete and non-runnable
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 3.7k
- フォーク
- 1.1k
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 9
説明
Bug description
The current documentation examples for the Java MCP Server are incomplete and non-functional. Dependencies referenced in the code snippets cannot be resolved, and critical components (e.g., main class, configuration, or entry point) are missing. There is no working “Hello World” example to verify basic setup and functionality, making it impossible for new users to get started.
Environment
Spring MCP version: 0.16.0 with webflux implementation
Java version: Java 11
Build tool: Maven
IDE: Eclipse
Steps to reproduce
Go to the official Spring MCP documentation (e.g., https://modelcontextprotocol.io/sdk/java/mcp-server).
Copy the provided code snippets with webflux stateless into a new Java project.
Attempt to compile or run the code.
Observe unresolved dependencies
Expected behavior
The documentation should provide a complete, minimal, and runnable Java example that:
Includes all necessary dependencies (with Maven/Gradle snippets).
Contains a working demo example.
Demonstrates a basic “Hello World” endpoint or service.
Can be copied, pasted, and run immediately without additional research or guessing.
Minimal Complete Reproducible example
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
https://modelcontextprotocol.io/sdk/java/mcp-server の Java MCP Server ドキュメントから始め、WebFlux stateless のスニペット、その Maven 依存関係、欠落している設定またはエントリーポイントを確認します。ドキュメントに、解決可能な依存関係と、追加の調査なしにコピー、コンパイル、実行できる十分なセットアップを備えた、完全な最小構成の Java 11 Hello World 例が含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100