jpowersdev
MCP Serverjpowersdevpublic

jsonschema gen

Generate Effect Schemas from JSON Schema

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
MIT License
License

About This Server

Generate Effect Schemas from JSON Schema

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

jsonschema-gen

Generate Effect Schemas from JSON Schema

Usage

pnpm add -D @jpowersdev/jsonschema-gen

# Basic usage
pnpm jsonschema-gen --spec ./schema.json --output ./schema.ts

# Advanced usage, with a prefix for reserved words and a "satisfies" file
pnpm jsonschema-gen --spec ./schema.json --output ./schema.ts --reservedPrefix Mcp --satisfies mcp.ts

Options

  • --spec: The path to the JSON Schema file to generate the Effect Schema from.
  • --output: The path to the output file to write the generated Effect Schema to.
  • --prefix: The prefix to apply to the generated Effect Schema.
  • --reservedPrefix: The prefix to use for reserved words (defaults to Schema).
  • --satisfies: The path to a typescript file containing interfaces against which to validate the generated code.

About

This library is a work in progress, and is primarily designed to help me generate Effect Schemas for Model Context Protocol

Credit due to @tim-smart for the openapi-gen library, from which I took inspiration.

Quick Start

1

Clone the repository

git clone https://github.com/jpowersdev/jsonschema-gen
2

Install dependencies

cd jsonschema-gen
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerjpowersdev
Repojsonschema-gen
LanguageTypeScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation