MCP-Mem0

Integrations
  • Enables agent integration with a Discord server for community interaction and support

  • Provides integration with GitHub for repository management, releases, and contribution workflow

  • Uses Python as the foundation for building and extending the MCP server functionality

MCP-Mem0:通往长期代理内存的门户🚀

欢迎来到MCP-Mem0代码库!该项目提供了一个强大的服务器,用于使用 Mem0 管理长期代理内存。对于任何想要使用 Python 构建自己的 MCP 服务器的人来说,它也是一个实用的模板。

目录

特色✨

  • 长期记忆管理:有效地存储和检索代理记忆。
  • 基于 Python :使用 Python 构建,易于定制和扩展。
  • 模板结构:您自己的 MCP 服务器开发的良好起点。
  • 轻量级:资源要求极低,易于部署。

入门🏁

要开始使用 MCP-Mem0,您需要下载最新版本。请访问“发布”部分查找最新版本。下载文件并执行它来设置您的服务器。

安装⚙️

请按照以下步骤安装 MCP-Mem0:

  1. 克隆存储库
    git clone https://github.com/yellnuts/mcp-mem0.git cd mcp-mem0
  2. 安装依赖项:确保已安装 Python 3.6 或更高版本。使用 pip 安装所需的软件包:
    pip install -r requirements.txt
  3. 运行服务器:安装依赖项后,您可以使用以下命令启动服务器:
    python server.py
  4. 访问 API :打开您的 Web 浏览器并导航至http://localhost:5000以访问服务器。

用法📚

服务器运行后,您可以使用 HTTP 请求与其交互。以下是一些您可以使用的示例端点:

  • 创建记忆
    POST /memory
    身体:
    { "agent_id": "unique_agent_id", "memory_data": "Your memory data here" }
  • 检索记忆
    GET /memory/{agent_id}
  • 删除内存
    DELETE /memory/{agent_id}

有关更详细的 API 文档,请参阅存储库中的API.md文件。

贡献🤝

欢迎为 MCP-Mem0 做出贡献!您可以通过以下方式提供帮助:

  1. Fork 仓库:点击页面右上角的“Fork”按钮。
  2. 创建分支
    git checkout -b feature/YourFeature
  3. 做出改变:实现您的功能或修复。
  4. 提交您的更改
    git commit -m "Add your message here"
  5. 推送至分支
    git push origin feature/YourFeature
  6. 打开拉取请求:转到原始存储库并单击“新建拉取请求”。

许可证📄

本项目遵循 MIT 许可证。更多详情请参阅LICENSE文件。

联系📬

如有任何疑问或需要支持,请联系维护人员:

感谢您关注 MCP-Mem0!希望它对您有所帮助。如需了解最新更新和发布,请记得再次查看“发布”部分


高级配置🔧

MCP-Mem0 允许进行高级配置,以满足您的特定需求。您可以在根目录中的config.json文件中调整设置。以下是一些您可以修改的关键配置:

  • 记忆到期:设置记忆保留的时间。
  • 日志记录级别:调整服务器日志的详细程度。
  • 端口配置:如果需要,更改端口号。

示例配置

以下是您的config.json的示例:

{ "memory_expiry": "30 days", "logging_level": "info", "port": 5000 }

故障排除🛠️

如果您在使用 MCP-Mem0 时遇到问题,请考虑以下常见问题:

  • 服务器未启动:确保所有依赖项都已正确安装。
  • API 错误:检查请求格式并确保服务器正在运行。
  • 内存未保存:验证agent_id是否唯一且格式正确。

路线图🗺️

我们对未来的更新有着激动人心的计划!以下是我们计划实现的一些功能:

  • 用户身份验证:使用用户帐户保护您的内存管理。
  • 数据可视化:内存数据的图形表示。
  • 多代理支持:同时处理多个代理。

请继续关注这些功能和更多内容!

社区💬

加入我们的社区分享您的经验、提出问题并获得支持:

我们鼓励您与其他用户互动并参与讨论。

最后的想法💭

感谢您探索 MCP-Mem0!我们相信,这款工具对于任何从事代理内存管理工作的人来说都是一笔宝贵的财富。您的反馈至关重要,欢迎随时提出建议或改进建议。

如需了解最新更新,请记得再次访问“发布”版块。祝您编程愉快!

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

使用 Mem0 管理长期代理内存的强大服务器,通过基于 Python 的轻量级实现提供代理内存的高效存储和检索。

  1. 目录
    1. 特色✨
      1. 入门🏁
        1. 安装⚙️
          1. 用法📚
            1. 贡献🤝
              1. 许可证📄
                1. 联系📬
                  1. 高级配置🔧
                    1. 示例配置
                  2. 故障排除🛠️
                    1. 路线图🗺️
                      1. 社区💬
                        1. 最后的想法💭

                          Related MCP Servers

                          • A
                            security
                            A
                            license
                            A
                            quality
                            Memory manager for AI apps and Agents using various graph and vector stores and allowing ingestion from 30+ data sources
                            Last updated -
                            4
                            2,149
                            Apache 2.0
                            • Apple
                          • A
                            security
                            A
                            license
                            A
                            quality
                            A flexible memory system for AI applications that supports multiple LLM providers and can be used either as an MCP server or as a direct library integration, enabling autonomous memory management without explicit commands.
                            Last updated -
                            3
                            131
                            36
                            JavaScript
                            MIT License
                          • -
                            security
                            F
                            license
                            -
                            quality
                            An MCP server that integrates with mem0.ai to help users store, retrieve, and search coding preferences for more consistent programming practices.
                            Last updated -
                            222
                            Python
                          • -
                            security
                            A
                            license
                            -
                            quality
                            An MCP server that extends AI agents' context window by providing tools to store, retrieve, and search memories, allowing agents to maintain history and context across long interactions.
                            Last updated -
                            5
                            TypeScript
                            MIT License

                          View all related MCP servers

                          ID: 1ojy4ygwra