Skip to content

Commit e118ce9

Browse files
committed
Update README
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
1 parent 685519a commit e118ce9

File tree

1 file changed

+31
-32
lines changed

1 file changed

+31
-32
lines changed

README.md

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ The MCP Annotations project provides annotation-based method handling for [Model
77

88
## Table of Contents
99
- [Overview](#overview)
10+
- [Installation](#installation)
1011
- [Key Components](#key-components)
1112
- [Usage Examples](#usage-examples)
12-
- [Installation](#installation)
1313
- [Features](#features)
1414
- [Requirements](#requirements)
1515
- [Building from Source](#building-from-source)
@@ -19,7 +19,7 @@ The MCP Annotations project provides annotation-based method handling for [Model
1919

2020
This project consists of two main modules:
2121

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

2525
## Overview
@@ -28,7 +28,35 @@ The MCP Annotations project enables developers to easily create and register met
2828

2929
This library builds on top of the [MCP Java SDK](https://github.com/modelcontextprotocol/sdk-java) to provide a higher-level, annotation-based programming model for implementing MCP servers and clients.
3030

31-
### Dependencies
31+
## Installation
32+
33+
### Core Module
34+
35+
To use the MCP Annotations core module in your project, add the following dependency to your Maven POM file:
36+
37+
```xml
38+
<dependency>
39+
<groupId>com.logaritex.mcp</groupId>
40+
<artifactId>mcp-annotations</artifactId>
41+
<version>0.1.0</version>
42+
</dependency>
43+
```
44+
45+
### Spring Integration Module
46+
47+
To use the Spring integration module, add the following dependency:
48+
49+
```xml
50+
<dependency>
51+
<groupId>com.logaritex.mcp</groupId>
52+
<artifactId>spring-ai-mcp-annotations</artifactId>
53+
<version>0.1.0</version>
54+
</dependency>
55+
```
56+
57+
The Spring integration module also requires the Spring AI dependency.
58+
59+
### Snapshot repositories
3260

3361
To use the mcp-annotations snapshot version you need to add the following repositories to your Maven POM:
3462

@@ -409,35 +437,6 @@ public class McpConfig {
409437
}
410438
```
411439

412-
## Installation
413-
414-
### Core Module
415-
416-
To use the MCP Annotations core module in your project, add the following dependency to your Maven POM file:
417-
418-
```xml
419-
<dependency>
420-
<groupId>com.logaritex.mcp</groupId>
421-
<artifactId>mcp-annotations</artifactId>
422-
<version>0.2.0-SNAPSHOT</version>
423-
</dependency>
424-
```
425-
426-
### Spring Integration Module
427-
428-
To use the Spring integration module, add the following dependency:
429-
430-
```xml
431-
<dependency>
432-
<groupId>com.logaritex.mcp</groupId>
433-
<artifactId>spring-ai-mcp-annotations</artifactId>
434-
<version>0.2.0-SNAPSHOT</version>
435-
</dependency>
436-
```
437-
438-
The Spring integration module also requires the Spring AI dependency.
439-
440-
441440
## Features
442441

443442
- **Annotation-based method handling** - Simplifies the creation and registration of MCP methods

0 commit comments

Comments
 (0)