Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Agent Memory MCPNew to Visual Studio Code? Get it now.
Agent Memory MCP

Agent Memory MCP

Kevin Seo

|
6 installs
| (0) | Free
Local long-term memory and work history for AI agents in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Agent Memory MCP

Local, persistent memory and work history for agents in VS Code. Agent Memory MCP provides an MCP server, a dashboard, and optional Copilot session hooks.

See the User Guide for installation, configuration, usage, privacy, and troubleshooting.

Requirements

  • VS Code 1.143 or later, on Windows x64 or Linux x64 (glibc).
  • A compatible Copilot session with MCP enabled. Organization policies and session sandbox permissions can affect MCP and hooks.
  • Open one local folder in the extension host. Remote hosts need the corresponding extension and runtime installed on that host; data is local to that host.

Getting started

  1. Install the VSIX for your platform, open a folder, and run Agent Memory MCP: Enable for Workspace. Review the data location and confirm.
  2. Start a new Copilot session. In the session's tools, enable the agentMemory MCP server. Run MCP: List Servers to inspect its status.
  3. Ask the agent to remember a preference, save a checkpoint, or find previous work. The agent should verify historical information against the current workspace.
  4. Use Agent Memory MCP: Show Dashboard or Show Status to inspect the data and configuration. Manage Memories can edit or delete individual memories; Disable for Workspace stops collection for the folder but keeps stored data.

The extension provides a complete stdio MCP server definition to the connected editor. Forwarding to Copilot depends on the session and editor; see VS Code's MCP integration guide. MCP tools are model-invoked: storage and recall are not guaranteed for every conversation. Custom agents with restricted tool lists must permit the server's tools. Hooks are specific to Copilot; other MCP clients require a compatible configuration and project identifier.

Data and privacy

The local SQLite database is ~/.agent-memory/memory/memory.sqlite (override the root with AGENT_MEMORY_HOME). Enabling a workspace installs agent-memory.json under $COPILOT_HOME/hooks or ~/.copilot/hooks. The extension copies its runtime to the data directory so hooks continue to work after an extension update. Disable each workspace before uninstalling to remove the managed hook when no projects remain. Delete the data directory separately if you want to remove stored data and runtimes; back it up first if needed.

Checkpoints, preferences, project paths, session observations and, by default, recent Git commit subjects can be stored locally. File path watching is off by default. Memories retrieved by a model become part of its context and are subject to the model provider's policies. Do not store secrets. Git collection, path watching, exclusions, retention and optional local semantic search are controlled by agentMemory settings. Semantic search uses a bundled multilingual model; exact and FTS5 search remain available when it is disabled or unavailable. The model is Xenova/paraphrase-multilingual-MiniLM-L12-v2, revision 2c4055b12046f11709e9df2c122e59ffbdc2f900 (Apache-2.0).

Development and packaging

Build on the target OS with Node.js 22.15.1, npm, and the prerequisites for native Node modules. Linux requires tar and glibc. Run npm ci, npm test, node scripts/prepare-runtime.js, and npx vsce package --target win32-x64 on Windows or npx vsce package --target linux-x64 on Linux. Runtime preparation downloads pinned Node and model files and verifies their SHA-256 hashes. Native dependencies must be installed on the same OS and architecture as the VSIX target. The VSIX contains platform-specific native code and is not universal.

The extension package is published by Kevin Seo (KevinSeo). Review third-party package and bundled runtime/model licenses for the release and test the VSIX on a clean target machine with a real Copilot tool call. See VS Code publishing documentation.

License

MIT. See the included LICENSE file. Third-party components have their own licenses.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft