Skip to content

Commit 47e9cdd

Browse files
tzolovscottslewis
authored andcommitted
feat!: remove deprecated Spring integration module (spring-ai-community#39)
BREAKING CHANGE: The mcp-annotations-spring module has been completely removed - Remove mcp-annotations-spring module from project structure - Delete all Spring integration classes and utilities - Update README to reflect single module architecture - Remove Spring module from parent pom.xml - Update version references from 0.2.0-SNAPSHOT to 0.2.0 - Add note about 0.3.0-SNAPSHOT for main branch development The Spring integration functionality has been moved to Spring AI project. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
1 parent 831b4ff commit 47e9cdd

File tree

6 files changed

+3
-819
lines changed

6 files changed

+3
-819
lines changed

README.md

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ The MCP Annotations project provides annotation-based method handling for [Model
1515
- [Building from Source](#building-from-source)
1616
- [Contributing](#contributing)
1717

18-
This project consists of two main modules:
18+
This project consists of one module:
1919

2020
1. **mcp-annotations** - Core annotations and method handling for MCP operations. Depends only on MCP Java SDK.
21-
2. **mcp-annotations-spring** - Spring AI integration for MCP annotations
2221

2322
## Overview
2423

@@ -36,23 +35,11 @@ To use the MCP Annotations core module in your project, add the following depend
3635
<dependency>
3736
<groupId>org.springaicommunity</groupId>
3837
<artifactId>mcp-annotations</artifactId>
39-
<version>0.2.0-SNAPSHOT</version>
38+
<version>0.2.0</version>
4039
</dependency>
4140
```
4241

43-
### (DEPRECATED) Spring Integration Module
44-
45-
This module is moved to Spring AI
46-
47-
To use the Spring integration module, add the following dependency:
48-
49-
```xml
50-
<dependency>
51-
<groupId>org.springaicommunity</groupId>
52-
<artifactId>mcp-annotations-spring</artifactId>
53-
<version>0.2.0-SNAPSHOT</version>
54-
</dependency>
55-
```
42+
or version `0.3.0-SNAPSHOT` for current main branch.
5643

5744
### Snapshot repositories
5845

@@ -102,10 +89,6 @@ The core module provides a set of annotations and callback implementations for p
10289

10390
Each operation type has both synchronous and asynchronous implementations, allowing for flexible integration with different application architectures.
10491

105-
### (DEPRECATED) Spring Integration Module (mcp-annotations-spring)
106-
107-
The Spring integration module provides seamless integration with Spring AI and Spring Framework applications. It handles Spring-specific concerns such as AOP proxies and integrates with Spring AI's model abstractions.
108-
10992
## Key Components
11093

11194
### Annotations
@@ -235,15 +218,6 @@ The project includes provider classes that scan for annotated methods and create
235218
- `SyncStatelessMcpToolProvider` - Processes `@McpTool` annotations for synchronous stateless operations
236219
- `AsyncStatelessMcpToolProvider` - Processes `@McpTool` annotations for asynchronous stateless operations
237220

238-
### (DEPRECATED) Spring Integration
239-
240-
Deprecated.The Spring integration module is moved to the Spring AI
241-
242-
- `AsyncMcpAnnotationProviders` - Handles Spring-specific concerns when processing asynchronous MCP annotations
243-
- `SyncMcpAnnotationProviders` - Handles Spring-specific concerns when processing synchronous MCP annotations
244-
- Integration with Spring AOP proxies
245-
- Support for Spring AI model abstractions
246-
247221
## Usage Examples
248222

249223
### Prompt Example

mcp-annotations-spring/pom.xml

Lines changed: 0 additions & 48 deletions
This file was deleted.

mcp-annotations-spring/src/main/java/org/springaicommunity/mcp/spring/AnnotationProviderUtil.java

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)