Overview
Features
- `save_memory`: Store any information in long-term memory with semantic indexing
- `get_all_memories`: Retrieve all stored memories for comprehensive context
- `search_memories`: Find relevant memories using semantic search
Prerequisites
- Python 3.12+
- Supabase or any PostgreSQL database (for vector storage of memories)
- API keys for your chosen LLM provider (OpenAI, OpenRouter, or Ollama)
- Docker if running the MCP server as a container (recommended)
Installation
Using uv
- Install uv if you don't have it:
- Clone this repository:
- Install dependencies:
- Create a
.env
file based on.env.example
:
- Configure your environment variables in the
.env
file (see Configuration section)
Using Docker (Recommended)
- Build the Docker image:
- Create a
.env
file based on.env.example
and configure your environment variables
Configuration
.env
file:[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
Running the Server
Using uv
SSE Transport
Stdio Transport
Using Docker
SSE Transport
Stdio Transport
Integration with MCP Clients
SSE Configuration
Note for Windsurf users: UseserverUrl
instead ofurl
in your configuration:
Note for n8n users: Use host.docker.internal instead of localhost since n8n has to reach outside of it's own container to the host machine:So the full URL in the MCP node would be: http://host.docker.internal:8050/sse
Python with Stdio Configuration
Docker with Stdio Configuration
Building Your Own Server
- Add your own tools by creating methods with the
@mcp.tool()
decorator
- Create your own lifespan function to add your own dependencies (clients, database connections, etc.)
- Modify the
utils.py
file for any helper functions you need for your MCP server
- Feel free to add prompts and resources as well with
@mcp.resource()
and@mcp.prompt()
Overview
Features
- `save_memory`: Store any information in long-term memory with semantic indexing
- `get_all_memories`: Retrieve all stored memories for comprehensive context
- `search_memories`: Find relevant memories using semantic search
Prerequisites
- Python 3.12+
- Supabase or any PostgreSQL database (for vector storage of memories)
- API keys for your chosen LLM provider (OpenAI, OpenRouter, or Ollama)
- Docker if running the MCP server as a container (recommended)
Installation
Using uv
- Install uv if you don't have it:
- Clone this repository:
- Install dependencies:
- Create a
.env
file based on.env.example
:
- Configure your environment variables in the
.env
file (see Configuration section)
Using Docker (Recommended)
- Build the Docker image:
- Create a
.env
file based on.env.example
and configure your environment variables
Configuration
.env
file:[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
[object Object] | [object Object] | [object Object] |
Running the Server
Using uv
SSE Transport
Stdio Transport
Using Docker
SSE Transport
Stdio Transport
Integration with MCP Clients
SSE Configuration
Note for Windsurf users: UseserverUrl
instead ofurl
in your configuration:
Note for n8n users: Use host.docker.internal instead of localhost since n8n has to reach outside of it's own container to the host machine:So the full URL in the MCP node would be: http://host.docker.internal:8050/sse
Python with Stdio Configuration
Docker with Stdio Configuration
Building Your Own Server
- Add your own tools by creating methods with the
@mcp.tool()
decorator
- Create your own lifespan function to add your own dependencies (clients, database connections, etc.)
- Modify the
utils.py
file for any helper functions you need for your MCP server
- Feel free to add prompts and resources as well with
@mcp.resource()
and@mcp.prompt()