Vercel Template

•

Provides a production-ready Model Context Protocol (MCP) server boilerplate for deployment on Vercel with Bun.

This template offers a robust, production-ready server foundation for the Model Context Protocol (MCP), optimized for rapid deployment on Vercel using the Bun runtime. It includes a Hono web framework with typed contexts and middleware, a Bun native bundler for efficient single-file deployments, and integrated JWT authentication via JWKS. The architecture features a service injection proxy for easily swapping in custom database or API layers, ensuring flexibility and maintainability. It also provides essential MCP transports and OAuth metadata support, alongside three example tools to jumpstart development, making it ideal for building custom MCP servers quickly and efficiently.

主な機能

01Bun native bundler for single `index.js` via Build Output API v3
02MCP transports: Streamable HTTP (POST /) and SSE (`/sse` + `/message`)
030 GitHub stars
04Hono web framework with CORS, middleware, and typed context
05JWT authentication via JWKS (jose) with optional opaque token support
06Service injection via Proxy pattern for custom database/API layers

ユースケース

01Developing MCP tools with robust authentication and flexible service integration
02Integrating various data sources and APIs into an MCP-compliant backend
03Quickly deploying custom MCP servers on Vercel