Unit Test Generator
@hanqizheng
About Unit Test Generator
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Unit Test Generator?
Unit Test Generator is an MCP server that uses the Model Context Protocol to automatically generate unit tests for component libraries. It is designed for developers working with component-based projects and integrates with Cursor via a local MCP server configuration.
How to use Unit Test Generator?
Clone the repository, install dependencies with npm install, and build with npm run build. Then add it as a global MCP server in Cursor by providing a JSON configuration that specifies the command (node), the path to the built index file, the PROJECT_PATH environment variable pointing to your component library, and the transport type (stdio).
Key features of Unit Test Generator
- Generates unit tests for component libraries
- Integrates with Cursor via MCP protocol
- Uses stdio transport for local execution
- Requires only Node.js and npm
Use cases of Unit Test Generator
- Automatically create unit tests for a React component library
- Maintain test coverage for a growing UI component set
- Speed up test writing in a Cursor development workflow
FAQ from Unit Test Generator
What are the dependencies or runtime requirements?
You need Node.js and npm installed. The server is built with npm and run with the node command.
How is the server configured for Cursor?
You add it as a global MCP server in Cursor Settings, providing a JSON block that includes the command, args build index path), environment variable PROJECT_PATH, transport stdio, and enabled flag.
Where does the user data (project files) reside?
The server accesses the component library specified in the PROJECT_PATH environment variable. No external data is transferred; the server runs locally.
What transport does the server use?
It uses the stdio transport, meaning it communicates over standard input/output with the Cursor client.
Does the server require authentication?
No authentication is mentioned. The server is intended for local use only.
More Developer Tools MCP servers
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents

Sentry
modelcontextprotocolModel Context Protocol Servers
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
Comments