PictMCP
Provides pairwise combinatorial testing capabilities to AI assistants.
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"pictmcp": {
"args": [
"pictmcp@0.4.0"
],
"command": "npx"
}
}
}
可用工具 (5 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
tavily_search 14 个参数 需填 1 项
Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.
必填参数:query
tavily_extract 6 个参数 需填 1 项
Extract content from URLs. Returns raw page content in markdown or text format.
必填参数:urls
tavily_crawl 11 个参数 需填 1 项
Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.
必填参数:url
tavily_map 8 个参数 需填 1 项
Map a website's structure. Returns a list of URLs found starting from the base URL.
必填参数:url
tavily_research 2 个参数 需填 1 项
Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.
必填参数:input
服务介绍
PictMCP
Pairwise Testing for the AI
PictMCP is an MCP (Model Context Protocol) server that provides pairwise combinatorial testing capabilities to AI assistants.
Why use this?
- LLMs struggle with strict algorithmic data processing - Combinatorial test generation requires precise mathematical algorithms that LLMs cannot reliably execute
- Offload complex logic - This tool manages the combinatorial logic that is difficult for LLMs, allowing them to focus on test design and interpretation
Prefer a GUI? Check out PictRider.
Features
- 馃敀 Local Processing - All processing runs locally with no external network calls
- 鈿� WebAssembly Powered - Fast execution using the PICT algorithm compiled to WebAssembly
- 馃敆 Constraint Support - Define constraints to filter out invalid parameter combinations
- 馃搳 Structured Output - Returns well-structured JSON results for easy integration
Installation
Prerequisites
- Node.js (v24 or higher)
MCP Client Configuration
Add the following configuration to your MCP client. This is an example configuration; the exact format may vary depending on your client. Please refer to your MCP client's documentation for details.
{
"mcpServers": {
"PictMCP": {
"command": "npx",
"args": ["pictmcp"]
}
}
}
Quick Start
Once installed, you can ask your AI assistant to generate test cases using pairwise combinatorial testing.
Example Prompt
Generate test cases for a login form with the following parameters:
- Browser: Chrome, Firefox, Safari
- OS: Windows, macOS, Linux
- Language: English, Japanese, Spanish
The AI assistant will use the generate-test-cases tool to create an optimized set of test cases that covers all pairwise combinations.
Example with Constraints
Generate test cases for:
- Browser: Chrome, Firefox, Safari, Edge
- OS: Windows, macOS, Linux
- With constraint: Safari only works on macOS
The tool supports PICT constraint syntax to exclude invalid combinations.
FAQ
Does this communicate with external servers?
No. All processing runs locally with no external network calls.
I already use the pict CLI. Do I need this?
If your AI agent can execute CLI commands directly, you may not need this tool. However, PictMCP provides:
- A standardized MCP interface for AI assistants
- No need to install PICT separately (WebAssembly-based)
- Structured JSON output instead of TSV
What is pairwise testing?
Pairwise testing (also known as all-pairs testing) is a combinatorial testing method that generates test cases covering all possible pairs of input parameters. This significantly reduces the number of test cases while maintaining high defect detection rates.
What constraint syntax is supported?
PictMCP supports the full PICT constraint syntax. See the PICT documentation for details.
License
This project is licensed under the MIT License鈥攕ee the LICENSE file for details.