Back to Home
yoavf icon

ai-sessions-mcp

Verified Safe

by yoavf

Overview

Allows AI agents to search, list, and read your previous local coding sessions from multiple CLI coding agents.

Installation

Run Command
~/.aisessions/bin/aisessions

Environment 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

Stats

Interest Score42
Security Score9
Cost ClassMedium
Avg Tokens4000
Stars15
Forks0
Last Update2025-12-13

Tags

AISessionsDeveloper ToolsSearchLocal Storage