elysia-mcp
by kerlos·★ 41·Score 44
A TypeScript plugin for ElysiaJS to implement MCP servers with HTTP transport and session management.
Overview
The elysia-mcp plugin provides comprehensive support for implementing MCP servers within ElysiaJS applications. It features HTTP transport with both streaming and JSON response modes, type-safe implementation using TypeScript and Zod validation, and session management via headers. The plugin supports all MCP capabilities including tools, resources, prompts, and logging, with customizable logger support for popular libraries like pino and winston. It offers modular architecture allowing specialized endpoints for different MCP capabilities.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you're building MCP servers with ElysiaJS and need HTTP transport with session management.
When NOT to choose this
Avoid if you need non-HTTP transports (like SSE or WebSocket) or are not using ElysiaJS framework.
Tools this server exposes
8 tools extracted from the READMEechoEchoes back the provided text
addAdd two numbers
multiplyMultiply two numbers
powerCalculate base to the power of exponent
uppercaseConvert text to uppercase
word_countCount words in text
reverseReverse text characters
replaceReplace text with global matching
Comparable tools
Installation
# Install with bun
bun add elysia-mcp
# Install with npm
npm install elysia-mcpClaude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"elysia-mcp": {
"command": "node",
"args": ["path/to/your/server.js"]
}
}
}FAQ
- What transport protocols does elysia-mcp support?
- It primarily supports HTTP transport with both SSE streaming and JSON response modes, allowing flexibility in client-server communication.
- Can I use custom loggers with elysia-mcp?
- Yes, the plugin supports any logger that implements the ILogger interface, including popular libraries like pino, winston, and bunyan.
Compare elysia-mcp with
Last updated · Auto-generated from public README + GitHub signals.