java-sdk  by modelcontextprotocol

Java SDK for Model Context Protocol servers and clients

Created 9 months ago
2,823 stars

Top 16.8% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
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

5 days ago

Responsiveness

1 day

Pull Requests (30d)
21
Issues (30d)
29
Star History
324 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.