RM

ryojerryyu/mcp-server-memos-py

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

21 stars 7 forks 质量 62 趋势 10MIT

一个Python包,使LLM模型能够通过MCP接口与备忘录服务器交互,用于搜索、创建、检索和管理备忘录。

概览

一个Python包,为LLM模型提供通过MCP(模型上下文协议)接口与备忘录服务器交互的能力。 - 🔍 使用关键词搜索备忘录 - ✨ 创建可自定义可见性的新备忘录 - 📖 通过ID检索备忘录内容 - 🏷️ 列表和管理备忘录标签 - 🔐 使用访问令牌安全认证 你可以把这个包作为 Bellow 添加到你的配置文件里,就像你用其他 Python MCP 插件一样。 要通过 Smithery 自动安装 mcp-server-memos-py for Claude Desktop: 该MCP服务器提供以下工具用于与备忘录交互: 欢迎投稿!请随时提交拉取请求。 本项目采用MIT许可证授权——详情请参见LICENSE文件。 - Memos - 轻量级自托管备忘录中心- MCP(模型上下文协议)- 用于大型语言模型应用的协议

概述(AI 翻译)

一个Python包,为LLM模型提供通过MCP(模型上下文协议)接口与备忘录服务器交互的能力。

🚀 特色

  • 🔍 带有关键词的搜索备忘录
  • ✨ 创建具有可定制可见性的新备忘录
  • 📖 按ID检索备忘录内容
  • 🏷️ 列出和管理备忘录标签
  • 🔐 使用访问令牌实现安全认证

🛠️ 用途

你可以把这个包作为 Bellow 添加到你的配置文件里,就像你用其他 Python MCP 插件一样。

其他使用该软件包的方式

📦 安装

通过Smithery安装

要通过 Smithery 自动安装 mcp-server-memos-py for Claude Desktop:

手动安装

命令行

作为图书馆

🔧 配置

参数 描述 默认
host 备忘录服务器主机名 localhost
port 备忘录服务器端口 8080
token 认证访问令牌 ""

🤝 可用工具

该MCP服务器提供以下工具用于与备忘录交互:

工具名称 说明 参数

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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"
      ]
    }
  }
}

🔧 Configuration

Parameter Description Default
host Memos server hostname localhost
port Memos server port 8080
token Access token for authentication ""

🤝 Available Tools

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

Tool Name Description Parameters
在 GitHub 查看完整 README

安装

uvx mcp-server-fetch
新手?先看 mcpskill.org 教程 →

配置

{ ..., "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" ] } } }