VS

vitemcp/server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

22 stars 2 forks 품질 86 트렌드 37MIT

A TypeScript framework for building stateless MCP servers — deploy to serverless and edge.

개요

A TypeScript framework for building stateless MCP servers. ViteMCP targets MCP revision , which made the protocol stateless. There is no initialize handshake and no Mcp-Session-Id: every request is self-contained and carries its own protocol version and client capabilities. If you are coming from a session-based version, see Migrating from the session-based API. Authentication has a dedicated reference — see the OAuth guide. So does OpenAPI conversion — see the OpenAPI guide. - Simple Tool, Resource, Prompt definition - Authentication - Per-request auth context - Image content - Audio content - Embedded - Error handling - HTTP Streaming - HTTPS Support for secure connections - Custom HTTP routes for REST APIs, webhooks, and admin interfaces - Edge Runtime Support for Cloudflare Workers, Deno Deploy, and more - Stateless by construction — every request stands alone, so serverless just works - CORS (enabled by default) - Progress notifications - Multi round-trip requests for asking...

README

원문 README의 일부입니다. 원문 보기.

ViteMCP

A TypeScript framework for building stateless MCP servers.

[!IMPORTANT]

ViteMCP targets MCP revision 2026-07-28, which made the protocol stateless. There is no initialize handshake and no Mcp-Session-Id: every request is self-contained and carries its own protocol version and client capabilities.

If you are coming from a session-based version, see Migrating from the session-based API.

Contents

Authentication has a dedicated reference — see the OAuth guide. So does OpenAPI conversion — see the OpenAPI guide.

Features

GitHub에서 전체 README 보기

설치

npx tsx /PATH/TO/YOUR_PROJECT/src/index.ts
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "my-mcp-server": { "command": "npx", "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"], "env": { "YOUR_ENV_VAR": "value" } } } }