scala-mcp

[md]Chat MCP server

modules/example-chat-mcp · HTTP + SSE · JVM · port 27000

A JVM HTTP server demonstrating Redis-backed session state. Each connected session has its own username and current room, and the chat history itself is shared across sessions through Redis. Resource subscription updates are pushed when new messages arrive.

Build and run

# Requires a Redis server on redis://localhost:6379
sbt exampleChat/run
# Server starts on http://0.0.0.0:27000