Skip to main content
Glama

Code Reference Optimizer MCP Server

by FosterG4

get_cached_context

Retrieve cached code context for a specified file path to optimize AI assistant token usage. Supports TypeScript, JavaScript, Python, Go, and Rust with minimal, relevant context extraction.

Instructions

Retrieve cached code context for a file

Input Schema

NameRequiredDescriptionDefault
cacheKeyNoOptional cache key for specific context
filePathYesPath to the source file

Input Schema (JSON Schema)

{ "properties": { "cacheKey": { "description": "Optional cache key for specific context", "type": "string" }, "filePath": { "description": "Path to the source file", "type": "string" } }, "required": [ "filePath" ], "type": "object" }

Other Tools from Code Reference Optimizer MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FosterG4/mcpsaver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server