Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 3 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ The MCP Annotations project provides annotation-based method handling for [Model
- [Building from Source](#building-from-source)
- [Contributing](#contributing)

This project consists of two main modules:
This project consists of one module:

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

## Overview

Expand All @@ -36,23 +35,11 @@ To use the MCP Annotations core module in your project, add the following depend
<dependency>
<groupId>org.springaicommunity</groupId>
<artifactId>mcp-annotations</artifactId>
<version>0.2.0-SNAPSHOT</version>
<version>0.2.0</version>
</dependency>
```

### (DEPRECATED) Spring Integration Module

This module is moved to Spring AI

To use the Spring integration module, add the following dependency:

```xml
<dependency>
<groupId>org.springaicommunity</groupId>
<artifactId>mcp-annotations-spring</artifactId>
<version>0.2.0-SNAPSHOT</version>
</dependency>
```
or version `0.3.0-SNAPSHOT` for current main branch.

### Snapshot repositories

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

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

### (DEPRECATED) Spring Integration Module (mcp-annotations-spring)

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.

## Key Components

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

### (DEPRECATED) Spring Integration

Deprecated.The Spring integration module is moved to the Spring AI

- `AsyncMcpAnnotationProviders` - Handles Spring-specific concerns when processing asynchronous MCP annotations
- `SyncMcpAnnotationProviders` - Handles Spring-specific concerns when processing synchronous MCP annotations
- Integration with Spring AOP proxies
- Support for Spring AI model abstractions

## Usage Examples

### Prompt Example
Expand Down
48 changes: 0 additions & 48 deletions mcp-annotations-spring/pom.xml

This file was deleted.

This file was deleted.

Loading