Home - makbn/mcp_mediator GitHub Wiki

MCP Mediator Wiki

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:

Architecture

The MCP Mediator follows the Model Context Protocol architecture:

  1. Protocol Layer

    • Handles message framing
    • Manages request/response patterns
    • Implements JSON-RPC 2.0
  2. Transport Layer

    • Supports stdio transport
    • Handles message serialization/deserialization
    • Manages connection lifecycle
  3. Tool Layer

    • Implements tool execution
    • Handles request routing
    • Manages tool capabilities
  4. 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!