write-mcp-test
Installation
SKILL.md
Write MCP Server Tests
Generate Playwright tests for MCP server tools using @gleanwork/mcp-server-tester.
Before You Start
- Confirm the project has
@gleanwork/mcp-server-testerand@playwright/testinstalled - Check that
playwright.config.tshasmcpConfigin at least one project'suseblock - Identify which MCP tools to test — run
mcp.listTools()or check the server's tool definitions
Step 1 — Verify Playwright Config
Every test project needs an mcpConfig entry. If it doesn't exist, add one:
// playwright.config.ts
import { defineConfig } from '@playwright/test';