Skip to content

v1.6.2

Choose a tag to compare

@localrivet localrivet released this 21 Jun 23:43
· 29 commits to main since this release

🚀 New Features

Embedded Transport

  • Added in-process embedded transport for zero-overhead communication
  • Client adapter following the same pattern as other transports
  • Perfect for testing, library integration, and embedded use cases

📦 New Components

  • transport/embedded/ - Core embedded transport implementation
  • client/embedded_transport.go - Client adapter for embedded transport
  • examples/embedded/ - Working example demonstrating usage

🔧 Usage

// Create transport pair
serverTransport, clientTransport := embedded.NewTransportPair()

// Use with MCP server
server := server.NewServer("my-app")

// Use with MCP client  
client := client.NewEmbeddedTransport(clientTransport)

✅ Compatibility

  • Full backward compatibility maintained
  • All existing tests pass
  • No breaking changes

🎯 Use Cases

  • Testing: Fast, reliable test environments
  • Library Integration: Embed MCP servers directly in applications
  • Microservices: In-process communication between components
  • Development: Quick prototyping without network setup