
yoavf/ai-sessions-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Claude Code、Gemini CLI、opencode、OpenAI CodexのAIコーディングセッションを検索し、アクセスするためのMCPサーバー。 aisesions.devのアップローダー
概要
Claude Code、OpenAI Codex、Gemini CLI、opencode、Mistral Vibe、GitHub Copilot CLI のセッションを MCP 互換クライアントに提供する MCP サーバーです。 複数のCLIコーディングエージェントから、AIエージェントが以前のローカルコーディングセッションを検索、リスト、および読み取りできるようにします。 お問い合わせ - 同様の問題に過去のソリューションを見つける - 最近働いたものを確認する - 前の会話から学ぶ - 中断された作業を再開 Codex CLI で Claude Code セッションを再開します。 これは ~/.aisessions/bin にバイナリをインストールします。 指示に従ってPATHに追加します。 GitHubリリースからビルド済みのバイナリをダウンロードします。 インストール後、MCP クライアントがバイナリを使用するように設定します。 クラウドmcpとの接続を検証して、アイセッションを取得します.
概要(AI 翻訳)
Claude Code、OpenAI Codex、Gemini CLI、opencode、Mistral Vibe、GitHub Copilot CLI のセッションを MCP 互換クライアントに提供する MCP サーバーです。
※Claude Code を使って書いています。*
それが何をしているか
複数のCLIコーディングエージェントから、AIエージェントが以前のローカルコーディングセッションを検索、リスト、および読み取りできるようにします。 お問い合わせ
- 同様の問題に対する過去のソリューションを見つける
- 最近働いたことの見直し
- 前の会話から学ぶ
- 中断された仕事の再開
デモ
Codex CLI で Claude Code セッションを再開します。
インストール
クイックインストール
macOS (Intel と Apple Silicon), Linux (amd64 と arm64, WSL を含む), Windows amd64 (Git Bash):
バイナリを[~/.aisessions/binにインストールします。 指示に従ってPATHに追加します。
カスタムインストールディレクトリ:
##マニュアルのダウンロード
GitHubリリースからビルド済みのバイナリをダウンロードします。
ソースからビルドする
前提条件:1.25.13以降に行く
セットアップ
インストール後、MCP クライアントがバイナリを使用するように設定します。
#####Claudeコード CLI
またはカスタムインストール場所を使用する場合:
claude mcp get ai-sessions との接続を確認します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
AI Sessions MCP Server
An MCP server that makes sessions from Claude Code, OpenAI Codex, Gemini CLI, opencode, Mistral Vibe, and GitHub Copilot CLI available to any MCP-compatible client.
Mostly written using Claude Code.
What It Does
Allows AI agents to search, list, and read your previous local coding sessions from multiple CLI coding agents. Useful for:
- Finding past solutions to similar problems
- Reviewing what you worked on recently
- Learning from previous conversations
- Resuming interrupted work
Demo
Resuming a Claude Code session in Codex CLI.
Installation
Quick Install
macOS (Intel and Apple Silicon), Linux (amd64 and arm64, including WSL), and Windows amd64 (Git Bash):
curl -fsSL https://aisessions.dev/install.sh | bash
This installs the binary to ~/.aisessions/bin. Follow the instructions to add it to your PATH.
Custom installation directory:
curl -fsSL https://aisessions.dev/install.sh | INSTALL_DIR=/custom/path bash
Manual Download
Download pre-built binaries from GitHub Releases.
Build from Source
Prerequisites: Go 1.25.13 or later
go build -o bin/aisessions ./cmd/ai-sessions
Setup
After installation, configure your MCP client to use the binary:
Claude Code CLI
claude mcp add --scope user --transport stdio ai-sessions -- ~/.aisessions/bin/aisessions
Or if using a custom install location:
claude mcp add --scope user --transport stdio ai-sessions -- /path/to/aisessions
Verify the connection with claude mcp get ai-sessions.
Codex CLI and ChatGPT desktop app
Add the server from the CLI:
codex mcp add ai-sessions -- ~/.aisessions/bin/aisessions
Codex CLI and the ChatGPT desktop app share ~/.codex/config.toml, so the server is available in both after you restart the desktop app. In ChatGPT, open Settings → MCP servers to check its status, or type /mcp in the composer.
For manual configuration, use an absolute path (the command is launched directly, without shell expansion):
[mcp_servers.ai_sessions]
command = "/Users/YOUR_USERNAME/.aisessions/bin/aisessions"
Replace YOUR_USERNAME with your actual username, or use your custom install path.
Claude Desktop
Add to the config file opened from Settings → Developer → Edit Config:
{
"mcpServers": {
"ai-sessions": {
"command": "/Users/YOUR_USERNAME/.aisessions/bin/aisessions"
}
}
}
Replace YOUR_USERNAME with your actual username, or use your custom install path.
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"ai-sessions": {
"command": "/Users/YOUR_USERNAME/.aisessions/bin/aisessions"
}
}
}