
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A minimal TypeScript Model Context Protocol server provided as a template, with an E2E testing setup demonstrating a raw stdio approach and an SDK in-memory transport approach.
Example TypeScript MCP server with E2E test patterns is cataloged as an MCP server attributed to mkusaka. A minimal TypeScript Model Context Protocol server provided as a template, with an E2E testing setup demonstrating a raw stdio approach and an SDK in-memory transport approach. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Example TypeScript MCP server with E2E test patterns are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It demonstrates a raw approach that spawns the CLI with tsx and communicates over stdio using JSON-RPC, and an SDK approach using the official MCP SDK Client and InMemoryTransport for in-memory RPC.
README.md · 9ee08d382949 · 采集于 2026-11-13 13:42:36 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A minimal example repository demonstrating two patterns for end‑to‑end (E2E) testing a TypeScript MCP (Model Context Protocol) server using Vitest:
tsx and communicating over stdio (JSON‑RPC).Client and InMemoryTransport for in‑memory RPC.Repository: https://github.com/mkusaka/mcp-server-e2e-testing-example
.
├── LICENSE
├── README.md
├── package.json
├── pnpm-lock.yaml
├── src
│ ├── cli.ts # CLI entrypoint (tsx + stdio transport)
│ └── server.ts # createServer() factory (resources, prompts, tools)
├── tests
│ └── e2e
│ ├── raw.spec.ts # spawn‑based E2E tests
│ └── sdk.spec.ts # SDK/InMemoryTransport‑based E2E tests
└── tsconfig.json
# Clone the repo
git clone https://github.com/mkusaka/mcp-server-e2e-testing-example.git
cd mcp-server-e2e-testing-example
# Install dependencies
pnpm install
This suite launches the CLI (src/cli.ts) via npx tsx and sends JSON‑RPC over stdin/stdout.
pnpm vitest run tests/e2e/raw.spec.ts
This suite uses the MCP SDK’s Client + InMemoryTransport to invoke the same server logic without spawning a child process.
pnpm vitest run tests/e2e/sdk.spec.ts
Add these to package.json if desired:
{
"scripts": {
"test:raw": "vitest run tests/e2e/raw.spec.ts",
"test:sdk": "vitest run tests/e2e/sdk.spec.ts",
"test": "vitest run"
}
}
pnpm run test:raw – Run only the raw/stdio testspnpm run test:sdk – Run only the in‑memory SDK testspnpm run test – Run all testsThis repository is intended as an example/template. Feel free to:
src/server.ts factory for your own MCP serverraw.spec.ts and sdk.spec.ts with additional test casesReleased under the MIT License.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Example TypeScript MCP server with E2E test patterns from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-e2e-testing-example)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.