# memdsl

> memdsl is an open-source MCP server. Review-gated declarative long-term memory with bounded read-only MCP access. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/liyuan1992/memdsl
- **MCP Registry name:** io.github.Liyuan1992/memdsl
- **Listing updated:** 2026-11-18

## About

Review-gated declarative long-term memory with bounded read-only MCP access.

## Install

### Claude Code (Terminal)

```sh
claude mcp add memdsl -- npx -y https://github.com/Liyuan1992/memdsl/releases/download/v0.9.2/memdsl-0.9.2.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memdsl": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Liyuan1992/memdsl/releases/download/v0.9.2/memdsl-0.9.2.mcpb"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "memdsl": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Liyuan1992/memdsl/releases/download/v0.9.2/memdsl-0.9.2.mcpb"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "memdsl": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Liyuan1992/memdsl/releases/download/v0.9.2/memdsl-0.9.2.mcpb"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "memdsl": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Liyuan1992/memdsl/releases/download/v0.9.2/memdsl-0.9.2.mcpb"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "memdsl": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Liyuan1992/memdsl/releases/download/v0.9.2/memdsl-0.9.2.mcpb"
      ]
    }
  }
}
```

## FAQ

### Is memdsl free?

Yes. memdsl is open source, so you can use and self-host it for free.

### How do I add memdsl to Claude Code?

Run this command in your terminal: claude mcp add memdsl -- npx -y https://github.com/Liyuan1992/memdsl/releases/download/v0.9.2/memdsl-0.9.2.mcpb

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/memdsl
