spectest-mcp
基于 HTML 原型和 PRD 文档,自动生成测试用例的 MCP Server。
工具列表
| 工具 | 说明 |
|---|---|
parse_html_prototype |
解析 HTML 原型文件,提取表单、按钮、链接等结构 |
read_prd_document |
读取需求文档(支持 .txt / .md / .pdf / .docx) |
generate_test_cases |
组装 HTML 结构和 PRD 内容,生成供 LLM 推理的提示词 |
export_test_cases |
将测试用例导出为 XMind / Markdown / Excel 格式 |
安装
pip install spectest-mcp
配置(mcp.json)
{
"mcpServers": {
"spectest": {
"command": "uvx",
"args": ["spectest-mcp@latest"]
}
}
}
依赖
mcp— MCP SDKbeautifulsoup4— HTML 解析python-docx— DOCX 读取openpyxl— Excel 导出pymupdf(可选)— PDF 读取,安装:pip install spectest-mcp[pdf]
Metadata
Release files for spectest-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spectest_mcp-0.1.0.tar.gz | 685.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spectest_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 697.8 kB
Release files / spectest_mcp-0.1.0.tar.gz
| Download URL | spectest_mcp-0.1.0.tar.gz |
|---|---|
| Size | 685.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1d6da1d381d565b7c8a6caa53f4d76b97d9bc679dea7fb1f1764aa44c85da12
|
|
BLAKE2b-256 checksum How to use checksums |
0156b870fb3302f3643d0c722c9ee1d1204245f02a4dae9a5b449e89af7cba37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / spectest_mcp-0.1.0-py3-none-any.whl
| Download URL | spectest_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f1d90f1f081f367185ac3a7c65361d3524f55e6a4622b27b113d4f9e8089408
|
|
BLAKE2b-256 checksum How to use checksums |
b1de4e7584b7e24a4f33deae0080dc67d0b2323a33c054b346a49109f87b1c1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|