# Copilot Memory MCP [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/LabForgeDev/copilot-memory-mcp  
**GitHub Stars:** 4  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/copilot-memory-mcp

## Description
Persistent semantic memory for AI agents using local ChromaDB vector search. No cloud required.

## Tools
Capabilities this server exposes over MCP:

- **create_memory** — Store a new memory with title, content, optional project scope and tags
- **search_memories** — Semantic vector search; filter by project and/or tags
- **update_memory** — Update an existing memory by ID; re-embeds on change
- **delete_memory** — Permanently delete a memory by ID
- **list_memories** — Browse memories with pagination (lightweight, no content)

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/LabForgeDev/copilot-memory-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Start the server:

```sh
docker compose up -d
```

2. Install:

```sh
pip install -e .
```

3. Start the server:

```sh
PYTHONPATH=. python app/main.py
```

## Documentation

## 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:

```bash
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.

_Full upstream README: https://allmcps.com/mcp/copilot-memory-mcp/readme_

