MCP server
Tern
Model Context Protocol (MCP) server for Tern E2E testing platform
Runs locallyStatus and history
- Runs
- Locally
- Version
- 0.3.0
- Listing updated
- 6 days ago
About Tern
Tern is an MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add tern --env TERN_TOKEN='<TERN_TOKEN>' -- npx -y @zyf8827/tern-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"tern": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<TERN_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"tern": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<TERN_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"tern": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<TERN_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"tern": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<TERN_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"tern": {
"command": "npx",
"args": [
"-y",
"@zyf8827/tern-mcp"
],
"env": {
"TERN_TOKEN": "<TERN_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
TERN_URLBase URL of the Tern server instance (defaults to http://127.0.0.1:7430)TERN_TOKENAPI Bearer token for authenticating with the Tern server
Tern FAQ
How do I add Tern to Claude Code?
Run this command in your terminal: claude mcp add tern --env TERN_TOKEN='<TERN_TOKEN>' -- npx -y @zyf8827/tern-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.