AJ-MCP is a lightweight MCP SDK for Java. It provides a simple and powerful way to build MCP client and 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, 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.
For further information, please refer to the User Manual website.
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!
User Manual | Github | Gitcode