Unit Test Generator
一个 MCP 协议的单元测试生成器。
使用
git clone [email protected]:hanqizheng/unit-test-generator-mcp-server.git
cd unit-test-generator-mcp-server
npm install
npm run build
在 Cursor 完成集成
-
Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP server
-
输入以下配置
{
"mcpServers": {
"unit-test-generator": {
"command": "node",
"args": ["YOUR_MCP_SERVER_BUILD_INDEX_PATH"],
"env": {
"PROJECT_PATH": "YOUR_COMPONENT_LIBRARY_PROJECT_PATH"
},
"transport": "stdio",
"enabled": true,
"description": "component library unit test generator"
}
}
}
Transport:
stdio
Language: 
Created: 4/8/2025
Updated: 4/11/2025
Recommend MCP Servers 💡
molecule-mcp
ChatMol
An MCP server connecting molecule science tools to Claude AI for prompt-assisted molecule modeling.
2025-03-19
excel-mcp-server
haris-musa
A Model Context Protocol server for Excel file manipulation
2025-02-12
gamunu/mcp-unix-shell
gamunu
A Go server implementing Model Context Protocol (MCP) to execute shell commands with safety features like command allowlisting.
2025-04-09
mobbdev
mobb-dev
Bugsy can also be used as an MCP server, allowing AI assistants like Claude to automatically scan and fix vulnerabilities in your code repositories.
2023-07-13
mcp-package-version
sammcj
An MCP server that provides LLMs with the latest stable package versions when coding
2024-12-16
xcode-mcp-server
r-huijts
MCP Server implementation for Xcode integration
2025-07-23