AutoMax
Guides

MCP

AutoMax as an MCP server for Claude Code, Cursor and VS Code, and the MCP servers it consumes.

What you'll learn

How to connect an MCP client to AutoMax over stdio or HTTP, which tool families exist, how scopes gate them, and how a project declares external MCP servers for its agents.

Topology

Browser driving stays with Playwright MCP; AutoMax MCP drives the automation project. Install both side by side.

Connect

claude mcp add automax -- npx automax mcp --project demo-shop --env staging
claude mcp add playwright -- npx playwright mcp --headless

automax mcp install claude|cursor|vscode writes these files for you.

Settings → MCP clients: endpoint, tool list, install snippets and a connection test
Settings → MCP clients in the web UI: the endpoint, the tool catalogue and copy-ready client snippets.

Tool families

PrefixExamples
project_project_list, project_get_config, project_list_envs, project_doctor
analyze_analyze_project, analyze_routes, analyze_openapi, analyze_locators, analyze_coverage, analyze_best_practices, analyze_change_impact, analyze_failure
feature_ / step_feature_list, feature_read, feature_write (proposal), feature_lint, step_list, step_find
run_run_tests, run_get, run_get_scenario, run_list, run_cancel, run_har_replay
data_data_list_datasets, data_load, data_pool_status
heal_ / insights_heal_events, heal_locator_stats, insights_flaky, insights_health
record_record_start (local only), record_convert, auth_capture
agent_ / proposal_agent_plan, agent_generate, agent_heal, proposal_list, proposal_accept
issue_ / schedule_issue_create, issue_link, schedule_list, schedule_run_now

Write tools produce proposals; they never touch your working tree. Every tool carries annotations, a Zod input schema and a link to its reference page.

Scopes

Over HTTP the bearer token's scopes decide which tools appear: viewer tokens see read tools, editor tokens add run and proposal tools, admin tokens everything. Over stdio you are the local admin.

Servers a project consumes

automax.project.yaml
mcp:
  servers:
    playwright: { transport: stdio, command: npx, args: [playwright, mcp, --headless] }
    github:
      transport: stdio
      command: npx
      args: [-y, '@modelcontextprotocol/server-github']
      envFrom: { GITHUB_PERSONAL_ACCESS_TOKEN: GITHUB_TOKEN }
      allowedTools: [search_issues, create_issue]

Values under envFrom and headersFrom are variable names; literals are rejected.

Next steps

On this page