Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM python:3.12-slim

# set environment variables
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

# set work directory
WORKDIR /app

# install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*

# install python dependencies
COPY pyproject.toml .
COPY uv.lock .
COPY README.md .
COPY memory_mcp ./memory_mcp
COPY tests ./tests

RUN pip install --upgrade pip \
&& pip install .

# expose port if necessary (optional)
# EXPOSE 8000

# command to run the server
ENTRYPOINT ["memory-mcp"]
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Memory MCP
[![smithery badge](https://smithery.ai/badge/@drdee/memory-mcp)](https://smithery.ai/server/@drdee/memory-mcp)

A Model Context Protocol server for storing and retrieving memories using low-level Server implementation and SQLite storage.

## Installation

### Installing via Smithery

To install Memory MCP for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@drdee/memory-mcp):

```bash
npx -y @smithery/cli install @drdee/memory-mcp --client claude
```

This project uses [uv](https://github.com/astral-sh/uv) for dependency management instead of pip. uv is a fast, reliable Python package installer and resolver.

Install using uv:
Expand Down Expand Up @@ -173,4 +182,4 @@ ruff check memory_mcp tests

```bash
mypy memory_mcp
```
```
12 changes: 12 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml

startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
{}
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'memory-mcp', args: [] })
exampleConfig: {}