mcp-pydantic-tool-definition

Official

Define strict MCP tool schemas with Pydantic.

AuthorAgentient
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pydantic V2 models provide a single source of truth for MCP tool schemas, ensuring consistent input/output definitions and reducing schema drift across tools and integrations.

Core Features & Use Cases

  • Schema-first development with BaseModel-based input/output definitions.
  • Mandatory strict mode to prevent silent type coercion and ensure reliable validation.
  • Automatic JSON schema generation for tool registration and discovery.
  • Support for complex types, cross-field validation, and structured tool registration patterns.

Quick Start

Define ToolInput and ToolOutput with Pydantic models and register their JSON schemas for MCP tool discovery.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mcp-pydantic-tool-definition
Download link: https://github.com/Agentient/vibekit/archive/main.zip#mcp-pydantic-tool-definition

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.