#363 introduced a in-process schema validation cache. The problem with this approach is that when the MCP server boots - the cache is stale and needs to be warmed, which might not always be trivial to do.
Could we extract the default cache implementation and allow users to configure a different cache store, say for an inter-process long lived cache?
MCP.configuration do |config|
config.schema_validation_cache = FileBasedSchemaCache.new
end
Happy to put up a PR just want to align on the approach first
#363 introduced a in-process schema validation cache. The problem with this approach is that when the MCP server boots - the cache is stale and needs to be warmed, which might not always be trivial to do.
Could we extract the default cache implementation and allow users to configure a different cache store, say for an inter-process long lived cache?
Happy to put up a PR just want to align on the approach first