Skip to main content
Glama

Local History MCP Server

by xxczaki

get_history_entry

Retrieve a specific version of a file from its history by providing the file path and entry index. Use this tool to access previous snapshots for recovery or enhanced context awareness.

Instructions

Get a specific history entry for a file

Input Schema

NameRequiredDescriptionDefault
entryIndexYesThe index of the history entry (0 = most recent)
filePathYesThe path to the file. Please provide an absolute path (e.g., "/Users/user/project/biome.json") for reliable matching.

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "entryIndex": { "description": "The index of the history entry (0 = most recent)", "type": "number" }, "filePath": { "description": "The path to the file. Please provide an absolute path (e.g., \"/Users/user/project/biome.json\") for reliable matching.", "type": "string" } }, "required": [ "filePath", "entryIndex" ], "type": "object" }
Install Server

Other Tools from Local History 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/xxczaki/local-history-mcp'

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