Skip to content

Feat/issue 974 client response cache#975

Open
starsaintf wants to merge 2 commits into
modelcontextprotocol:mainfrom
starsaintf:feat/issue-974-client-response-cache
Open

Feat/issue 974 client response cache#975
starsaintf wants to merge 2 commits into
modelcontextprotocol:mainfrom
starsaintf:feat/issue-974-client-response-cache

Conversation

@starsaintf

@starsaintf starsaintf commented Jul 12, 2026

Copy link
Copy Markdown

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

@starsaintf
starsaintf requested a review from a team as a code owner July 12, 2026 14:02
@github-actions github-actions Bot added T-core Core library changes T-handler Handler implementation changes T-service Service layer changes T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes T-documentation Documentation improvements and removed T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes labels Jul 12, 2026
@github-actions github-actions Bot added the T-config Configuration file changes label Jul 12, 2026
@starsaintf
starsaintf force-pushed the feat/issue-974-client-response-cache branch from d01cc70 to cec152a Compare July 12, 2026 16:53
@github-actions github-actions Bot added T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes T-test Testing related changes and removed T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes labels Jul 12, 2026
@github-actions
github-actions Bot force-pushed the feat/issue-974-client-response-cache branch 2 times, most recently from 4dfaa9d to 2dfda9c Compare July 12, 2026 17:32
@github-actions github-actions Bot added T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes and removed T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes labels Jul 12, 2026
@github-actions
github-actions Bot force-pushed the feat/issue-974-client-response-cache branch from 1ea960a to d369d81 Compare July 12, 2026 17:39
@starsaintf

Copy link
Copy Markdown
Author

Implemented the client-side TTL-honoring response cache requested in #974 for tools/list, prompts/list, resources/list, resources/templates/list, and resources/read.

The implementation includes TTL freshness, public/private cache scopes, authorization-context partitioning, pagination-aware cache keys, notification-driven invalidation, stale in-flight response protection, MRTR retry exclusion, configurable cache settings, tests, changelog updates, and client caching documentation.

The final branch passed the full repository-aligned verification matrix in GitHub Actions, including formatting, Clippy, all-feature and non-local tests, focused cache tests, conformance, SemVer, public API, coverage, audit, documentation, spelling, and example builds.

@alexhancock

Copy link
Copy Markdown
Contributor

I assume #976 was a dupe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes T-core Core library changes T-documentation Documentation improvements T-handler Handler implementation changes T-service Service layer changes T-test Testing related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants