Skip to content

Update URL pattern to use uri-template format#13

Open
Fannon wants to merge 1 commit intomodelcontextprotocol:mainfrom
Fannon:patch-1
Open

Update URL pattern to use uri-template format#13
Fannon wants to merge 1 commit intomodelcontextprotocol:mainfrom
Fannon:patch-1

Conversation

@Fannon
Copy link

@Fannon Fannon commented Mar 27, 2026

In the description it already mentions that this is an URL Template. The regexp is more restrictive than this.

Our actual problem is: MCP Servers might not know their full absolute URL, this is often defined later, e.g. by the Gateway. So for some MCP servers, they can only provide a relative URL or a templated URI.

Is this correct or are there reasons why the current regexp insists on an absolute URL? I understand we want absolute URLs at the very end (in the registry), but when you self-describe yourself you might not yet have it.

In the description it already mentions that this is an URL Template. The regexp is more restrictive than this. 

Our actual problem is: MCP Servers might not know their full absolute URL, this is often defined later, e.g. by the Gateway. So for some MCP servers, they can only provide a relative URL or a templated URI. 

Is this correct or are there reasons why the current regexp insists on an absolute URL? I understand we want absolute URLs at the very end (in the registry), but when you self-describe yourself you might not yet have it.
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.

1 participant