Repository navigation
v1.1.0: MCP Server, CLI, and Playwright Fixture
Release v1.1.0 adds native AI coding agent (MCP), CLI, and Playwright fixture support to \mailgate-sdk\ with zero external dependencies.
What's New
- Built-in stdio MCP Server (
px -y mailgate-sdk mcp): lets Claude Code, Cursor, Windsurf, and other MCP clients call \mailgate_wait_for_otp, \mailgate_wait_for_email, \mailgate_list_messages, \mailgate_create_inbox, \mailgate_clear_messages, and \mailgate_simulate_email\ directly during browser E2E testing.
\\�ash
claude mcp add mailgate -e MAILGATE_URL=https://mailgate.example.com -- npx -y mailgate-sdk mcp
\\ - Playwright Fixture (\mailgate-sdk/playwright): \createMailGateTest(base, options)\ automatically stamps \since\ at test start and optionally clears inbox state before each test.
- CI Shell CLI (
px mailgate-sdk otp \ / \link ): prints raw OTP codes or magic links to stdout for shell scripts and GitHub Actions steps. - Tests: expanded automated test suite to 23 tests covering real stdio JSON-RPC MCP execution, CLI subprocesses, and Playwright fixture wiring.