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" } } } }