Skip to main content
Glama

Test Runner MCP

by privsim

run_tests

Execute tests using frameworks like Bats, Pytest, Flutter, Jest, and Go. Specify command, working directory, output location, timeout, and security options to generate and store results programmatically.

Instructions

Run tests and capture output

Input Schema

NameRequiredDescriptionDefault
commandYesTest command to execute (e.g., "bats tests/*.bats")
envNoEnvironment variables for test execution
frameworkYesTesting framework being used
outputDirNoDirectory to store test results
securityOptionsNoSecurity options for command execution
timeoutNoTest execution timeout in milliseconds (default: 300000)
workingDirYesWorking directory for test execution

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Test command to execute (e.g., \"bats tests/*.bats\")", "type": "string" }, "env": { "additionalProperties": { "type": "string" }, "description": "Environment variables for test execution", "type": "object" }, "framework": { "description": "Testing framework being used", "enum": [ "bats", "pytest", "flutter", "jest", "go", "rust", "generic" ], "type": "string" }, "outputDir": { "description": "Directory to store test results", "type": "string" }, "securityOptions": { "description": "Security options for command execution", "properties": { "allowPipeToFile": { "description": "Allow pipe to file operations (default: false)", "type": "boolean" }, "allowShellExpansion": { "description": "Allow shell expansion like $() or backticks (default: true)", "type": "boolean" }, "allowSu": { "description": "Allow su commands (default: false)", "type": "boolean" }, "allowSudo": { "description": "Allow sudo commands (default: false)", "type": "boolean" } }, "type": "object" }, "timeout": { "description": "Test execution timeout in milliseconds (default: 300000)", "type": "number" }, "workingDir": { "description": "Working directory for test execution", "type": "string" } }, "required": [ "command", "workingDir", "framework" ], "type": "object" }

Other Tools from Test Runner MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/privsim/mcp-test-runner'

If you have feedback or need assistance with the MCP directory API, please join our Discord server