HYPERJS.AI

MCP

v0.1.0Model Context Protocol (MCP) adapter for Hyper.

$ hyper add mcp

Copies 3 files into src/hyper/mcp/ and updates hyper.lock.json.

DEPS

FILES

README

@hyper/mcp

Model Context Protocol (MCP) adapter for Hyper — turn any Hyper app into an MCP server.

Install

Components are installed as source into your repo, not pulled from npm:

bunx hyper add mcp

Wires the alias @hyper/mcp to src/hyper/mcp/ (configurable in hyper.config.json). See hyperjs.ai for the full registry.

Usage

import { Hyper, ok } from "@hyper/core"
import { mcpServer } from "@hyper/mcp"

const app = new Hyper().get("/ping", () => ok({ pong: true }))

const server = mcpServer(app)
Bun.serve({ port: 5174, fetch: server.handle })

Docs

See the main README and docs/ for guides and integration recipes.

License

MIT

MANIFEST