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 fast, Pythonic way to build MCP servers and clients.
不止于 CSS
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

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.
评论