This documentation is available as Markdown. For the complete index, see llms.txt. Skip to content

Connect your editor

For the complete documentation index, see llms.txt

After npx @unotest/web init (or @unotest/mobile install), the MCP server is wired for you. This page is what’s happening under the hood — and how to wire it by hand if needed.

What init writes

  • .mcp.json — the MCP server entry (stdio transport).
  • Editor settings (e.g. .claude/settings.json) — the tool allowlist + an agent authoring guide.

Claude Code

init writes .mcp.json at the project root, which Claude Code auto-discovers. The server is launched as npx @unotest/web mcp (stdio). Open Claude Code in the project and ask it to write a test.

Cursor / Codex

Both read MCP server config from their settings. init populates it. If you wire it manually, point the server command at npx @unotest/web (web) or npx @unotest/mobile (iOS) — running with no subcommand starts the MCP server.

Monorepos

Open your editor at the monorepo root and run init there, so .mcp.json lives where the editor looks for it.

Verify

Ask the agent to “write an e2e test for sign-in”. If the MCP tools are available, it will explore your app and produce a scenario. If not, re-run init and reload the editor.