userinyerface-mcp-server
Officialuserinyerface-mcp-server
一个小型 MCP(Model Context Protocol)服务器,将 userinyerface.com 毕业项目(第 4 单元 — Allure 与报告)的官方测试用例以 MCP 工具的形式暴露出来。
该项目的测试用例不包含在练习仓库中。就像在真实项目中一样,它们存放在一个独立的测试用例管理系统中——在这里,该系统就是这个 MCP 服务器。将你的 AI 客户端连接到它,并在毕业任务第 0 阶段获取你需要的测试用例。
它提供什么
两个工具,由同一个 test_cases.json 文件支撑:
list_test_cases()— 返回每个可用测试用例的 id 和标题(TC1Cards、TC2Help Form、TC3Cookies Form、TC4Timer)。get_test_case(test_id)— 返回指定 id 的完整测试用例:host、前置条件以及分步表格(操作 / 预期结果)。
Related MCP server: mcp-playwright-test
设置
需要 Python 3.10+。
pip install -r requirements.txt你可以用以下命令快速检查服务器能否在本地运行:
python server.py(它会停留在 stdio 上等待——这是正常的。按 Ctrl+C 停止。你不需要手动运行它;你的 MCP 客户端会为你启动它。)
通过 Cursor 连接(免费版)
打开 Cursor → Settings → MCP。
添加一个新的 MCP 服务器,配置如下(将路径调整为你克隆此仓库的位置):
{
"mcpServers": {
"userinyerface-test-cases": {
"command": "python",
"args": ["/absolute/path/to/userinyerface-mcp-server/server.py"]
}
}
}Cursor 应显示服务器已连接,并且
list_test_cases和get_test_case可作为工具使用。向你的 AI 助手询问类似 "列出可用的测试用例" 或 "给我 TC4 的测试用例" 来确认它正常工作。
完整操作演示请参阅第 4 单元设置视频。
项目结构
userinyerface-mcp-server/
├── server.py # MCP server entry point — tool definitions
├── test_cases.json # The actual test case data
├── requirements.txt
└── README.mdThis server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for medicaid-intelligence
MCP server for AI access to Swagger by SmartBear.
An MCP server that provides tools to discover and retrieve podcast episodes transcripts.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Related MCP Servers
- AlicenseAqualityFmaintenanceA universal MCP server that exposes all UTCP-registered tools to MCP clients while providing a web interface for tool management.716 npm206MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that automates Playwright-based UI and API testing, supporting test case generation from requirements or API specs, and execution with detailed reports.12 npm1MIT
- AlicenseBqualityBmaintenanceAn MCP server for TestRail that prepares everything needed to generate test cases from Jira tickets, Confluence pages, or free-form specs and pushes them back to TestRail.3115 PyPI2MIT
- AlicenseBqualityDmaintenanceMCP server for generating, validating, running, and reporting Apache JMeter API performance tests from structured API sources.1323 npmMIT