
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.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
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 · Fetched 2026-11-13 13:42:36 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
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.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
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.