MCP Server for Bun and Elysia

by keithagroves

23 stars
376 downloads
Not rated
GitHub

About

Model Context Protocol (MCP) Server for Bun and Elysia

Details

Author
keithagroves
GitHub stars
23
Downloads
376
Categories
Other

- SSE transport implementation for Bun and Elysia
- Complete MCP protocol support: 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server for Bun and Elysia
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with bun install, then start the server with bun start or bun dev for development with hot reloading. Build for production using bun run build. Use the provided TypeScript API to create an MCP server, add resources/tools/prompts, and connect it via SSE transport using the SSEElysiaTransport class.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server for bun and elysia": {
            "Elysia-mcp": {
                "command": "bun",
                "args": [
                    "start"
                ]
            }
        }
    }
}

McpServers

{
    "Elysia-mcp": {
        "command": "bun",
        "args": [
            "start"
        ]
    }
}

MCP Server for Bun and Elysia

An implementation of the Model Context Protocol (MCP) server using Bun and the Elysia web framework. This project enables you to create high-performance MCP servers that expose resources, tools, and prompts to LLMs through a standardized interface.

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

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.