Skip to main content

基于 HTML 原型和 PRD 文档生成测试用例的 MCP Server

Project description

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 SDK
  • beautifulsoup4 — HTML 解析
  • python-docx — DOCX 读取
  • openpyxl — Excel 导出
  • pymupdf(可选)— PDF 读取,安装:pip install spectest-mcp[pdf]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectest_mcp-0.1.0.tar.gz (685.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spectest_mcp-0.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file spectest_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: spectest_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 685.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for spectest_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f1d6da1d381d565b7c8a6caa53f4d76b97d9bc679dea7fb1f1764aa44c85da12
MD5 23935917acdef26599ccd8a422b9bebb
BLAKE2b-256 0156b870fb3302f3643d0c722c9ee1d1204245f02a4dae9a5b449e89af7cba37

See more details on using hashes here.

File details

Details for the file spectest_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: spectest_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for spectest_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f1d90f1f081f367185ac3a7c65361d3524f55e6a4622b27b113d4f9e8089408
MD5 ffa5c140b58e7ed587bf8c806c125cf0
BLAKE2b-256 b1de4e7584b7e24a4f33deae0080dc67d0b2323a33c054b346a49109f87b1c1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page