mcp-server
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
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.