modelcontextprotocol / modelcontextprotocol/registry

Support `ETag` in listing endpoints

Open
#724 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement v1
Dominant language
Go
Stars
7.3k
Forks
994
Avg merge
4d 12h
Merged PRs (30d)
19

Description

Is your feature request related to a problem? Please describe.
The current API spec does not suggest (or mandate) ways for the server to suggest when updates are available. Note that this is different from returning deltas based on timestamps.

Describe the solution you'd like
Responses of GET /v0/servers SHOULD contain an ETag header that the Client SHOULD use on subsequent requests. The Client can still specify a updated_since query parameter, the two are complementary.

The same reasoning could be applied to /v0/servers/{serverName}/versions endpoint.

Describe alternatives you've considered
None, but ETag was suggested in many MCP SEPs and seemed not too controversial to suggest it here as well.

Additional context
None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the API specification and the implementations of GET /v0/servers and GET /v0/servers/{serverName}/versions. Define how responses expose ETag values and how clients use them alongside updated_since; done means both listing endpoints document and support the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.