Skip to content

Conversation

eiriktsarpalis
Copy link
Member

Makes the following changes:

  • When deriving a resource URI template, converts the host component to lowercase.
  • Defaults the mimetype to "application/octetstream".

This should mitigate some of the issues described in #516.

@eiriktsarpalis eiriktsarpalis changed the title Use lowercase host in resource URI template derivation. Fix URI template derivation and lookup Jun 23, 2025
@eiriktsarpalis eiriktsarpalis merged commit 0b26b7b into modelcontextprotocol:main Jun 23, 2025
7 checks passed
@eiriktsarpalis eiriktsarpalis deleted the use-lowercase-derived-uritemplaes branch June 23, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP Resources without parameters don't work without mime-type specified

3 participants