Memos Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Memos Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
一个连接到 Memos 的 MCP 服务器。它把 Memos 的常用能力暴露为 MCP 资源、工具和提示词,方便在 Claude、Cherry Studio、Cursor 等支持 MCP 的客户端中直接读写备忘录。
当前版本相对之前的变更重点:
MEMOS_ADMIN_API_KEY 配置项,用于调用管理员接口当前服务默认使用 stdio 传输方式启动,适合 Claude Code、Claude Desktop 等本地 MCP 客户端。
也支持通过环境变量切换到 streamable-http:
MCP_TRANSPORT=streamable-httpstreamable-http 模式默认监听:
0.0.0.03002http://127.0.0.1:3002/mcp>=3.10uvx memos-mcp或:
pip install memos-mcp
memos-mcpgit clone https://github.com/yuzhi-jiang/memos-mcp.git
cd memos-mcp
uv sync
uv run memos-mcp可以通过环境变量,或在项目目录下放置 .env 文件来配置:
MEMOS_URL=http://localhost:5230
MEMOS_API_KEY=your-memos-api-key
MEMOS_ADMIN_API_KEY=your-memos-admin-api-key
DEFAULT_TAG=mcp
MCP_TRANSPORT=stdio
MCP_HOST=0.0.0.0
MCP_PORT=3002
MCP_STREAMABLE_HTTP_PATH=/mcp变量说明:
MEMOS_URL:Memos 服务地址,例如 http://localhost:5230MEMOS_API_KEY:普通 API Key,必填MEMOS_ADMIN_API_KEY:管理员 API Key,可选;只有在使用“获取所有用户”资源或工具时才需要DEFAULT_TAG:创建备忘录时默认追加的标签,默认为 mcpMCP_TRANSPORT:MCP 传输方式,默认 stdio,可选 streamable-httpMCP_HOST:HTTP 模式监听地址,默认 0.0.0.0MCP_PORT:HTTP 模式监听端口,默认 3002MCP_STREAMABLE_HTTP_PATH:HTTP 模式路径,默认 /mcp示例文件见 .env.example。
推荐直接让客户端以 stdio 模式启动,不需要你手工先跑服务。
命令示例:
uv --directory /path/to/memos-mcp run memos-mcp先启动服务:
uv run memos-mcp默认会以 stdio 模式运行。
如果你要测试 streamable-http 模式:
MCP_TRANSPORT=streamable-http uv run memos-mcp然后在支持 HTTP MCP 的客户端中填入:
http://127.0.0.1:3002/mcpmemos://recent:最近 10 条备忘录memos://all:全部备忘录memos://users:全部用户列表,需要 MEMOS_ADMIN_API_KEYmemos://memos/{memo_id}:按 ID 获取单条备忘录memo_id 传参格式应为纯 ID,例如:
G3o72r9oijTWFxy9ueWzW7而不是:
memos/G3o72r9oijTWFxy9ueWzW7search_memos(query, filter_expr=None):按关键词或 CEL 表达式搜索filter_memos(filter_expr):按 CEL 表达式过滤create_memo(content, visibility="PRIVATE", tags=None):创建备忘录update_memo(memo_id, content=None, visibility=None):更新备忘录delete_memo(memo_id):删除备忘录delete_memo_tag(memo_id, tag):删除指定标签create_memo_comment(memo_id, content, visibility="PRIVATE"):给指定备忘录创建评论get_all_users_tools():获取所有用户列表,需要 MEMOS_ADMIN_API_KEYweekly-summaryknowledge-extractioncontent-improvementsearch_memos(query="项目复盘")filter_memos(filter_expr="createTime > timestamp('2026-01-01T00:00:00Z') && visibility == 'PRIVATE'")create_memo(
content="完成 Memos MCP 发布说明",
visibility="PRIVATE",
tags=["release", "mcp"]
)create_memo_comment(
memo_id="G3o72r9oijTWFxy9ueWzW7",
content="这条内容我已经复核完了",
visibility="PRIVATE"
)get_all_users_tools()pyproject.tomlsrc/memos_cmp/server.pysrc/memos_cmp/__init__.py本地构建:
uv buildMIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.