mcp-tool-schema-generator
Generate JSON Schema definitions for MCP tool input parameters. Creates well-documented, AI-consumable schemas with proper types, descriptions, and validation rules.
npx skills add a5c-ai/babysitter --skill mcp-tool-schema-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MCP Tool Schema Generator Generate comprehensive JSON Schema definitions for MCP tools that are optimized for AI consumption, with clear descriptions, type constraints, and validation rules. ## Capabilities - Generate JSON Schema for tool inputs - Create TypeScript types from schemas - Generate Zod validation schemas - Produce AI-optimized descriptions - Support complex nested structures - Handle enums, unions, and constraints ## Usage Invoke this skill when you need to: - Define input schemas for MCP tools - Create type-safe tool parameter definitions - Generate validation logic for tool inputs - Document tool parameters for AI consumption ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | toolName | string | Yes | Name of the MCP tool | | description | string | Yes | Tool description | | parameters | array | Yes | List of parameter definitions | | outputFormat | string | No | json-schema, zod, or typescript (default: all) | | examples | array | No | Example inputs for documentation | ### Parameter Definition Structure ```json { "parameters": [ { "name": "path", "type": "string", "description": "File path to read", "required":
- Capabilities
- Usage
- Inputs
- Parameter Definition Structure
- Output Structure
- Generated Code Patterns
- JSON Schema Output
- TypeScript Types Output
- Zod Validation Output
- Supported Types
- Constraint Support
- AI-Optimized Descriptions
- Workflow
- Best Practices Applied
What does the mcp-tool-schema-generator skill do?
Generate JSON Schema definitions for MCP tool input parameters. Creates well-documented, AI-consumable schemas with proper types, descriptions, and validation rules.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill mcp-tool-schema-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
