Skip to content

Releases: cobach/mcp-java-bridge

MCP Java Bridge v1.0.0

30 Jun 23:28

Choose a tag to compare

MCP Java Bridge v1.0.0

First stable release of MCP Java Bridge - a runtime decoupling solution for MCP Java servers.

🎯 What's New

This release provides a complete solution for the tight runtime coupling issues inherent in stdio-based MCP integration. Since the MCP Java SDK currently only supports SSE and stdio (not Streamable HTTP), this bridge enables proper process isolation while maintaining full compatibility.

✨ Features

  • Runtime Decoupling: Separates client and server processes to prevent resource conflicts
  • Transparent TCP Transport: Uses TCP behind the scenes while maintaining stdio compatibility
  • Automatic SDK Compatibility: Detects MCP SDK version and applies fixes for 0.10.0
  • Zero Code Changes: Works with existing MCP servers without modifications
  • Production Ready: Comprehensive logging, error handling, and connection management
  • Demo Application: Includes example server with multiple tools (echo, calculator, todo list, etc.)

📦 Installation

Maven

<dependency>
    <groupId>org.gegolabs.mcp</groupId>
    <artifactId>mcp-java-bridge</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

implementation 'org.gegolabs.mcp:mcp-java-bridge:1.0.0'

🚀 Quick Start

import org.gegolabs.mcp.bridge.McpBridge;
import io.modelcontextprotocol.sdk.McpServer;

McpServer server = McpServer.builder()
    .transportProvider(McpBridge.tcpTransport(3000))
    .toolsProvider(() -> /* your tools */)
    .build();

📖 Documentation

See the README for detailed documentation and examples.

🤖 Generated with Claude Wing Coding support

This project was developed using the Wing Coding methodology with Claude AI assistance.