ShapeMCP/Docs/Universal Schema
Universal Schema

Universal Schema

02

Universal Schema Converter

MCP tools rely heavily on JSON Schema. Your data logic might be defined in SQL (Postgres/MySQL), Prisma schemas, or GraphQL SDL. The Universal Schema Converter turns those definitions into strict JSON types that MCP clients can use for validation and UI generation.

Supported formats

SQL DDL (CREATE TABLE, types, constraints), Prisma schema (models, enums, relations), and GraphQL types and input types are all supported. Each format is parsed and normalized into a single JSON Schema document that describes the same structure in a standard way.

Output

The output is a single JSON Schema object. You can use it as inputSchema for an MCP tool or as a reference schema for your API documentation and client generation.