Elysia MCP Server

ElysiaJS plugin for Model Context Protocol with HTTP transport and stateful sessions

Local serverstdioTypeScript

What is the Elysia MCP server?

ElysiaJS plugin for Model Context Protocol with HTTP transport and stateful sessions. The elysia mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 3 defined tools rather than through you.

What it actually does

  • HTTP Transport — Full HTTP-based MCP transport with Streamable HTTP
  • Session Management — Stateful session handling via headers
  • Type-Safe — Built with TypeScript and Zod validation
  • Easy Integration — Simple plugin architecture for Elysia apps
  • Comprehensive Support — Tools, Resources, Prompts, and Logging
  • Custom Logger Support — Use any logger (pino, winston, bunyan, etc.)

Its toolset

Everything the assistant can do here goes through one of these:

  • Tools — The Tools tool exposed by this server
  • Resources — The Resources tool exposed by this server
  • Prompts — Register reusable prompt templates following MCP best practices:

Adding it to your client

Installation goes through your MCP client rather than a global install: point it at @modelcontextprotocol/inspector on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

When to reach for it

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Elysia's toolset — Tools, Resources, Prompts — is a fair guide to whether it matches your workflow. It is maintained by kerlos127; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the elysia mcp server does with a few real requests.

Available tools

ToolWhat it does
ToolsThe Tools tool exposed by this server.
ResourcesThe Resources tool exposed by this server.
PromptsRegister reusable prompt templates following MCP best practices:

How to install the Elysia MCP server

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

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Elysia to Tools.
  • Use Elysia to Resources.
  • Use Elysia to Prompts.

Frequently asked questions

It connects Elysia to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Tools, Resources, Prompts) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Elysia directly.