https://github.com/lightweight-component/aj-mcp
Simple MCP SDK in Java
https://github.com/lightweight-component/aj-mcp
java-mcp java8 mcp mcp-client mcp-sdk mcp-server
Last synced: 3 months ago
JSON representation
Simple MCP SDK in Java
- Host: GitHub
- URL: https://github.com/lightweight-component/aj-mcp
- Owner: lightweight-component
- License: gpl-3.0
- Created: 2025-04-16T14:33:06.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-08-05T06:53:14.000Z (3 months ago)
- Last Synced: 2025-08-05T08:42:44.340Z (3 months ago)
- Topics: java-mcp, java8, mcp, mcp-client, mcp-sdk, mcp-server
- Language: Java
- Homepage: https://mcp.ajaxjs.com/
- Size: 1.1 MB
- Stars: 15
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **aj-mcp** - Simple MCP SDK in Java `java` `java-mcp` `java8` `mcp` `mcp-client` `git clone https://github.com/lightweight-component/aj-mcp` (🔌 API)
- awesome-mcp-servers - **aj-mcp** - Simple MCP SDK in Java `java` `java-mcp` `java8` `mcp` `mcp-client` `git clone https://github.com/lightweight-component/aj-mcp` (API)
README

[](https://www.gnu.org/licenses/gpl-3.0)
[](mailto:frank@ajaxjs.com)
[](https://deepwiki.com/lightweight-component/aj-mcp)
[](./README.zh-CN.md)
# Lightweight Java MCP SDK: AJ-MCP
AJ-MCP is a lightweight MCP SDK for Java. It provides a simple and powerful way to build MCP [client](/aj-mcp-client) and [server](/aj-mcp-server). It
supports Java8 and above.
- Supports Java 8 and above, and supports Spring Boot 2.x.
- Lightweight, small size, zero dependencies aside from the JacksonJSON and OKHttp.
- Easy to use, and easy to extend, fully examples and well documented.
Check out these three projects of MCP SDK components:
- [AJ MCP Common](/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](/aj-mcp-client), MCP Client SDK.
- [AJ MCP Server](/aj-mcp-common), MCP Server SDK.
- [Samples](/samples) for both client and server.
For further information, please refer to the [User Manual](https://mcp.ajaxjs.com/) website.
## Why MCP?
The Model Context Protocol opens up exciting possibilities for building intelligent applications using your application data with your favourite
programming language and framework. With AJ MCP Servers, you have a
powerful foundation to create your own Java based servers that can bridge AI with any data source or system you can imagine.
Whether you want to connect to your favorite database, integrate with your company’s internal systems, or build something completely new - the sky
truly is the limit! The simplicity of implementing MCP servers with AJ
means you can focus on the creative aspects rather than the plumbing.
So what are you waiting for? Grab the code, fire up your IDE, and start building your own MCP server today. The future of AI-powered applications is
here, and you can be part of shaping it!
Have Fun!
## Links
[User Manual](https://mcp.ajaxjs.com/) | [Github](https://github.com/lightweight-component/aj-mcp) | [Gitcode](https://gitcode.com/lightweight-component/aj-mcp)
## Helpful links for MCP
[Awesome MCP Servers](https://mcplab.cc/zh) | [TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk) | [MCP Documentation](https://modelcontextprotocol.io)