mcp-server

mcp-server

0

The MCP Server is a comprehensive server implementation of the Model Context Protocol designed for real-time communication with AI models. It features a clean architecture, extensive tooling, and multiple transport options. Built for developers, it offers logging, error handling, and is highly extensible.

MCP Server

License: MIT Node.js: โ‰ฅ18

A robust server implementation of the Model Context Protocol (MCP) that supports multiple transport methods for real-time communication with AI models.

๐Ÿš€ Features

  • Full MCP Implementation
  • Multiple Transports: SSE and STDIO
  • Robust Architecture based on Clean Architecture and SOLID principles
  • Powerful Tooling: extensible tools, resources, and prompts
  • Developer-Friendly: logging, error handling, and testing

๐Ÿ—๏ธ Architecture

  • Follows clean, layered architecture adhering to SOLID principles

๐Ÿ’ป Requirements

  • Node.js 18 or higher
  • Yarn or npm package manager

๐Ÿ“ฆ Installation

Clone the repository, install dependencies, and build the project.

๐Ÿš€ Running the Server

Start the server with yarn start. Default port is 3001.

๐Ÿ”Œ Transport Options

SSE for web applications and STDIO for CLI tools.

๐Ÿ›ฃ๏ธ API Endpoints

  • SSE: /sse
  • Messages: /messages

๐Ÿงช Testing

Use MCP Inspector tool to test the server.

๐Ÿงฉ Extending Functionality

Guidelines for adding new tools, resources, and prompts.

๐Ÿ“ SOLID Principles Applied

Each principle is described with its implementation.

๐Ÿ“„ License

Licensed under the MIT License.