Skip to main content
Glama
MicroMichaelIE

mcp-copilotcli-history

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_sessionsA

Search through all Copilot session history for a pattern.

This tool searches across all stored Copilot conversations to find messages, tool calls, and other events matching your query. Use this to find past discussions, code snippets, or decisions.

Args: query: The search term or regex pattern to find event_type: Optional filter for event type (user.message, assistant.message, tool.result) max_results: Maximum number of results to return (default: 20) case_sensitive: Whether to perform case-sensitive matching (default: False)

Returns: List of matching entries with session context and content snippets

list_recent_sessionsA

List the most recent Copilot sessions with their titles.

Use this to get an overview of recent conversations and find sessions to explore further.

Args: limit: Maximum number of sessions to return (default: 10)

Returns: List of recent sessions with metadata (id, title, date, model, size)

get_session_statsB

Get statistics about all Copilot session history.

Returns aggregate information about stored sessions including total count, size, date range, event types, and models used.

Returns: Dictionary with session statistics

get_session_conversationA

Get the conversation from a specific session.

Retrieves the user and assistant messages from a session in chronological order, allowing you to review a past conversation.

Args: session_id: The session ID (full or partial) to retrieve include_tool_calls: Whether to include tool call details (default: False) max_messages: Maximum number of messages to return (default: 50)

Returns: List of messages from the session in chronological order

search_by_file_pathA

Find sessions that referenced a specific file or path pattern.

Searches through session history for mentions of file paths, useful for finding past work on specific files or directories.

Args: file_pattern: File path or pattern to search for (e.g., "main.py", "src/") max_results: Maximum number of results to return (default: 20)

Returns: List of sessions and entries that referenced the file pattern

search_tool_usageA

Find sessions where specific tools were used.

Search for tool invocations in past sessions, optionally filtered by tool name. Useful for finding examples of how tools were used.

Args: tool_name: Optional tool name to filter by (e.g., "create_file", "run_in_terminal") max_results: Maximum number of results to return (default: 20)

Returns: List of tool usage instances with context

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MicroMichaelIE/mcp-copilotcli-history'

If you have feedback or need assistance with the MCP directory API, please join our Discord server