Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

smart-memory-mcp-v2

MCP.Pizza Chef: shipdocs

Smart Memory MCP v2 is a Model Context Protocol server designed to manage memory efficiently within VS Code environments. It features context-aware memory optimization, memory bank storage and retrieval, and automatic backups with crash recovery. It integrates tightly with VS Code, monitoring the parent process to ensure seamless shutdown and stability. Built with Rust and Node.js, it supports robust development workflows and continuous integration via GitHub Actions.

Use This MCP server To

Manage and optimize memory context for VS Code extensions Store and retrieve memory banks for AI workflows Automatically back up memory data and recover from crashes Monitor VS Code process to auto-shutdown server Integrate smart memory management into developer tools Enable context-aware memory optimization in AI agents

README

Smart Memory MCP

A Model Context Protocol (MCP) server for Smart Memory integration with VS Code.

Features

  • Parent process monitoring to automatically shut down when VS Code closes
  • Memory bank storage and retrieval
  • Context-aware memory optimization
  • VS Code extension integration
  • Automatic backups and crash recovery

Getting Started

Prerequisites

  • Rust (latest stable version)
  • Node.js (v18 or later)
  • VS Code

Installation

  1. Clone the repository
  2. Build the core server
  3. Install the VS Code extension

See the installation guide for detailed instructions.

GitHub Actions

This project uses GitHub Actions for continuous integration, security scanning, and automated dependency updates:

Available Workflows

  1. CI Pipeline (ci.yml):

    • Builds and tests the project on multiple platforms
    • Creates releases when you tag a version
    • Publishes to VS Code Marketplace on release
    • Triggers: Push to main, Pull Requests, Tags
  2. Security Scanning (security.yml):

    • Runs CodeQL analysis for JavaScript, TypeScript, and Rust
    • Performs dependency vulnerability scanning
    • Triggers: Push to main, Pull Requests, Weekly on Sunday
  3. Dependency Updates (dependencies.yml):

    • Automatically updates project dependencies
    • Creates pull requests with updates
    • Triggers: Weekly on Monday, Manual trigger

Enabling Workflows

  1. Enable GitHub Actions:

    • Go to your repository on GitHub
    • Navigate to "Settings" > "Actions" > "General"
    • Ensure "Allow all actions and reusable workflows" is selected
    • Click "Save"
  2. Set up required secrets:

    • Go to "Settings" > "Secrets and variables" > "Actions"
    • Add the following secrets:
      • VSCE_PAT: A Personal Access Token for publishing to VS Code Marketplace

Creating a Release

To create a new release:

# Tag a new version
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0

The CI workflow will automatically:

  • Create a GitHub release
  • Build and attach binaries
  • Publish to VS Code Marketplace

Development

See the development guide for information on:

  • Project structure
  • Development workflow
  • Testing
  • Contributing

Building the Extension

See the building VSIX guide for detailed instructions on:

  • Building the extension locally
  • Cross-platform building
  • Installing the built extension

Deployment

See the deployment guide for information on:

  • Release process
  • VS Code Marketplace publishing
  • GitHub release creation

License

This project is licensed under the MIT License - see the LICENSE file for details.

smart-memory-mcp-v2 FAQ

How do I install Smart Memory MCP v2?
Clone the repository, build the core server with Rust, then install the VS Code extension as per the installation guide.
What prerequisites are needed to run Smart Memory MCP v2?
You need the latest stable Rust, Node.js v18 or later, and VS Code installed.
How does Smart Memory MCP v2 handle process shutdown?
It monitors the VS Code parent process and automatically shuts down when VS Code closes to prevent orphan processes.
Does Smart Memory MCP v2 support crash recovery?
Yes, it includes automatic backups and crash recovery to protect memory data.
Can Smart Memory MCP v2 be integrated with other MCP clients?
Yes, it follows the MCP standard and can interoperate with various MCP clients and LLM providers like OpenAI, Claude, and Gemini.
What platforms does the CI pipeline support?
The GitHub Actions CI pipeline builds and tests the project on multiple platforms to ensure cross-platform compatibility.
Is Smart Memory MCP v2 suitable for production use?
With continuous integration, security scanning, and automated dependency updates, it is designed for reliable production deployment.