mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
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>
This commit is contained in:
committed by
GitHub
parent
616d8f14a7
commit
eec72209d0
41
collections/java-mcp-development.md
Normal file
41
collections/java-mcp-development.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# Java MCP Server Development
|
||||
|
||||
'Complete toolkit for building Model Context Protocol servers in Java using the official MCP Java SDK with reactive streams and Spring Boot integration.'
|
||||
|
||||
**Tags:** java, mcp, model-context-protocol, server-development, sdk, reactive-streams, spring-boot, reactor
|
||||
|
||||
## Items in this Collection
|
||||
|
||||
| Title | Type | Description |
|
||||
| ----- | ---- | ----------- |
|
||||
| [Java MCP Server Development Guidelines](../instructions/java-mcp-server.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjava-mcp-server.instructions.md)<br />[](https://aka.ms/awesome-copilot/install/instructions?url=vscode-insiders%3Achat-instructions%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Finstructions%2Fjava-mcp-server.instructions.md) | Instruction | Best practices and patterns for building Model Context Protocol (MCP) servers in Java using the official MCP Java SDK with reactive streams and Spring integration. |
|
||||
| [Java MCP Server Generator](../prompts/java-mcp-server-generator.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fjava-mcp-server-generator.prompt.md)<br />[](https://aka.ms/awesome-copilot/install/prompt?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fjava-mcp-server-generator.prompt.md) | Prompt | Generate a complete Model Context Protocol server project in Java using the official MCP Java SDK with reactive streams and optional Spring Boot integration. |
|
||||
| [Java MCP Expert](../chatmodes/java-mcp-expert.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fjava-mcp-expert.chatmode.md)<br />[](https://aka.ms/awesome-copilot/install/chatmode?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fjava-mcp-expert.chatmode.md) | Chat Mode | Expert assistance for building Model Context Protocol servers in Java using reactive streams, the official MCP Java SDK, and Spring Boot integration. [see usage](#java-mcp-expert) |
|
||||
|
||||
## Collection Usage
|
||||
|
||||
### Java MCP Expert
|
||||
|
||||
recommended
|
||||
|
||||
This chat mode provides expert guidance for building MCP servers in Java.
|
||||
|
||||
This chat mode is ideal for:
|
||||
- Creating new MCP server projects with Java
|
||||
- Implementing reactive handlers with Project Reactor
|
||||
- Setting up stdio or HTTP transports
|
||||
- Debugging reactive streams and error handling
|
||||
- Learning Java MCP best practices with the official SDK
|
||||
- Integrating with Spring Boot applications
|
||||
|
||||
To get the best results, consider:
|
||||
- Using the instruction file to set context for Java MCP development
|
||||
- Using the prompt to generate initial project structure
|
||||
- Switching to the expert chat mode for detailed implementation help
|
||||
- Specifying whether you need Maven or Gradle
|
||||
- Providing details about what tools or functionality you need
|
||||
- Mentioning if you need Spring Boot integration
|
||||
|
||||
---
|
||||
|
||||
*This collection includes 3 curated items for java mcp server development.*
|
||||
Reference in New Issue
Block a user