modelcontextprotocol / modelcontextprotocol/python-sdk
Remove jsonschema dependency
Open
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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