P

mcp-server-memos-py

...
Created 12/7/2024byRyoJerryYu

Categories

mcpmcp-servermcp-serversmemosmodel-context-protocolusememo

Language:

Python

Stars:

11

Forks:

2

MCP Server Memos πŸ“

PyPI version Python Version License

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

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
            | `port` | Memos server port | `8080` |

| token | Access 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 LICENSE file for details.

πŸ™ Acknowledgments

Last updated: 3/18/2025

Publisher info

RyoJerryYu's avatar
11
followers
48
following
96
repos

More MCP servers built with Python

composer-trade-mcp

Create, backtest, and execute trades directly in one chat box. The Composer MCP Server gives LLMs the power to backtest investment ideas and execute automated trading strategies. Trade across stocks, ETFs, and crypto directly in Claude.

By https://github.com/ronnyli
slidespeak-mcp

An MCP to generate presentations with AI. Create and edit PowerPoint presentations with AI.

By https://github.com/SlideSpeak
PaddleOCR

The PaddleOCR MCP server brings enterprise-grade OCR and document parsing capabilities to AI applications. Built on PaddleOCR β€” a proven solution with 50,000+ GitHub stars, deeply integrated by leading projects like MinerU, RAGFlow, and OmniParserβ€” with targeted optimizations based on the MCP concept.

By PaddlePaddle