Add Xquik API example and fix cache refresh duplication#1
Open
kriptoburak wants to merge 1 commit into
Open
Conversation
kriptoburak
force-pushed
the
codex/add-xquik-api-source-example
branch
from
July 19, 2026 23:32
1bce9c5 to
2242c49
Compare
kriptoburak
force-pushed
the
codex/add-xquik-api-source-example
branch
from
July 19, 2026 23:33
2242c49 to
504f0d6
Compare
kriptoburak
force-pushed
the
codex/add-xquik-api-source-example
branch
from
July 19, 2026 23:33
504f0d6 to
67224b2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
API_SOURCESexample for Xquik's public OpenAPI 3.1 documentWhy this helps
CacheManager.refresh()previously appended another entry for every configured source on each refresh. Long-running MCP sessions could therefore return duplicate documentation and keep growing the in-memory cache. The cache now retains one current entry per source name.The Xquik example points to the public
https://xquik.com/openapi.jsondocument, which currently exposes OpenAPI 3.1.0 with 99 paths.Validation
pnpm install --frozen-lockfilepnpm run buildpnpm test(13 tests passed)