drio
Open app

Optimized Memory MCP Server v2

Source

This is a personal project to test Claude AI's ability to self-write an MCP Server code for its own use.

Catalog onlyCatalog onlySTDIO

Overview

Optimized Memory MCP Server v2 is a high-performance Python-based Model Context Protocol (MCP) server designed for Claude Desktop integration, focusing on efficient memory management and robust infrastructure component tracking.

To use the server, clone the repository, set up the Python environment, install dependencies, configure the database, and start the server. Connect Claude Desktop to the server by setting the MCP server URL to http://localhost:8000.

  • Efficient memory management for large-scale infrastructure tracking - Comprehensive resource and tool implementations following MCP patterns - Full compatibility with Claude Desktop - SQLite-based persistent storage with connection pooling - Robust error handling and resource cleanup
  1. Managing and tracking infrastructure components in real-time.
  2. Integrating with Claude Desktop for enhanced AI capabilities.
  3. Utilizing MCP resources for efficient entity management and observation tracking.

Add to your AI client

Use these steps to connect Optimized Memory MCP Server v2 in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "optimized-memory-mcp-serverv2-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-optimized-memory-mcp-serverv2-agentwong"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "optimized-memory-mcp-serverv2-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-optimized-memory-mcp-serverv2-agentwong"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "optimized-memory-mcp-serverv2-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-optimized-memory-mcp-serverv2-agentwong"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "optimized-memory-mcp-serverv2-agentwong": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-optimized-memory-mcp-serverv2-agentwong"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "optimized-memory-mcp-serverv2-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-optimized-memory-mcp-serverv2-agentwong"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "optimized-memory-mcp-serverv2-agentwong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-optimized-memory-mcp-serverv2-agentwong"
      ]
    }
  }
}

FAQ

Is this project still active?

No, the project has been archived due to faulty specifications and AI direction issues.

What are the system requirements?

Requires Python 3.13.1 or higher and SQLite 3.x.

How can I contribute to the project?

You can fork the repository, create a feature branch, and submit a pull request after making your changes.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1132,"uuid":"25a24308-c2f6-42db-9b0b-b314e14b6e4c","name":"optimized-memory-mcp-serverv2","title":"Optimized Memory MCP Server v2","description":"This is a personal project to test Claude AI's ability to self-write an MCP Server code for its own use.","avatar_url":"https://avatars.githubusercontent.com/u/43461848?v=4","created_at":"2025-01-28T02:33:49.266Z","updated_at":"2025-02-23T07:12:49.831Z","status":"created","author_name":"AgentWong","author_avatar_url":"https://avatars.githubusercontent.com/u/43461848?v=4","tags":"mcp,server,claude-ai","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/AgentWong/optimized-memory-mcp-serverv2","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]