Mempalace
БесплатноНе проверенAn HTTP MCP gateway that wraps the mempalace Python CLI, enabling per-user memory palaces for storing and retrieving personal data.
Описание
An HTTP MCP gateway that wraps the mempalace Python CLI, enabling per-user memory palaces for storing and retrieving personal data.
README
An HTTP Model Context Protocol (MCP) gateway that wraps the mempalace Python CLI, providing per-user memory palaces over a stateful HTTP API.
What it does
- Exposes an MCP endpoint at
POST /mcp/:userId - On first request for a user, spins up a dedicated
mempalacesubprocess (a Python MCP server) and keeps it alive in memory - Proxies all MCP
tools/listandtools/callrequests to that user's subprocess, isolating each user's data under/data/<userId>/.mempalace - Strips extra parameters injected by MCP clients (e.g. n8n's
chatMessage) before forwarding tool calls
Endpoints
| Method | Path | Description |
|---|---|---|
POST |
/mcp/:userId |
MCP endpoint (initialize or resume session) |
GET |
/mcp/:userId |
MCP SSE stream for active session |
DELETE |
/mcp/:userId |
Close an MCP session |
GET |
/users/:userId/wake-up |
Pre-warm a user's palace and return its status |
POST |
/users/:userId/mine |
Mine a chat transcript into the palace, then clean up the temp file |
GET |
/health |
Server health + active palace/session counts |
Running
Docker Compose (recommended)
Create a docker-compose.yml:
version: "3.9"
services:
mempalace-mcp:
image: ghcr.io/thehaseebahmed/mempalace-mcp:latest
container_name: mempalace-mcp
user: "1000:1000"
ports:
- "3000:3000"
volumes:
- ./palace-data:/data
environment:
- BASE_DIR=/data
- TRANSFORMERS_CACHE=/data/.cache/transformers
- HF_HOME=/data/.cache/huggingface
restart: unless-stopped
Then run:
docker compose up -d
Data is persisted to a palace-data/ folder next to your docker-compose.yml (mapped to /data in the container).
Local dev
npm run dev
Configuration
| Env var | Default | Description |
|---|---|---|
MCP_PORT |
3000 |
Port to listen on |
BASE_DIR |
/data |
Root directory for all user palace data |
PYTHON_BIN |
/opt/mempalace-venv/bin/python |
Python binary with mempalace installed |
Requirements
- Node.js >= 20
- Python 3.11 +
mempalacepip package (handled automatically in Docker)
Установка Mempalace
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/thehaseebahmed/mempalace-mcpFAQ
Mempalace MCP бесплатный?
Да, Mempalace MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Mempalace?
Нет, Mempalace работает без API-ключей и переменных окружения.
Mempalace — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Mempalace в Claude Desktop, Claude Code или Cursor?
Открой Mempalace на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Mempalace with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
