Enables natural language interaction with the QIT CLI for testing WordPress/WooCommerce plugins, including running security, E2E, PHPStan, and activation tests, managing test environments, handling test packages, and validating plugin ZIP files.
Enables natural language interaction with the QIT CLI for testing WordPress/WooCommerce plugins, including running security, E2E, PHPStan, and activation tests, managing test environments, handling test packages, and validating plugin ZIP files.
QIT MCP Server
An MCP (Model Context Protocol) server that wraps the QIT CLI, enabling natural language interaction and agent-based workflows for WordPress/WooCommerce plugin testing.
Features
Natural Language Testing: Run QIT tests using conversational commands
Agent Integration: Enable AI agents to run tests as part of automated workflows
Full CLI Coverage: Access all essential QIT CLI functionality through MCP tools
Smart CLI Detection: Automatically finds QIT CLI in PATH, local vendor, or custom location
Prerequisites
Node.js 18+
QIT CLI installed and accessible
Installation
Configuration
Claude Code
Add to your Claude Code MCP settings (~/.claude.json):
QIT CLI Detection
The MCP server automatically detects QIT CLI in this order:
QIT_CLI_PATHenvironment variableqitin system PATH./vendor/bin/qit(local Composer installation)
Available Tools
Authentication (2 tools)
Tool | Description |
| Connect to WooCommerce.com Partner Developer account |
| Check current authentication status |
Test Execution (2 tools)
Tool | Description |
| Run any test type (security, e2e, phpstan, activation, etc.) |
| Run a predefined test group from qit.json |
Test Results (4 tools)
Tool | Description |
| Get test result(s) by ID |
| List test runs with filters |
| Get detailed test report |
| Open result in browser |
Groups (1 tool)
Tool | Description |
| Fetch status of a registered test group |
Environment (5 tools)
Tool | Description |
| Start a local test environment |
| Stop a running environment |
| List running environments |
| Execute command in environment container |
| Reset environment database |
Packages (2 tools)
Tool | Description |
| Manage test packages (publish, download, scaffold, delete, show) |
| List available test packages with filtering |
Configuration (1 tool)
Tool | Description |
| Manage backends, partners, and tunneling configuration |
Utilities (5 tools)
Tool | Description |
| List extensions you can test |
| Validate a plugin ZIP file |
| Manipulate QIT cache |
| Get QIT config directory path |
| Re-sync with QIT Manager |
Usage Examples
Natural Language (via Claude Code)
Programmatic Usage
The MCP server communicates via stdio using the Model Context Protocol. See the MCP documentation for integration details.
Development
License
MIT