modelcontextprotocol / modelcontextprotocol/php-sdk
[Schema] Generate Schema based on official JSON Schema
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.6k
- Forks
- 173
- Avg merge
- 2d 49m
- Merged PRs (30d)
- 23
Description
The official MCP specification has a TypeScript and JSON Schema definition, which was the base for building the Mcp\Schema namespace.
However, we should evaluate if we can generate PHP classes based on the JSON Schema (expected to be easier than Typescript), instead of writing and maintaining that component itself.
There are packages out there for this tasks, and we should check what kind of responsibilities we would need to move away from the Mcp\Schema namespace, if needed.
Please announce yourself before working on this - so we can avoid duplicate effort.
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
Compare the official TypeScript and JSON Schema definitions linked in the issue with the existing Mcp\Schema namespace. Review available PHP JSON Schema generation packages and document which responsibilities would move from Mcp\Schema; done means a justified implementation plan with identified package and migration boundaries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend-api-design
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100