java-sdk  by modelcontextprotocol

Java SDK for Model Context Protocol servers and clients

created 6 months ago
2,168 stars

Top 21.2% on sourcepulse

GitHubView on GitHub
Project Summary

The Model Context Protocol (MCP) Java SDK provides Java applications with a standardized interface for interacting with AI models and tools, supporting both synchronous and asynchronous communication. It is designed for Java developers building AI-powered applications, offering seamless integration with AI services and tools.

How It Works

The SDK implements the Model Context Protocol, enabling Java applications to act as clients or servers for AI interactions. It supports various communication patterns, abstracting the complexities of AI model integration into a consistent Java API.

Quick Start & Requirements

Highlighted Details

  • Official Java SDK for Model Context Protocol.
  • Maintained in collaboration with Spring AI.
  • Supports both client and server implementations.
  • Enables interaction with AI models and tools via a standardized interface.

Maintenance & Community

Licensing & Compatibility

  • MIT License.
  • Permissive license suitable for commercial use and integration into closed-source applications.

Limitations & Caveats

Running tests requires pre-installation of Docker and npx. The project is actively developed, and specific features or stability guarantees may evolve.

Health Check
Last commit

2 days ago

Responsiveness

1 week

Pull Requests (30d)
60
Issues (30d)
39
Star History
832 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Joe Walnes Joe Walnes(Head of Experimental Projects at Stripe), and
5 more.

LibreChat by danny-avila

0.7%
29k
Enhanced ChatGPT clone for self-hosting
created 2 years ago
updated 1 day ago
Feedback? Help us improve.