A Python package that provides LLM models with the ability to interact with Memos server through the MCP (Model Context Protocol) interface.
- π Search memos with keywords
- β¨ Create new memos with customizable visibility
- π Retrieve memo content by ID
- π·οΈ List and manage memo tags
- π Secure authentication using access tokens
You can include this package in your config file as bellow, just as you use other Python MCP plugins.
Other ways to use this package
To install mcp-server-memos-py for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @RyoJerryYu/mcp-server-memos-py --client claude
pip install mcp-server-memos
mcp-server-memos --host localhost --port 8080 --token YOUR_ACCESS_TOKEN
from mcp_server_memos import Config, serve_stdio
config = Config(
host="localhost",
port=8080,
token="YOUR_ACCESS_TOKEN"
)
await serve_stdio(config=config)
Parameter | Description | Default |
---|---|---|
host |
Memos server hostname | localhost |
port |
Memos server port | 8080 |
token |
Access token for authentication | "" |
This MCP server provides the following tools for interacting with Memos:
Tool Name | Description | Parameters |
---|---|---|
list_memo_tags |
List all existing memo tags | - parent : The parent who owns the tags (format: memos/{id}, default: "memos/-")- visibility : Tag visibility (PUBLIC/PROTECTED/PRIVATE, default: PRIVATE) |
search_memo |
Search for memos using keywords | - key_word : The keywords to search for in memo content |
create_memo |
Create a new memo | - content : The content of the memo- visibility : Memo visibility (PUBLIC/PROTECTED/PRIVATE, default: PRIVATE) |
get_memo |
Get a specific memo by ID | - name : The name/ID of the memo (format: memos/{id}) |
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Memos - A lightweight, self-hosted memo hub
- MCP (Model Context Protocol) - Protocol for LLM model applications