Unit Test Generator
@hanqizheng
About Unit Test Generator
No overview available yet
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.
Frequently asked questions
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.
Basic information
More Developer Tools MCP servers

Repo Test Architect
RepoAssayLocal-first, read-only MCP server for evidence-backed repository test architecture audits and test planning.

Raccha AI
Shree MandadiMCP-first toolbox for agents: namespaced key-value storage, a FIFO queue, auth, and a handful of stateless utility tools (JWT decode, hashing, cert inspection, CIDR math). Free while in early access. This repository is a

Skilder.ai
skilder.aiRun skills and MCP tools like production software: versioned, composed into roles, distributed to every agent from one governed library.

Perfex CRM
themesicTurn Perfex CRM into an AI-ready workspace. This MCP server exposes your full REST API to Claude, ChatGPT and any AI agent, so leads, invoices and tasks are one prompt away.

Skycloak
Manage your Skycloak-hosted Keycloak: clusters, realms, apps, SSO and users, from any MCP client.
Comments