mcp-sse
If you are the rightful owner of mcp-sse and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project is an implementation of an MCP Server using TypeScript, Server-Sent Events (SSE), and Bearer Token authentication for secure real-time communication with clients.
The MCP Server project is designed to facilitate real-time communication using the Model Context Protocol (MCP) with Server-Sent Events (SSE) and Bearer Token authentication. Built in TypeScript, it allows secure interactions with clients, such as LLM hosts like Claude Desktop. The server exposes tools that can be invoked via the MCP protocol, ensuring a modular and secure architecture. The project is structured to follow SOLID principles and Clean Code practices, making it maintainable and scalable. It includes example tools for basic mathematical operations, demonstrating the registration and execution of tools within the MCP Server. The server can be run in development mode using ts-node, allowing for direct execution of TypeScript files without pre-compilation, which is ideal for debugging and development.
Features
- SSE Transport: Real-time remote connection using Server-Sent Events.
- Bearer Authentication: Security verification via token provided in the Authorization header.
- Example Tools: Four simple tools for basic math operations, demonstrating tool registration and execution in the MCP Server.
- Modular Structure: Separation of responsibilities according to SOLID and Clean Code principles.
- Development with ts-node: Direct execution of TypeScript files without pre-compilation, ideal for development and debugging.