mcp-server-memos-py

mcp-server-memos-py

3.4

If you are the rightful owner of mcp-server-memos-py and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Python package that provides LLM models with the ability to interact with Memos server through the MCP interface.

MCP Server Memos ๐Ÿ“

A Python package that provides LLM models with the ability to interact with Memos server through the MCP (Model Context Protocol) interface.

๐Ÿš€ Features

  • ๐Ÿ” 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

๐Ÿ› ๏ธ Usage

You can include this package in your config file as bellow, just as you use other Python MCP plugins.

{
  ...,
  "mcpServers": {
    "fetch": { // other mcp servers
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    },
    "memos": { // add this to your config
      "command": "uvx",
      "args": [
        "--prerelease=allow",
        "mcp-server-memos",
        "--host",
        "localhost",
        "--port",
        "5230",
        "--token",
        "your-access-token-here"
      ]
    }
  }
}
Other ways to use this package

๐Ÿ“ฆ Installation

Installing via Smithery

To install mcp-server-memos-py for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @RyoJerryYu/mcp-server-memos-py --client claude
Installing Manually
pip install mcp-server-memos

Command Line

mcp-server-memos --host localhost --port 8080 --token YOUR_ACCESS_TOKEN

As a Library

from mcp_server_memos import Config, serve_stdio

config = Config(
    host="localhost",
    port=8080,
    token="YOUR_ACCESS_TOKEN"
)

await serve_stdio(config=config)

๐Ÿ”ง Configuration

ParameterDescriptionDefault
hostMemos server hostnamelocalhost
portMemos server port8080
tokenAccess token for authentication""

๐Ÿค Available Tools

This MCP server provides the following tools for interacting with Memos:

Tool NameDescriptionParameters
list_memo_tagsList 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_memoSearch for memos using keywords- key_word: The keywords to search for in memo content
create_memoCreate a new memo- content: The content of the memo
- visibility: Memo visibility (PUBLIC/PROTECTED/PRIVATE, default: PRIVATE)
get_memoGet a specific memo by ID- name: The name/ID of the memo (format: memos/{id})

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

๐Ÿ“„ License

This project is licensed under the MIT License - see the file for details.

๐Ÿ™ Acknowledgments