Copilotcli History
БесплатноНе проверенEnables searching and analyzing GitHub Copilot's conversation history stored locally, providing tools for full-text search, session listing, statistics, and fil
Описание
Enables searching and analyzing GitHub Copilot's conversation history stored locally, providing tools for full-text search, session listing, statistics, and file-based retrieval.
README
An MCP server that provides tools for searching through GitHub Copilot's conversation history stored in ~/.copilot/session-state/.
Features
- Search Sessions: Full-text search across all Copilot conversations
- List Recent Sessions: View recent sessions with titles extracted from first user message
- Session Statistics: Get aggregate stats about your Copilot usage
- View Conversations: Read the full conversation from any session
- Search by File: Find sessions that referenced specific files
- Search Tool Usage: Find examples of how tools were used
Installation
Using uvx (recommended)
When using uv no specific installation is needed:
uvx mcp-copilotcli-history
Using pip
pip install mcp-copilotcli-history
After installation, run as a module:
python -m mcp_copilotcli_history
Configuration
Configure for Claude Desktop
Add to your claude_desktop_config.json:
Using uvx
{
"mcpServers": {
"copilot-history": {
"command": "uvx",
"args": ["mcp-copilotcli-history"]
}
}
}
Using pip installation
{
"mcpServers": {
"copilot-history": {
"command": "python",
"args": ["-m", "mcp_copilotcli_history"]
}
}
}
Configure for VS Code
Add the configuration to your user-level MCP configuration file. Open the Command Palette (Ctrl + Shift + P) and run MCP: Open User Configuration.
Using uvx
{
"servers": {
"copilot-history": {
"command": "uvx",
"args": ["mcp-copilotcli-history"]
}
}
}
Using pip installation
{
"servers": {
"copilot-history": {
"command": "python",
"args": ["-m", "mcp_copilotcli_history"]
}
}
}
Configure for Zed
Add to your Zed settings.json:
"context_servers": {
"copilot-history": {
"command": "uvx",
"args": ["mcp-copilotcli-history"]
}
}
Available Tools
search_sessions
Search through all Copilot session history for a pattern.
Arguments:
query(required): Search term or regex patternevent_type(optional): Filter by event type (user.message, assistant.message, etc.)max_results(optional): Maximum results to return (default: 20)case_sensitive(optional): Case-sensitive matching (default: false)
list_recent_sessions
List the most recent Copilot sessions with their titles.
Arguments:
limit(optional): Maximum sessions to return (default: 10)
get_session_stats
Get statistics about all Copilot session history.
get_session_conversation
Get the conversation from a specific session.
Arguments:
session_id(required): Session ID (full or partial)include_tool_calls(optional): Include tool call details (default: false)max_messages(optional): Maximum messages to return (default: 50)
search_by_file_path
Find sessions that referenced a specific file or path pattern.
Arguments:
file_pattern(required): File path or pattern to search formax_results(optional): Maximum results (default: 20)
search_tool_usage
Find sessions where specific tools were used.
Arguments:
tool_name(optional): Tool name to filter bymax_results(optional): Maximum results (default: 20)
Example Use Cases
Once configured, you can ask your AI assistant questions like:
- "Search my Copilot history for discussions about terraform"
- "What sessions did I have this week?"
- "Find conversations where I worked on main.py"
- "How did I use the create_file tool before?"
- "Show me the conversation from session abc123"
Debugging
Use the MCP inspector to debug:
npx @modelcontextprotocol/inspector uvx mcp-copilotcli-history
License
MIT
Установка Copilotcli History
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/MicroMichaelIE/mcp-copilotcli-historyFAQ
Copilotcli History MCP бесплатный?
Да, Copilotcli History MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Copilotcli History?
Нет, Copilotcli History работает без API-ключей и переменных окружения.
Copilotcli History — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Copilotcli History в Claude Desktop, Claude Code или Cursor?
Открой Copilotcli History на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Copilotcli History with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
