How to use VIVIDUS MCP server to create automated scenarios

The VIVIDUS MCP server exposes core VIVIDUS functionalities to LLMs via the MCP protocol, enabling generation of automated test scenarios leveraging those capabilities.

LLM will access only those steps that are available from plugins included into your test project.

Pre-requisites

  1. Copy the below line to dependencies section of the project build.gradle file in your test project

    Please make sure to use the same version for all VIVIDUS dependencies.
    Example 1. build.gradle
    implementation(group: 'org.vividus', name: 'vividus-mcp-server')

Providers

Claude Desktop

Claude is a next generation AI assistant built by Anthropic and trained to be safe, accurate, and secure to help you do your best work.

  1. Install Claude Desktop

  2. Open Claude Desktop and navigate to Developer tab in application Settings

  3. Click Edit Config which opens claude_desktop_config.json file that contains MCP server configs

  4. Add the following JSON into claude_desktop_config.json file and save it

    Example 2. claude_desktop_config.json
    {
        "mcpServers": {
            "vividus-mcp-server": {
                "command": "/Users/Bob/Workspace/vividus-sample-tests/gradlew", (1)
                "args": [
                    "startMcpServer",
                    "-q",
                    "-p",
                    "/Users/Bob/Workspace/vividus-sample-tests" (2)
                ]
            },
            "playwright": {
                "command": "npx",
                "args": [
                    "@playwright/mcp"
                ]
            }
        }
    }
    1 [Mandatory] Absolute path to the gradlew execulable contained in the tests folder
    2 [Mandatory] Absolute path to the tests folder
  5. Restart Claude Desktop application