mcp-testing-tools
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-testing-toolsGenerate tests for fetchUser(id: number): Promise"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@rog0x/mcp-testing-tools
Testing and quality assurance tools for AI agents, exposed via the Model Context Protocol (MCP).
Tools
generate_tests
Generate test cases from a function signature. Produces four categories of tests as ready-to-run Jest or Vitest code:
Happy path -- valid inputs, expected outputs
Edge cases -- empty strings, zero values, null parameters
Error cases -- missing arguments, wrong types
Boundary values -- extreme numbers, large arrays, NaN
Parameters:
Name | Type | Required | Description |
| string | Yes | Function signature, e.g. |
| string | No |
|
| string | No | Import path for the module under test (default: |
generate_mock_data
Generate realistic mock data for testing. Supported types:
name, email, address, date, uuid, phone, company, credit_card, ip
Parameters:
Name | Type | Required | Description |
| string | Yes | Data type to generate |
| number | No | Number of items (default: 10, max: 1000) |
| string | No |
|
| string[] | No | Generate mixed records with multiple field types |
generate_api_mock
Generate mock API responses from a schema definition. Creates realistic JSON payloads for REST endpoints by inferring values from field names and types.
Parameters:
Name | Type | Required | Description |
| string | Yes | API endpoint path |
| string | No | HTTP method (default: |
| object[] | Yes | Field schemas with |
| number | No | Number of records (default: 1, max: 100) |
| number | No | HTTP status code (default: 200) |
| boolean | No | Wrap in |
analyze_test_coverage
Analyze source code and test code to find untested functions. Prioritizes suggestions by:
Export status (public API surface)
Cyclomatic complexity estimate
Parameter count
Async functions (more error paths)
Parameters:
Name | Type | Required | Description |
| string | Yes | Source code to analyze |
| string | Yes | Existing test code |
| string | No | Filename label (default: |
generate_assertions
Generate detailed assertion code by comparing expected and actual values. Performs deep diff and produces per-field assertions with descriptive comments.
Parameters:
Name | Type | Required | Description |
| string | Yes | Expected value as JSON string |
| string | Yes | Actual value as JSON string |
| string | No | Description for the comparison |
| string | No |
|
| boolean | No | Deep equality for objects/arrays (default: true) |
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"testing-tools": {
"command": "node",
"args": ["path/to/mcp-testing-tools/dist/index.js"]
}
}
}License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rog0x/mcp-testing-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server