memos-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP 模式监听地址,默认 0.0.0.0 | 0.0.0.0 |
| MCP_PORT | No | HTTP 模式监听端口,默认 3002 | 3002 |
| MEMOS_URL | Yes | Memos 服务地址,例如 http://localhost:5230 | |
| DEFAULT_TAG | No | 创建备忘录时默认追加的标签,默认为 mcp | mcp |
| MCP_TRANSPORT | No | MCP 传输方式,默认 stdio,可选 streamable-http | stdio |
| MEMOS_API_KEY | Yes | 普通 API Key,必填 | |
| MEMOS_ADMIN_API_KEY | No | 管理员 API Key,可选;只有在使用“获取所有用户”资源或工具时才需要 | |
| MCP_STREAMABLE_HTTP_PATH | No | HTTP 模式路径,默认 /mcp | /mcp |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_memosC | 搜索备忘录 Args: query: 搜索关键词 filter_expr: CEL 表达式过滤器,例如 "content.contains('关键词')" |
| filter_memosA | 使用 CEL 表达式过滤备忘录 Args: filter_expr: CEL 表达式过滤器,例如 "content.contains('关键词')" 或 "createTime > timestamp('2023-01-01T00:00:00Z')" |
| create_memoB | 创建新备忘录 Args: content: 备忘录内容 visibility: 可见性设置 (PRIVATE, PROTECTED, PUBLIC) tags: 标签列表,如果不提供则使用默认标签 |
| get_all_users_toolsB | 获取所有用户 |
| create_memo_commentB | 在指定的备忘录下创建一个评论,提供内容和可见性设置 |
| update_memoB | 更新备忘录 Args: memo_id: 备忘录ID 格式是{G3o72r9oijTWFxy9ueWzW7} 而不是{memos/G3o72r9oijTWFxy9ueWzW7} content: 新的备忘录内容 visibility: 新的可见性设置 (PRIVATE, PROTECTED, PUBLIC) |
| delete_memoA | 删除备忘录 Args: memo_id: 要删除的备忘录ID 备忘录ID 格式是{G3o72r9oijTWFxy9ueWzW7} 而不是{memos/G3o72r9oijTWFxy9ueWzW7} |
| delete_memo_tagA | 从备忘录中删除标签 Args: memo_id: 备忘录ID 格式是{G3o72r9oijTWFxy9ueWzW7} 而不是{memos/G3o72r9oijTWFxy9ueWzW7} tag: 要删除的标签名称(不包含#符号) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| weekly-summary | 每周总结提示,帮助用户总结一周的备忘录 |
| knowledge-extraction | 知识提取提示,帮助用户从备忘录中提取知识 |
| content-improvement | 内容改进提示,帮助用户改进备忘录内容 |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_recent_memos | 获取最近的备忘录 |
| get_all_memos | 获取所有备忘录 |
| get_all_users | 获取所有用户 |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuzhi-jiang/memos-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server