MODEL CONTEXT PROTOCOL / JAVA 8+

把 MCP
接入已有系统。
MCP for
the systems you keep.

AJ-MCP 是一个轻量 Java SDK:用熟悉的注解开放业务能力,或用同步客户端连接现有 MCP Server。AJ-MCP is a lightweight Java SDK: expose business capabilities with familiar annotations, or connect to existing MCP servers through a synchronous client.

从文档开始Start with the documentation

2024-11-05

核心 MCP 能力Core MCP capability

2025-03-26

Streamable HTTPStreamable HTTP

2025-06-18

结构化结果与 ElicitationStructured results and elicitation

01

aj-mcp-common

共享 JSON-RPC 与 MCP 模型、协议版本和内容类型。Shared JSON-RPC/MCP models, protocol revisions, and content types.

了解更多 →Learn more →
02

aj-mcp-client

通过 STDIO、旧版 HTTP/SSE 或 Streamable HTTP 发现并调用 MCP 能力。Discover and call MCP capabilities over STDIO, legacy HTTP/SSE, or Streamable HTTP.

客户端指南 →Client guide →
03

aj-mcp-server

用注解把 Java 方法开放为工具、资源、提示词和补全能力。Turn Java methods into tools, resources, prompts, and completion providers through annotations.

服务端指南 →Server guide →

从一个工具开始。Start with one tool.

选择服务端接入指南,或查看客户端 transport 配置。Choose the server guide or review client transport configuration.

打开文档 →Open docs →