MCPLab

Reference

Configuration Schema

Complete field reference for eval.yaml.

servers[ ]

  • id (string, required) — unique identifier used in scenario server lists.
  • transport (string, required) — connection type. Use "http" for HTTP/SSE.
  • url (string, required) — full URL of the MCP endpoint.
  • token (string, optional) — bearer token for authentication. Use a literal string or $ENV_VAR to read from the environment.

agents[ ]

  • id (string, required) — unique identifier referenced by scenarios.
  • LLM agent: omit type or use type: llm; requires provider and model. Supported API providers are anthropic, openai, and azure_openai.
  • Browser agent type: type: browser (required). Browser agents are executed through Rover.
  • Browser agent provider (string, required): built-in or learned Rover provider identifier.
  • Browser agent url (string, required): page Rover opens when the agent needs attention.
  • new_conversation_between_scenarios (boolean, browser only, optional): defaults to starting a new conversation and can be overridden when a run starts.
  • temperature (number, LLM only, optional): sampling temperature. Defaults to 0.
LLM and browser agents
agents:
  - id: api-agent
    provider: anthropic
    model: claude-haiku-4-5-20251001

  - id: browser-agent
    type: browser
    provider: chatgpt-com
    url: https://chatgpt.com
    new_conversation_between_scenarios: true

scenarios[ ]

  • Inline scenario: id, prompt, optional name, optional mcp_servers, optional eval and extract.
  • Referenced scenario: ref with optional mcp_servers override.
  • mcp_servers entries can be { ref: <server-id> } or inline server objects.
  • Legacy top-level servers pool is deprecated; prefer scenario-owned mcp_servers.

eval.tool_constraints, eval.tool_sequence and eval.response_assertions

  • tool_constraints.required_tools (string[], optional) — tool names the agent must call.
  • tool_constraints.forbidden_tools (string[], optional) — tool names the agent must not call.
  • tool_sequence (string[], optional) — ordered tool names that must appear in the run in that order, with other tools allowed in between.
  • response_assertions supports: contains, not_contains, starts_with, ends_with, equals, regex, jsonpath, jsonpath_exists, jsonpath_not_exists.
  • For detailed examples of each assertion, see Reference / Tool and Response Assertions.

Reference Syntax

Use ref inside agents and scenarios list items to pull from library ids.

referenced scenario with mcp override
agents:
  - ref: claude-sonnet-46

scenarios:
  - ref: add-calculations
    mcp_servers:
      - ref: kpi-api-prod