We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/swen128/cloud-logging-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
cache.ts•474 B
import type { RawLogEntry } from "./api";
import type { LogId } from "./log-id";
/**
* Interface for log cache
*/
export interface LogCache {
/**
* Adds an entry to the cache
* @param id The log ID
* @param entry The log entry
*/
add(id: LogId, entry: RawLogEntry): void;
/**
* Gets an entry from the cache
* @param id The log ID
* @returns The log entry or undefined if not found or expired
*/
get(id: LogId): RawLogEntry | undefined;
}