memos-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Memos MCP Server
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
Related MCP server: Mem0 MCP Server
Environment Variables
Before starting the service, you need to set the following environment variables:
Required Environment Variables
Variable Name | Description | Example |
| URL of the Memos server |
|
| Memos API key |
|
Optional Environment Variables
Variable Name | Description | Default | Example |
| MCP server authentication token | None |
|
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/mcpPort: 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 documentationDependencies
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 syncSet 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Persistent personal memory for AI assistants β save, search, and recall across every MCP client.
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Persistent, portable memory for AI assistants β your private memory graph, from any MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Memos instances for knowledge management. Supports searching, creating, updating, and retrieving memos with markdown content, tags, and visibility controls.45MIT
- AlicenseNot gradedqualityNot gradedmaintenanceIntegrates the Mem0 Memory API with MCP-compatible clients to provide AI agents with persistent, long-term memory capabilities. It enables users to add, search, update, and delete memories to maintain context and personalization across different interactions.Apache 2.0
- AlicenseNot gradedqualityFmaintenanceEnables creating memos and attaching files to a Memos instance via MCP tools.MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with Memos instances, supporting multi-instance connections, note management, tags, attachments, and shortcuts.1619 npm2MIT