Back to Home
SynTaek icon

code-trajectory

Verified Safe

by SynTaek

Overview

Provides Large Language Models (LLMs) with a persistent memory of a developer's coding history by tracking code evolution in a shadow git repository across AI chat sessions.

Installation

Run Command
uvx --from git+https://github.com/SynTaek/code-trajectory-mcp.git code-trajectory-mcp

Security Notes

The server primarily uses `gitpython` to interact with Git, which wraps native `git` commands. Inputs for file paths are sanitized with `os.path.abspath` and `os.path.relpath`, and checked against the project root. The use of a dedicated shadow repository (`.trajectory`) isolates its operations from the main project's git history, significantly reducing risk to the primary codebase. No direct `eval()` or `exec()` of user input found. The implementation appears to use `gitpython` responsibly, but any interaction with external commands carries an inherent, albeit low, risk.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2025-12-05

Tags

LLM ContextCode TrajectoryGit SnapshotsDevelopment ToolingPersistent Memory