Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-generated MCP types from JSON schema #17

Open
cbrit opened this issue Mar 3, 2025 · 1 comment
Open

Auto-generated MCP types from JSON schema #17

cbrit opened this issue Mar 3, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@cbrit
Copy link

cbrit commented Mar 3, 2025

I had published an early-development mcp-types crate for types generated directly from the 11-05-24 specification schema using typify, as it seems valuable to have a crate that represents auto-generated bindings directly from each new spec as they are released rather than having to manually create them or tell a GPT to.

I was also in the middle of implementing its use in the offeryn crate(s) when this repo was released.

One important issue I was working through is the schema that allow additionalProperties fields don't generate a field to represent them, and only result in types with a meta field in the params. I was trying to solve this by editing the AST directly after generation.

Anyway, is there interest in merging that effort somehow?

@cbrit cbrit added the enhancement New feature or request label Mar 3, 2025
@baxen
Copy link
Contributor

baxen commented Mar 14, 2025

Yes this sounds great! Let's make sure we coordinate with #29 and any other consolidation. This might make our need for an "mcp-spec" unecessary and we'd be happy to remove it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants