java-sdk/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christian Tzolov abd0facf4e feat: Add MCP server with Server stdio/sse transport improve MCP client
- Implement MCP server with async/sync support and builder pattern configuration
 - Add Server stdio/SSE transport layers with robust error handling
 - Convert McpClient and McpServer to interfaces for better extensibility
 - Add sampling capabilities for LLM interactions (text/image)
 - Implement dynamic root management and runtime tool management
 - Add comprehensive prompt and resource capabilities
 - Add support for dynamic root management (add/remove roots at runtime)

 Architecture Changes

 - Introduce registration records for tools, resources, and prompts
 - Improve thread safety with concurrent collections
 - Enhance resource template handling
 - Implement builder patterns for Server/Client capabilities
 - Add support for server capabilities and implementation info

Transport Layer:
 - Implement SseServerTransport with SSE endpoints
 - Add StdioServerTransport for process-based communication
 - Reorganize transport packages for better organization
 - Improve transport error handling and shutdown processes

Documentation:

 - Add detailed MCP reference documentation
 - Include architecture diagrams and API documentation
 - Add comprehensive test coverage for all components
 - Include sample projects demonstrating stdio/SSE transports

BREAKING CHANGES:

 Transport Package Reorganization

 - Move StdioClientTransport to o.s.ai.mcp.client.transport
 - Move SseClientTransport to o.s.ai.mcp.client.transport
 - Move ServerParameters to o.s.ai.mcp.client.transport
 - StdioClientTransport.errorHandler changed to private with
   setter method Migration: Use setErrorHandler() method
   instead of direct field access

 API Changes

 - Replace static factory methods with builder pattern
 - Update ServerCapabilities to use builder pattern
 - Make StdioClientTransport.errorHandler private with setter
 - Replace rootsListProvider with direct root management
 - Remove deprecated static factory methods

Resolves #27,#25,#24,#11
Related to #12
2024-12-28 21:03:29 +01:00
..
class-diagrams.puml feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
CLIENT.SSE.TRANSPORT.md feat(core): add roots list support and improve documentation 2024-12-19 12:12:51 +01:00
CLIENT.STDIO.TRANSPORT.md feat(core): add roots list support and improve documentation 2024-12-19 12:12:51 +01:00
MCP-layers.svg feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
ref-client.md feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
ref-errors.md feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
ref-index.md feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
ref-server.md feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
ref-session.md feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
ref-transport.md feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00
spring-ai-mcp-architecture.jpg feat(core): add roots list support and improve documentation 2024-12-19 12:12:51 +01:00
spring-ai-mcp-uml-classdiagram.svg feat: Add MCP server with Server stdio/sse transport improve MCP client 2024-12-28 21:03:29 +01:00