
lightweight-component/aj-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Java 8의 간단한 MCP SDK
개요
AJ-MCP는 Java용 경량 모델 콘텍스 프로토콜(MCP) SDK입니다. 특히 Java 8 또는 Spring Boot 2.x에 남아 있어야 기존 시스템에 대해 MCP 클라이언트 및 서버를 구축하기위한 작고 직접 API를 제공합니다. - Java 8 이상 지원 및 Spring Boot 2.x 지원. - Jackson JSON 및 OkHttp와 함께 경량 및 소형. - 사용하기 쉽고 확장, 예와 이중 언어 문서. - STDIO, 레거시 HTTP / SSE 운송 및 스트리밍 HTTP를 지원합니다. - 버전 협상으로 MCP 프로토콜 개정 2024-11-05, 2025-03-26 및 2025-06-18 구현. - 커버 도구, 리소스, 리소스 템플릿, 프롬프트, 완료, pagination, 구독, 취소, 로깅, 루트, 샘플링 및 elicitation. MCP SDK 구성 요소의 이러한 3 프로젝트를 확인: - AJ MCP Common, Common library for AJ-MCP, Model Context Protocol 및 다른 일반적인 클래스의 구현이 포함되어 있습니다. - AJ MCP 클라이언트, MCP 클라이언트 SDK.
개요(AI 번역)
사이트맵 경량 Java MCP SDK
AJ-MCP는 Java용 경량 모델 콘텍스 프로토콜(MCP) SDK입니다. 그것은 작은, 직접 API 건물 MCP 클라이언트 및 서버, 특히 Java에 남아 있어야 기존 시스템 8 또는 봄 부트 2.x.
- Java 8 이상 지원 및 Spring Boot 2.x 지원
- 경량과 작은, Jackson JSON과 OkHttp로 주요 런타임 의존성.
- 사용하기 쉽고 확장, 예와 이중 언어 문서.
- STDIO, 레거시 HTTP / SSE 운송 및 스트리밍 HTTP를 지원합니다.
- MCP 프로토콜 개정
2024-11-05,2025-03-26,2025-06-18]를 버전 협상으로 구현합니다. - 커버 도구, 리소스, 리소스 템플릿, 프롬프트, 완료, pagination, 구독, 취소, 로깅, 뿌리, 표본 추출 및 elicitation.
MCP SDK 구성 요소의 이러한 3 프로젝트를 확인:
독립적 인 AJ MCP 다음 프로젝트는 AJ Util을 사용하여 Java 8에서 2026-07-28를 대상으로합니다.
그것은 STDIO와 sessionless HTTP 어댑터와 코어 / 클라이언트 / 서버 모듈,이 레거시 SDK에서 분리.
- AJ MCP Common, AJ-MCP를 위한 Common library는 Model Context의 구현을 포함합니다. 의정서 및 몇몇 다른 일반적인
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
AJ-MCP A Lightweight Java MCP SDK
AJ-MCP is a lightweight Model Context Protocol (MCP) SDK for Java. It provides a small, direct API for building MCP clients and servers, especially for existing systems that must remain on Java 8 or Spring Boot 2.x.
- Supports Java 8 and above, and supports Spring Boot 2.x.
- Lightweight and small, with Jackson JSON and OkHttp as its main runtime dependencies.
- Easy to use and extend, with examples and bilingual documentation.
- Supports STDIO, the legacy HTTP/SSE transport, and Streamable HTTP.
- Implements MCP protocol revisions
2024-11-05,2025-03-26, and2025-06-18with version negotiation. - Covers tools, resources, resource templates, prompts, completion, pagination, subscriptions, cancellation, logging, roots, sampling, and elicitation.
Check out these three projects of MCP SDK components:
The independent AJ MCP Next project targets 2026-07-28 on Java 8 using AJ Util.
It has core/client/server modules with STDIO and sessionless HTTP adapters, separate from this legacy SDK.
- AJ MCP Common, Common library for AJ-MCP, it contains the implementation of the Model Context Protocol and some other common classes.
- AJ MCP Client, MCP Client SDK.
- AJ MCP Server, MCP Server SDK.
- Samples for both client and server.
- Spring Streamable HTTP sample, with a dedicated
StreamableHttpClientExampleinsamples/client(Java 8).
For further information, please refer to the User Manual website.
When to use AJ-MCP
AJ-MCP is intended for Java applications that need to expose existing business capabilities to AI clients, or consume MCP servers without upgrading the entire application stack. Typical uses include:
- wrapping an existing Java service as MCP tools, resources, or prompts;
- connecting a Java desktop or server application to a local STDIO MCP process;
- integrating MCP into Spring Boot 2.x or a Servlet-based application;
- supporting clients that negotiate different MCP protocol revisions.
JSON-RPC batch messages are intentionally not supported.
Modules
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →