java-sdk  by modelcontextprotocol

Java SDK for Model Context Protocol servers and clients

Created 8 months ago
2,444 stars

Top 19.0% 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

19 hours ago

Responsiveness

1 day

Pull Requests (30d)
38
Issues (30d)
24
Star History
152 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.