modelcontextprotocol / modelcontextprotocol/python-sdk

Remove jsonschema dependency

Open
#1,745 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement P3 v2
Dominant language
Python
Stars
24.3k
Forks
4k
Avg merge
1d 1h
Merged PRs (30d)
31

Description

Summary

Remove the jsonschema package as a dependency.

Motivation

  • Reduces the SDK's dependency footprint
  • Part of lazy imports / startup time improvements
  • Pydantic can handle validation needs

Related

  • #1617 - Lazy imports

AI Disclaimer

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

Inspect the dependency declarations and search the repository for jsonschema usage, then read the validation paths that rely on it. Run the existing test suite to identify affected behavior; done means the dependency is no longer declared or imported and validation tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.