Tern MCP Server
io.github.zyf8827/ternv0.3.0
Model Context Protocol (MCP) server for Tern E2E testing platform
context tax
queued
security
queued
cold start
queued
freshness
Active17d ago
Install Tern MCP server
Install in Claude Code
claude mcp add tern -e TERN_TOKEN='<tern-token>' -- npx -y @zyf8827/tern-mcpInstall in Cursor
{
"mcpServers": {
"tern": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<tern-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"tern": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<tern-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"tern": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<tern-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"tern": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<tern-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TERN_URL | — | — | Base URL of the Tern server instance (defaults to http://127.0.0.1:7430) |
| TERN_TOKEN | — | yes | API Bearer token for authenticating with the Tern server |
Freshness
Active — last maintenance signal 17d ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-22 · 17d ago · official registry · v0.3.0
FAQ
›How do I install the Tern MCP server in Claude Code?
Run: claude mcp add tern -e TERN_TOKEN='<tern-token>' -- npx -y @zyf8827/tern-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Tern require an API key?
Yes. It expects TERN_TOKEN, of which 1 is a secret.
›Can I use Tern as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Tern in the official MCP registry?
Yes, as io.github.zyf8827/tern.
Alternatives to Tern
Other testing & qa MCP servers.