modelcontextprotocol / modelcontextprotocol/typescript-sdk

Support JSON schema in addition to zod

Open
#283 11 comments 42 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs decision P1 v2
Dominant language
TypeScript
Stars
13.4k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
4

Description

Why dont you add support for jsonschema in addition to zod. A lot of projects already have jsonshemas defined and you are converting internally from zod to jsonschema.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing where the TypeScript SDK accepts Zod schemas and converts them internally to JSON Schema. Determine the entry points involved and define done as allowing projects with existing JSON Schemas to use the SDK alongside Zod schemas, with coverage for both supported inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.