Skip to content

Publish versioned types (TypeScript, Zod, etc) for server.json #186

@felixrieseberg

Description

@felixrieseberg

Is your feature request related to a problem? Please describe.

I'd like to align https://github.com/anthropics/dxt as much as possible server.json. I believe a first good step here would be to create an "importer" that is able to create a valid manifest.json from a server.json - before we eventually tell everyone to just create a server.json instead.

To do so, I'd need types.

Describe the solution you'd like
In my dreams, we'd have versioned https://zod.dev types for server.json, but I'd also be happy about being able to call npm i @modelcontextprotocol/registry/types.

Describe alternatives you've considered
While I could make this entire repo a git submodule and run an OpenAPI converter to get TypeScript types, I'd feel better knowing that I'm importing the "official" types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions