Commit Graph
2 Commits
Author SHA1 Message Date
Burak Kaygusuz 957edc6f32 docs(java-mcp-server): update instructions for MCP Java SDK 2.x
- Replace SDK 0.14.1 patterns with SDK 2.0.1 builders and Map schemas.
- Add the BOM, Gradle, and packaging rules.
- Document schema validation, isError results, and structuredContent.
- Add transport security, CORS, and Spring AI 2.0 guidance.
- Replace sampling, protocol logging, and roots with alternatives.
- Rewrite the Common Patterns with code that compiles on SDK 2.0.1.
- Update the description in docs/README.instructions.md.
2026-10-09 07:10:01 +03:00
Troy Simeon TaylorandAaron Powell eec72209d0 Add Java MCP Server Development collection (#329)
* Add Java MCP Server Development collection

- Add Java MCP server best practices instruction
- Add Java MCP server project generator prompt
- Add Java MCP expert chat mode
- Add Java MCP development collection manifest
- Update category READMEs

Features:
- Server setup with official MCP Java SDK
- Tool/resource/prompt handlers with reactive streams
- Project Reactor for async processing
- Spring Boot integration with starters
- Stdio and HTTP transport support
- JSON schema construction with fluent builders
- Synchronous facade for blocking use cases
- Maven and Gradle build configurations

* Fix Java MCP generator prompt

- Add missing import statements for handler classes
- Add handler registration in test server setup

---------

Co-authored-by: Aaron Powell <me@aaron-powell.com>
2025-10-17 11:11:02 +11:00