Skip to content
Cursor

tern for Cursor

io.github.zyf8827/tern

Model Context Protocol (MCP) server for Tern E2E testing platform

client:Cursor transport:stdio runtime:npm

Install tern in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "tern": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@zyf8827/tern-mcp"
      ],
      "env": {
        "TERN_URL": "<TERN_URL>",
        "TERN_TOKEN": "<TERN_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

tern in other clients