MCP Server Template for Cursor IDE

apply_prompt_unit_tests

Provides a prompt for generating unit tests for code

Input Schema

NameRequiredDescriptionDefault
code_to_testYesThe code that needs unit tests
specific_instructionsNoOptional specific instructions to include in the prompt
versionNoThe version of the prompt template to use (e.g., '1.0.0', '1.1.0', or 'latest')

Input Schema (JSON Schema)

{ "properties": { "code_to_test": { "description": "The code that needs unit tests", "type": "string" }, "specific_instructions": { "description": "Optional specific instructions to include in the prompt", "type": "string" }, "version": { "description": "The version of the prompt template to use (e.g., '1.0.0', '1.1.0', or 'latest')", "type": "string" } }, "required": [ "code_to_test" ], "type": "object" }