Tern MCP
by @zyf8827
Connects coding agents to Tern for Playwright E2E case management, test execution, failure analysis, and reruns.
Install Tern MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"zyf8827-tern-mcp": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_URL": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env TERN_URL=YOUR_VALUE_HERE --transport stdio zyf8827-tern-mcp -- npx -y @zyf8827/tern-mcpRun in your terminal. Add --scope project to share it with your team through .mcp.json.
Automated check passed— started and listed 27 tools correctly ().
Overview
Use cases
- Create and maintain Playwright E2E cases in a Git-backed Tern project
- Synchronize test repositories and inspect indexed cases
- Trigger regression runs across development or staging environments
- Investigate failed cases with screenshots, logs, requests, and traces
- Rerun tests after diagnosing a failure
Key features
- MCP access to Tern's E2E testing workflows
- Playwright case and Git repository management
- Multi-environment test execution and deduplication
- Failure screenshots and Playwright Trace diagnostics
- Support for test suites, dependencies, and reruns
- npm and standalone Node.js distribution
Tools27
What Tern MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 27 tools this server returned when we ran it.
Observed 2026-12-05 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 16h ago via OSV.dev · @zyf8827/tern-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Tern MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Tern MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/zyf8827-tern-mcp)<a href="https://allmcps.com/mcp/zyf8827-tern-mcp"><img src="https://allmcps.com/api/badge/zyf8827-tern-mcp?style=directory" alt="Tern MCP on AllMCPs" /></a>