Elysia-mcp
17
The project provides a high-performance Model Context Protocol (MCP) server implementation using Bun and Elysia. It supports resources, tools, and prompts, and is aimed at developers familiar with TypeScript and Elysia. The server can be easily started, developed, and built for production.
MCP Server for Bun and Elysia
An implementation of the Model Context Protocol (MCP) server using Bun and the Elysia web framework.
Features
- Server-Sent Events (SSE) transport implementation for Bun and Elysia
- Complete MCP protocol support with resources, tools, and prompts
- High-performance thanks to Bun's JavaScript runtime
- TypeScript support with proper type definitions
- Easy-to-use API for creating MCP-compatible servers
Prerequisites
- Bun installed on your system
- Basic familiarity with TypeScript and Elysia
Installation
- Clone the repository
- Install dependencies using Bun
Usage
- Start the server with 'bun start'
- Start with hot reloading using 'bun dev'
- Build for production with 'bun run build'