An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

![Java Version](https://img.shields.io/badge/Java-8-blue)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Email](https://img.shields.io/badge/Contact--me-Email-orange.svg)](mailto:frank@ajaxjs.com)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/lightweight-component/aj-mcp)
[![中文](https://img.shields.io/badge/lang-中文-red)](./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)