ai-sessions-mcp
Verified Safeby yoavf
Overview
Allows AI agents to search, list, and read your previous local coding sessions from multiple CLI coding agents.
Installation
~/.aisessions/bin/aisessionsEnvironment Variables
- INSTALL_DIR (for custom installation path, during installation only)
Security Notes
The server runs locally and primarily reads user-generated session files from well-defined paths within the user's home directory (`~/.claude`, `~/.codex`, etc.). This is its core functionality and expected behavior. The installation script uses `curl | bash`, which always carries inherent risk, though it mitigates this by performing checksum verification of downloaded binaries from GitHub Releases. The `openBrowser` function, which executes external commands, is restricted by `validateAPIURL` to only open trusted domains (`https://aisessions.dev`, `http://localhost:*`, `http://127.0.0.1:*`), preventing arbitrary command execution via malicious URLs. User authentication tokens are stored in `~/.aisessions/config.json` with secure `0600` file permissions. No hardcoded secrets were found. No `eval` or similar direct code execution vulnerabilities are apparent in the Go source code. The CLI upload feature includes a 'Data Responsibility Notice' and requires user confirmation before uploading sensitive data.
Similar Servers
CodeGraphContext
An MCP server that indexes local code into a Neo4j graph database to provide real-time, accurate context and relationship analysis to AI assistants for understanding, writing, and refactoring code.
context-sync
Provides AI systems with persistent memory and context management across various development tools, sessions, and projects.
local-history-mcp
Access Cursor/VS Code Local History for AI-powered data recovery and enhanced context awareness, enabling AI assistants to retrieve past file states.
savecontext
Provides persistent context management, session tracking, and checkpoints for AI coding assistants across various tools and projects.