java-sdk/spring-ai-mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christian Tzolov aa26cfa848 feat: Improve Tool schema handling
- Make McpSchema final and add private constructor
- Add JsonSchema record for structured schema representation
- Change Tool.inputSchema type from Map<String, Object> to JsonSchema.
- Use the String JSON Schema constructor when creating the Tool programaticaly.
- Enhance StdioClientTransport error logging with more context
- Add ToolHelper utility class for:
  - Converting Spring AI FunctionCallbacks to MCP tools
  - Generating JSON schemas for tool input validation
  - Facilitating integration between Spring AI functions and MCP tools
- Update tests and samples to use the new Tool schema format

Resolves #52
2025-01-07 10:39:21 +01:00
..
src/main/java/org/springframework/ai/mcp/spring feat: Improve Tool schema handling 2025-01-07 10:39:21 +01:00
pom.xml Next development version 2025-01-04 18:13:19 +01:00
README.md refactor: Improve MCP documentation and transport interfaces 2025-01-03 15:54:43 +01:00

Spring AI MCP Spring

Spring Integration module for Model Control Protocol (MCP) that provides Spring-specific functionality for working with MCP clients.

Find more at Java MCP SDK