-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Matt Akbarian edited this page Apr 21, 2025
·
12 revisions
Welcome to the MCP Mediator project wiki! The MCP Mediator is a Java‑based implementation of the Model Context Protocol, enabling seamless integration between MCP clients and servers.
This wiki is organized as follows:
The MCP Mediator follows the Model Context Protocol architecture:
-
Protocol Layer
- Handles message framing
- Manages request/response patterns
- Implements JSON-RPC 2.0
-
Transport Layer
- Supports stdio transport
- Handles message serialization/deserialization
- Manages connection lifecycle
-
Tool Layer
- Implements tool execution
- Handles request routing
- Manages tool capabilities
-
Mediate Layer
- Registers available request handlers
- Converts
Tool
invocation to MCP Mediator Request - Delegates the generated MCP Mediator Request to the proper MCP Mediator Request Handler
- Passes the request execution result back
Feel free to explore and contribute! Start here!
Some useful links to better understand the conseps of Mediator and MCP:
Mediator:
- Wikipedia - Mediator pattern
- Refactoring Guru - Mediator
- DigitalOcean - Mediator Design Pattern in Java
Model Context Protocol (MCP):