drio
Open app

MCP Server for Bun and Elysia

Source

Model Context Protocol (MCP) Server for Bun and Elysia

Catalog onlyCatalog onlySTDIO

Overview

Elysia-mcp is an implementation of the Model Context Protocol (MCP) server using Bun and the Elysia web framework, designed to create high-performance MCP servers that expose resources, tools, and prompts to LLMs through a standardized interface.

To use Elysia-mcp, clone the repository, install the dependencies using Bun, and start the server with the provided commands. You can also build it for production.

  • 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
  1. Creating high-performance servers for LLMs.
  2. Exposing various resources and tools through a standardized interface.
  3. Facilitating real-time communication between clients and servers using SSE.

Add to your AI client

Use these steps to connect MCP Server for Bun and Elysia in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "elysia-mcp-keithagroves": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elysia-mcp-keithagroves"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "elysia-mcp-keithagroves": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elysia-mcp-keithagroves"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "elysia-mcp-keithagroves": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elysia-mcp-keithagroves"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "elysia-mcp-keithagroves": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elysia-mcp-keithagroves"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "elysia-mcp-keithagroves": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elysia-mcp-keithagroves"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "elysia-mcp-keithagroves": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-elysia-mcp-keithagroves"
      ]
    }
  }
}

FAQ

What is the Model Context Protocol (MCP)?

MCP is a protocol designed to standardize the way resources, tools, and prompts are exposed to language models.

Do I need to install Bun to use Elysia-mcp?

Yes, Bun is a prerequisite for running Elysia-mcp.

Can I contribute to the Elysia-mcp project?

Yes! Contributions are welcome, and you can submit a Pull Request.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2177,"uuid":"81692359-ac59-41b4-b26e-2b2b4b38b824","name":"Elysia-mcp","title":"MCP Server for Bun and Elysia","description":"Model Context Protocol (MCP) Server for Bun and Elysia","avatar_url":"https://avatars.githubusercontent.com/u/6021332?v=4","created_at":"2025-03-09T03:57:47.987Z","updated_at":"2025-03-12T10:19:29.992Z","status":"created","author_name":"keithagroves","author_avatar_url":"https://avatars.githubusercontent.com/u/6021332?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/keithagroves/Elysia-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"5\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-07 16:09:03\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]