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
Lynkr
Lynkr is an AI orchestration layer that acts as an LLM gateway, routing language model requests to various providers (Ollama, Databricks, OpenAI, etc.). It provides an OpenAI-compatible API and enables AI-driven coding tasks via a rich set of tools and a multi-agent framework, with a strong focus on security, performance, and token efficiency. It allows AI agents to interact with a defined workspace (reading/writing files, executing shell commands, performing Git operations) and leverages long-term memory and agent learning to enhance task execution.
blz
Provides fast, local documentation search and retrieval for AI agents, using llms.txt files for line-accurate citations.
mcp-server
Provides AI tools with persistent context, semantic code search, and team knowledge sharing across sessions.
savecontext
Provides persistent memory, issue tracking, and project planning for AI coding assistants via the Model Context Protocol (MCP).