Project Description

Coral Server is an implementation of the Model Context Protocol (MCP) that lets AI agents talk to each other through a thread‑based messaging system.

At the moment, agents can:

  • Register themselves in the system
  • Create / manage threads
  • Send messages to threads
  • @‑mention other agents in messages
  • Receive notifications when mentioned

The server runs in multiple modes (stdio, Server‑Sent Events) so you can plug it into different workflows.

Status & Roadmap
Coral Server is early‑stage and not production‑ready.

  • Local‑mode is fully supported today.
  • Remote‑mode is in active development so agents can connect over the internet while preserving this API.
  • We aim to reuse existing protocols/standards wherever possible.
    If you’d like to help shape any new standards, please reach out!

Quick Example

This repo is only the server. For a full multi‑agent working demo, check the example at /examples/camel-search-maths.



How to Run

With Gradle

# SSE server via Ktor plugin (default → port 3001)
./gradlew run

# Custom modes
./gradlew run --args="--stdio"
./gradlew run --args="--sse-server 3001"