MCP Server for Bun and Elysia
@keithagroves
关于 MCP Server for Bun and Elysia
Model Context Protocol (MCP) Server for Bun and Elysia
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"Elysia-mcp": {
"command": "bun",
"args": [
"start"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Server for Bun and Elysia?
It is an implementation of the Model Context Protocol (MCP) server using Bun and the Elysia web framework, enabling you to create high‑performance MCP servers that expose resources, tools, and prompts to LLMs through a standardized interface.
How to use MCP Server for Bun and Elysia?
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.
Key features of MCP Server for Bun and Elysia
- 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
Use cases of MCP Server for Bun and Elysia
- Exposing static or dynamic resources to large language models
- Providing callable tools that LLMs can invoke for actions
- Defining structured prompts for controlled LLM interactions
- Building high‑performance MCP servers with SSE transport
FAQ from MCP Server for Bun and Elysia
What are the prerequisites for running the server?
Bun must be installed on your system. Basic familiarity with TypeScript and Elysia is recommended.
How do I start the server in development mode?
Use the command bun dev to start with hot reloading for development.
What transport does the server use?
It uses Server‑Sent Events (SSE) transport implemented in the SSEElysiaTransport class.
Can I debug the server?
Yes, use the MCP Inspector tool (npx @modelcontextprotocol/inspector) to list resources, tools, prompts, and test calls.
Is there a production build?
Yes, run bun run build to create a minified Node.js‑compatible build in the dist directory.
其他 分类下的更多 MCP 服务器
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Servers
modelcontextprotocolModel Context Protocol Servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

EverArt
modelcontextprotocolModel Context Protocol Servers
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
评论