What are the prerequisites for using MCP Server E2E Testing Example?
Node.js ≥ 16, [pnpm](https://pnpm.io/) installed globally, and Git are required.
@mkusaka
基本情報
概要はまだありません
ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
MCP Server E2E Testing Example is a minimal reference repository that demonstrates two end‑to‑end testing patterns for a TypeScript Model Context Protocol (MCP) server using Vitest. It is intended for developers who build MCP servers and want to validate them via automated tests.
Clone the repository, install dependencies with pnpm install, then run the desired test suite: pnpm vitest run tests/e2e/raw.spec.ts (spawn‑based raw tests) or pnpm vitest run tests/e2e/sdk.spec.ts (in‑memory SDK tests). Convenience scripts (pnpm run test:raw, pnpm run test:sdk, pnpm run test) can be added to package.json.
tsx and uses stdioClient and InMemoryTransportstdioNode.js ≥ 16, [pnpm](https://pnpm.io/) installed globally, and Git are required.
Execute `pnpm vitest run tests/e2e/raw.spec.ts` from the repository root.
Execute `pnpm vitest run tests/e2e/sdk.spec.ts` to run tests that use the MCP SDK’s `Client` and `InMemoryTransport`.
The raw approach spawns a child process (`npx tsx src/cli.ts`) and communicates over `stdin`/`stdout` via JSON‑RPC. The SDK approach invokes the same server logic in‑process using the MCP SDK’s `InMemoryTransport`, avoiding process spawning.
No, it is explicitly a minimal example and template. Users are encouraged to adapt the server factory (`src/server.ts`) and expand the test suites for their own MCP servers.

The article (der, die, das) of 90,000 German nouns, compounds included, plus a checker that finds wrong articles in German text (“mit der Zug” → dem). Uses dictionary data, not AI guessing. Free, no login.
Hindsight: Agent Memory That Learns

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
コメント