Memos Server
FreeNot checkedEnables AI assistants to create, read, update, delete, and list memos via the MCP protocol.
About
Enables AI assistants to create, read, update, delete, and list memos via the MCP protocol.
README
A FastMCP-based MCP (Model Context Protocol) server implementation for Memos, allowing AI assistants to interact with the Memos note-taking system through the MCP protocol.
Features
- 📝 Create Memos - Create new memos with Markdown support
- 📖 Read Memos - Get detailed information about specific memos
- ✏️ Update Memos - Modify existing memo content and properties
- 🗑️ Delete Memos - Remove specified memos
- 📋 Get Recent Memos - Retrieve a list of recent memos
- 🔐 Authentication - Optional static token verification support
- 🐳 Docker Support - Docker and Docker Compose configurations provided
Environment Variables
Before starting the service, you need to set the following environment variables:
Required Environment Variables
| Variable Name | Description | Example |
|---|---|---|
MEMOS_SERVER_URL |
URL of the Memos server | https://memos.example.com |
MEMOS_API_KEY |
Memos API key | your-api-key-here |
Optional Environment Variables
| Variable Name | Description | Default | Example |
|---|---|---|---|
MEMOS_MCP_AUTH_TOKEN |
MCP server authentication token | None | abcdefghijklmnopqrstuvwxyz |
Quick Start
Local Development
Clone the repository
git clone <repository-url> cd memos-mcpInstall dependencies
uv syncSet environment variables
export MEMOS_SERVER_URL="https://your-memos-server.com" export MEMOS_API_KEY="your-api-key" # Optional: Set authentication token export MEMOS_MCP_AUTH_TOKEN="your-auth-token"Start the service
uv run main.py
The service will start at http://localhost:8000 with the MCP endpoint at http://localhost:8000/mcp.
Using Docker
Using Docker Compose (Recommended)
# Set environment variables export MEMOS_SERVER_URL="https://your-memos-server.com" export MEMOS_API_KEY="your-api-key" # Start the service docker-compose up -dUsing Docker directly
docker build -t memos-mcp . docker run -p 8000:8000 \ -e MEMOS_SERVER_URL="https://your-memos-server.com" \ -e MEMOS_API_KEY="your-api-key" \ memos-mcp
Connection
- Protocol: HTTP
- Endpoint:
http://localhost:8000/mcp - Port: 8000
Available Tools and Resources
Tools
create_memo
Create a new memo
- Parameters:
content(string): Memo content with Markdown supportvisibility(string, optional): Visibility setting, defaults toVISIBILITY_UNSPECIFIEDPRIVATE: PrivatePROTECTED: ProtectedPUBLIC: PublicVISIBILITY_UNSPECIFIED: Unspecified
update_memo
Update an existing memo
- Parameters:
memo_resource_name(string): Memo resource name (e.g.,memos/123or123)content(string, optional): New memo contentstate(string, optional): Memo stateSTATE_UNSPECIFIED: UnspecifiedACTIVE: ActiveARCHIVED: Archived
visibility(string, optional): Visibility settingpinned(boolean, optional): Whether the memo is pinned
delete_memo
Delete a memo
- Parameters:
memo_resource_name(string): Resource name of the memo to delete
Resources
memos://{memo_resource_name}/info
Get detailed information about a specific memo
- Returns: Information including state, content, visibility, creation time, update time, tags, pinned status, and attachments
memos://recent_memos
Get a list of recent memos
- Returns: A list of recent memos, each containing name, state, content, and visibility
Development
Project Structure
memos-mcp/
├── main.py # Main service file
├── pyproject.toml # Project configuration
├── Dockerfile # Docker configuration
├── docker-compose.yaml # Docker Compose configuration
└── README.md # Project documentation
Dependencies
- Python >= 3.13
- fastmcp >= 2.12.2
- requests >= 2.32.5
Development Environment Setup
- Ensure uv is installed
- Clone the repository and install dependencies:
uv sync - Set environment variables and run:
uv run main.py
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Issues and Pull Requests are welcome!
Related Links
Install Memos Server in Claude Desktop, Claude Code & Cursor
unyly install memos-mcp-serverInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add memos-mcp-server -- uvx memos-mcpFAQ
Is Memos Server MCP free?
Yes, Memos Server MCP is free — one-click install via Unyly at no cost.
Does Memos Server need an API key?
No, Memos Server runs without API keys or environment variables.
Is Memos Server hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Memos Server in Claude Desktop, Claude Code or Cursor?
Open Memos Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Memos Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
