Test Runner

by privsim

Recommended
12 stars
4 downloads
Not rated
GitHub

About

Unified execution and result parsing for various testing frameworks, including Bats, Pytest, Flutter, Jest, and Go.

Details

Author
privsim
Repository
privsim/mcp-test-runner
GitHub stars
12
Downloads
4
License
MIT License
Categories
Developer Tools

Setting up with Highlight

Follow these steps to add this server as a custom Highlight plugin:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Test Runner
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/test-runner-mcp/build/index.js
    Environment
    • PATH /opt/homebrew/Caskroom/flutter/3.27.2/flutter/bin:/usr/local/bin:/usr/bin:/bin
    • NODE_PATH /path/to/test-runner-mcp/node_modules
    • PUB_CACHE /Users/username/.pub-cache
    • FLUTTER_ROOT /opt/homebrew/Caskroom/flutter/3.27.2/flutter

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

run_tests

Execute tests using the specified test framework. Parameters: command (string), workingDir (string), framework (string), outputDir (string), timeout (optional number), env (optional object), securityOptions (optional object)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "test runner": {
            "env": {
                "PATH": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter/bin:/usr/local/bin:/usr/bin:/bin",
                "NODE_PATH": "/path/to/test-runner-mcp/node_modules",
                "PUB_CACHE": "/Users/username/.pub-cache",
                "FLUTTER_ROOT": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter"
            },
            "args": [
                "/path/to/test-runner-mcp/build/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "PATH": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter/bin:/usr/local/bin:/usr/bin:/bin",
        "NODE_PATH": "/path/to/test-runner-mcp/node_modules",
        "PUB_CACHE": "/Users/username/.pub-cache",
        "FLUTTER_ROOT": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter"
    },
    "args": [
        "/path/to/test-runner-mcp/build/index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "PATH": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter/bin:/usr/local/bin:/usr/bin:/bin",
        "NODE_PATH": "/path/to/test-runner-mcp/node_modules",
        "PUB_CACHE": "/Users/username/.pub-cache",
        "FLUTTER_ROOT": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter"
    },
    "args": [
        "/path/to/test-runner-mcp/build/index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "PATH": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter/bin:/usr/local/bin:/usr/bin:/bin",
        "NODE_PATH": "/path/to/test-runner-mcp/node_modules",
        "PUB_CACHE": "/Users/username/.pub-cache",
        "FLUTTER_ROOT": "/opt/homebrew/Caskroom/flutter/3.27.2/flutter"
    },
    "args": [
        "/path/to/test-runner-mcp/build/index.js"
    ],
    "command": "node"
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.