MCP Server Validator
Validate MCP tool definitions: name, description, inputSchema, and more.
Introduction
MCP Server Validator helps you catch structural mistakes in Model Context Protocol tool definitions before you wire them into a server. It checks valid JSON, object shape, tool name and description, inputSchema type/properties/required consistency, and optional outputSchema and annotations. It is a practical structural validator — not a claim of full MCP specification certification. See the official MCP documentation for protocol requirements, and use JSON Schema Generator when you need to draft an inputSchema from a sample payload.
Features
- Validate single tools or tools arrays
- inputSchema structure and required-field checks
- Optional outputSchema and annotations checks
- Pass / warning / error report with paths
- Format JSON, example, and copy report
How to use
- 1Paste a tool object, a tools array, or { "tools": [...] }.
- 2Click Validate (or rely on live checks) and review errors vs warnings.
- 3Fix paths called out in the report, then re-validate.
Example
Simple tool
Input{"name":"get_user","description":"Get user information","inputSchema":{"type":"object","properties":{"userId":{"type":"string"}},"required":["userId"]}}Output✓ Valid JSON ✓ Tool name present ✓ Description present ✓ inputSchema valid ⚠ outputSchema not provided
Benefits
- Use MCP Validator without installing a desktop app or browser extension.
- Works well alongside JSON Schema and JSON Schema for adjacent steps in the same workflow.
- Results stay in this browser tab until you copy or download them.
FAQs
No. It validates common structural requirements for tool definitions (name, description, inputSchema, etc.). Protocol transport, capabilities, and server lifecycle are out of scope.
A single tool object, an array of tools, or an object with a tools array.
See https://modelcontextprotocol.io/docs for the Model Context Protocol specification and guides.
No. Validation runs locally in your browser.