modelcontextprotocol / modelcontextprotocol/servers
Add Resource Collection example to Everything server
@olaservo is already working on this.
Since Dec 16, 2025.
- Dominant language
- TypeScript
- Stars
- 90.5k
- Forks
- 11.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Description
Is your feature request related to a problem? Please describe.
@olaservo suggested that we add an example of resource collections. It was prompted by this discussion on the topic.
Describe the solution you'd like
@olaservo has posted a gist that demonstrates the pattern where a single resources/read request
Her example returns multiple ResourceContents with different URIs - useful for modeling collections, indexes, or composite resources.
Resources like the following:
-
demo://collection/summer-specials: Returns all items as separate resources
-
demo://collection/by-category/{category}: Returns items filtered by category
-
demo://collection/item/{id}: Returns a single item (for individual access)
Describe alternatives you've considered
None really. This is a well thought out example, and I think we should add it when the newly refactored Everything server PR is merged.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.