RR

rember/rember-mcp

开发工具

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

63 stars 11 forks 质量 63 趋势 0MIT

rember/rember-mcp 是从 https://github.com/rember/rember-mcp. 导入的 MCP 服务器候选

概览

rember/rember-mcp 是从 https://github.com/rember/rember-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

允许Claude用官方的Rember模型上下文协议(MCP)为你创建抽认卡。Rember通过安排间隔重复复习,帮助你学习和记住你关心的任何内容。

特色与示例:

  • 从你的聊天中制作抽认卡 “…我喜欢你的回答,帮我回忆一下”
  • 从你的PDF创建抽认卡 “从本PDF第2章创建抽认卡”

布置

要使用 npx 运行 Rember MCP 服务器,请使用以下命令:

确保将YOUR_REMBER_API_KEY替换为你实际的Rember api密钥,你可以在设置页面找到。API密钥的格式应为rember_,后面是32个随机字符。

使用 Claude Desktop

在你的claude_desktop_config.json中添加以下内容。更多详情请见此处。

可用工具

  • create_flashcards:用AI创建抽认卡。该工具从Claude中获取一份笔记列表,调用Rember API,为每个笔记生成几张抽认卡。在与Claude的聊天中学到新知识后,你可以问“帮我记住这个”或“创建几张抽认卡”或“添加到Rember”。

构建MCP服务器的最佳实践

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

README

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

Rember MCP

Allow Claude to create flashcards for you with the official Model Context Protocol (MCP) for Rember. Rember helps you study and remember anything you care about by scheduling spaced repetition reviews.

Features and examples:

  • Create flashcards from your chats “… I like your answer, help me remember it”
  • Create flashcards from your PDFs “Create flashcards from chapter 2 of this PDF”

Setup

To run the Rember MCP server using npx, use the following command:

npx -y @getrember/mcp --api-key=YOUR_REMBER_API_KEY

Make sure to replace YOUR_REMBER_API_KEY with your actual Rember api key, which you can find in your Settings page. The API key should follow the format rember_ followed by 32 random characters.

Usage with Claude Desktop

Add the following to your claude_desktop_config.json. See here for more details.

{
  "mcpServers": {
    "rember": {
      "command": "npx",
      "args": ["-y", "@getrember/mcp", "--api-key=YOUR_REMBER_API_KEY"]
    }
  }
}

Available tools

  • create_flashcards: Create flashcards with AI. This tool takes a list of notes from Claude, it calls the Rember API to generate a few flashcards for each note. After learning something new in your chat with Claude, you can ask “help me remember this” or “create a few flashcards” or “add to Rember”.

Best practices for building MCP servers

Here’s a collection of lessons we learned while developing the Rember MCP server:

  • Set up logging to stderr as early as possible, it’s essential for debugging

  • Create a simple MCP tool first and verify Claude can call it properly

  • Invest time in iterating on the tool description:

    • Include details about your product and its URL. This serves two purposes: it helps Claude use the tool properly and allows Claude to answer user questions about the product
    • Clearly explain what MCP is, in a few instances Claude hallucinated that MCP stands for “Multiple Choice Prompts”, yikes
    • Describe the tool inputs thoroughly
    • Explain what happens after Claude calls the tool, we clarify that the input notes array is sent to the Rember API, which generates flashcards for each note
    • Provide examples of how the tool can be used (e.g., “create flashcards from a conversation with Claude,” “create flashcards from PDFs”), and give Claude specific instructions for each use case
    • List examples of how users might invoke the tool (e.g., “help me remember this,” “add to Rember,” “create a few flashcards”)
    • Include a list of rules to guide Claude in using the tool appropriately
  • Use the tool call response strategically, it’s not shown directly to users but interpreted by Claude:

在 GitHub 查看完整 README

安装

npx -y @getrember/mcp --api-key=YOUR_REMBER_API_KEY
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "rember": { "command": "npx", "args": ["-y", "@getrember/mcp", "--api-key=YOUR_REMBER_API_KEY"] } } }