SA

spring-ai-community/mcp-annotations

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

45 stars 36 forks 品質 49 トレンド 12Apache-2.0

spring-ai-community/mcp-annotationsは[https://github.com/spring-ai-community/mcp-annotations.からインポートされたMCPサーバーの候補です

概要

spring-ai-community/mcp-annotationsは[https://github.com/spring-ai-community/mcp-annotations.からインポートされたMCPサーバーの候補です

概要(AI 翻訳)

【重要】 このプロジェクトは****を卒業し、**Spring AI 2.x+**に移行しました。 最新のアップデートについては、公式リポジトリを参照してください。 [https://github.com/spring-projects/spring-ai/tree/main/mcp/mcp-annotations] ツイート このリポジトリは、もはや積極的に維持されません。

MCP アノテーション

447 ドキュメント

MCPアノテーションプロジェクトでは、Java のモデルコンテキストプロトコル(MCP)サーバーのアノテーションベースのメソッド処理を行います。 Java アノテーションを使用して、クリーンで宣言的なアプローチにより、MCP サーバーのメソッドの作成と登録を簡素化します。

コンテンツの表

  • 概要
  • インストール
  • スプリングAI MCP
  • 主要コンポーネント
  • 使用例
  • 特徴
  • 条件
  • ソースからの構築
  • 貢献

このプロジェクトは一つのモジュールで構成されます。

1.mcp-annotations - MCP 操作のコアアノテーションと処理方法。 MCP Java SDK に依存します。

概要

MCPアノテーションプロジェクトは、開発者が簡単に簡単なアノテーションを使用してMCP操作を処理する方法を作成および登録することができます。 MCP サーバーの機能を実装し、ボイラープレート コードを削減し、保守性を改善するためのクリーンで宣言的なアプローチを提供します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

[!IMPORTANT] This project has graduated and moved into Spring AI 2.x+. Please refer to the official repository for the latest updates: 👉 https://github.com/spring-projects/spring-ai/tree/main/mcp/mcp-annotations

This repository is no longer actively maintained.

MCP Annotations

📖 Documentation

The MCP Annotations project provides annotation-based method handling for Model Context Protocol (MCP) servers in Java. It simplifies the creation and registration of MCP server methods through a clean, declarative approach using Java annotations.

Table of Contents

This project consists of one module:

  1. mcp-annotations - Core annotations and method handling for MCP operations. Depends only on MCP Java SDK.

Overview

The MCP Annotations project enables developers to easily create and register methods for handling MCP operations using simple annotations. It provides a clean, declarative approach to implementing MCP server functionality, reducing boilerplate code and improving maintainability.

This library builds on top of the MCP Java SDK to provide a higher-level, annotation-based programming model for implementing MCP servers and clients.

Installation

To use the MCP Annotations core module in your project, add the following dependency to your Maven POM file:


    org.springaicommunity
    mcp-annotations
    ...

(Select the latest released mcp-annotations version or latest snapshot.)

and a Java MCP SDK dependency:


    io.modelcontextprotocol.sdk
    mcp
    ...

(Select the latest released mcp-java version or latest snapshot.)

Snapshot repositories

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →