Copilot Memory MCP logo

Copilot Memory MCP

Stores project-scoped memories locally and retrieves them through semantic search for GitHub Copilot in VS Code.

Install Copilot Memory MCP

Run the project’s own setup commands, in order.

Setup steps from the project

Copilot Memory MCP installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    docker compose up -d
    
  2. 2. Install
    pip install -e .
    
  3. 3. Start the server
    PYTHONPATH=. python app/main.py
    

Overview

Copilot Memory MCP MCP server gives GitHub Copilot in VS Code persistent, project-scoped memory through a local MCP service. It stores memories in an embedded ChromaDB database and uses all-MiniLM-L6-v2 embeddings for semantic retrieval. Run it in Docker, connect over HTTP/SSE on port 8000, and use its CRUD and search tools across sessions. Reach for it when coding decisions, conventions, or project context need to persist without a cloud service.

Use cases

  • Save project decisions for later coding sessions
  • Search prior conventions with semantic queries
  • Scope memories to individual projects
  • Update or remove outdated engineering context

Key features

  • Local ChromaDB persistence
  • Semantic vector search
  • Project and tag filtering
  • Memory CRUD operations
  • Paginated memory listing
  • Docker-based HTTP/SSE service

Tools5

What Copilot Memory MCP lets your agent do. Expand a tool for its parameters.

Self-reported~83 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/22 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit8mo agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Copilot Memory MCP works

What Copilot Memory MCP MCP server does

Copilot Memory MCP MCP server provides a local, persistent knowledge base for GitHub Copilot in VS Code. It is designed for information that should remain available after a session ends, such as project decisions, coding conventions, and accumulated context. Memories can optionally be associated with a project and labeled with tags.

The service exposes five MCP tools. create_memory saves a title, content, optional project scope, and optional tags. search_memories performs semantic vector search and can narrow results by project or tags. update_memory changes an existing record and regenerates its embedding, while delete_memory permanently removes a memory. list_memories provides paginated browsing without returning full content.

How it works

The server runs as a FastMCP application inside a Docker container. MCP clients communicate with it through HTTP/SSE, with the default endpoint at http://localhost:8000/sse. An embedded ChromaDB collection stores the memories, and a Docker named volume preserves the database under /data/chroma.

When content is created or changed, the server uses the all-MiniLM-L6-v2 sentence-transformers model to generate 384-dimensional embeddings. Searches compare those embeddings to find semantically related memories rather than relying only on exact keyword matches. This makes the server suitable for recalling related project knowledge when the wording of a query differs from the original memory.

Copilot Memory MCP MCP server is local by design: the documented setup does not require cloud services. The repository also supports running outside Docker with the project installed and PYTHONPATH set to the repository root.

Setup and configuration

The quickest setup is:

Terminal
docker compose up -d

The repository includes a .vscode/mcp.json configured for the service, and a sample configuration is available under examples/vscode/mcp.json. The example files also include project instructions and agent configurations for GitHub Copilot in VS Code, Cursor, OpenAI Codex, and Claude Code.

Configuration values have defaults and can be supplied through the environment. SENTENCE_TRANSFORMERS_HOME controls the model cache location and defaults to /app/models. CHROMA_PATH selects the ChromaDB persistence directory and defaults to /data/chroma. PORT controls the HTTP port and defaults to 8000. The project provides an .env.example file for adjusting these settings.

For local development, install the package with pip install -e . and start it with PYTHONPATH=. python app/main.py. Development dependencies and tests can be installed with pip install -e ".[dev]"; the tests use an ephemeral ChromaDB instance and mocked embeddings.

Tools and capabilities

Copilot Memory MCP MCP server exposes these MCP operations:

  • create_memory: Save titled content with optional project and tag metadata.
  • search_memories: Retrieve semantically similar memories, optionally filtered by project or tags.
  • update_memory: Modify a memory by ID and re-embed the changed content.
  • delete_memory: Permanently remove a memory by ID.
  • list_memories: Browse memory records with pagination while avoiding full content retrieval.

The combination of project scoping, tags, semantic search, and persistent local storage supports both broad recall and narrower project-specific lookups.

Limitations and notes

The documented deployment is local and stores data in ChromaDB rather than a hosted database. Persistence depends on retaining the Docker volume or configured ChromaDB path. The default service uses port 8000, so deployments using another port need matching client configuration.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Copilot Memory MCP

Copilot Memory MCP is an MCP server that connects GitHub Copilot in VS Code to a local ChromaDB memory store. Its main tools create, search, update, delete, and list memories, using all-MiniLM-L6-v2 embeddings for semantic retrieval. It runs locally in Docker and does not require cloud services.

Run `docker compose up -d` from the repository to start the server. It listens at `http://localhost:8000/sse`, and the included `.vscode/mcp.json` already points Copilot at that endpoint. You can also install the package with pip and run it directly for local development.

Yes, the repository provides Cursor instruction examples for the server. These include a legacy project-root `.cursorrules` file and a modern `.cursor/rules/memory-tools.mdc` file that can be copied into a project.

Memories are stored in an embedded ChromaDB database, persisted by default at `/data/chroma` through a Docker named volume. You can change the persistence location with the `CHROMA_PATH` environment variable.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCopilot Memory MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/copilot-memory-mcp?style=directory)](https://allmcps.com/mcp/copilot-memory-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/copilot-memory-mcp"><img src="https://allmcps.com/api/badge/copilot-memory-mcp?style=directory" alt="Copilot Memory MCP on AllMCPs" /></a>