Skip to content

Support RFC 6570 for Resource Templates #53

@SamMorrowDrums

Description

@SamMorrowDrums

According to the Model Context Protocol Specification, the uriTemplate should support RFC 6570.

{
  uriTemplate: string;   // URI template following RFC 6570
  name: string;          // Human-readable name for this type
  description?: string;  // Optional description
  mimeType?: string;     // Optional MIME type for all matching resources
}

The currently load-baring regex is not able to support the spec, and also the params are not passed to the handler, which in some dynamic scenarios can be very useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions