Skip to main content

Module cache

Module cache 

Source
Expand description

MCP tool metadata disk cache.

Persists the tool list discovered from each server so that proxy search, list, and describe operations can work without a live connection (and without paying the cost of spawning every server at startup).

Important: the cache stores original (unprefixed) tool names only. The prefixed name is computed at runtime from the current ToolPrefix setting. This way, changing tool_prefix in mcp.json does not invalidate the cache.

§File format

{
  "version": 1,
  "servers": {
    "chrome-devtools": {
      "updated_at": "2026-06-13T10:30:00Z",
      "tools": [
        { "name": "take_screenshot", "description": "...", "input_schema": { ... } }
      ]
    }
  }
}

Structs§

MetadataCache
In-memory + on-disk metadata cache.