(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43506068

来自Zep的Daniel已将他们的开源时间知识图谱框架Graphiti与Cursor IDE集成,赋予后者持久记忆编码偏好、标准和项目规范的能力。这解决了Cursor之前无法跨会话保留用户上下文的问题。 该集成使用Graphiti的模型上下文协议(MCP)服务器来促进IDE和知识图谱之间的结构化数据交换。自定义实体,如“需求”、“偏好”和“流程”,捕获具体的编码细节。实时更新确保Cursor能够立即适应框架或标准的更改。持久化检索保证Cursor能够跨会话、项目和IDE重启记住最新的偏好和项目决策。 目标是减少不断提醒Cursor编码偏好的需要。该项目是开源的,作者正在寻求对其方法及其在开发者工作流程中的适用性的反馈。原始帖子中链接了详细的说明和GitHub仓库。

来自Zep的Daniel已将他们的开源时间知识图谱框架Graphiti与Cursor IDE集成,赋予后者持久记忆编码偏好、标准和项目规范的能力。这解决了Cursor之前无法跨会话保留用户上下文的问题。 该集成使用Graphiti的模型上下文协议(MCP)服务器来促进IDE和知识图谱之间的结构化数据交换。自定义实体,如“需求”、“偏好”和“流程”,捕获具体的编码细节。实时更新确保Cursor能够立即适应框架或标准的更改。持久化检索保证Cursor能够跨会话、项目和IDE重启记住最新的偏好和项目决策。 目标是减少不断提醒Cursor编码偏好的需要。该项目是开源的,作者正在寻求对其方法及其在开发者工作流程中的适用性的反馈。原始帖子中链接了详细的说明和GitHub仓库。

原文
Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Cursor IDE now remembers your coding prefs using MCP
7 points by roseway4 1 hour ago | hide | past | favorite | 3 comments
Hi, I'm Daniel from Zep. I've integrated the Cursor IDE with Graphiti, our open-source temporal knowledge graph framework, to provide Cursor with persistent memory across sessions. The goal was simple: help Cursor remember your coding preferences, standards, and project specs, so you don't have to constantly remind it.

Before this integration, Cursor (an AI-assisted IDE many of us already use daily) lacked a robust way to persist user context. To solve this, I used Graphiti’s Model Context Protocol (MCP) server, which allows structured data exchange between the IDE and Graphiti's temporal knowledge graph.

Key points of how this works:

- Custom entities like 'Requirement', 'Preference', and 'Procedure' precisely capture coding standards and project specs.

- Real-time updates let Cursor adapt instantly—if you change frameworks or update standards, the memory updates immediately.

- Persistent retrieval ensures Cursor always recalls your latest preferences and project decisions, across new agent sessions, projects, and even after restarting the IDE.

I’d love your feedback—particularly on the approach and how it fits your workflow.

Here's a detailed write-up: https://www.getzep.com/blog/cursor-adding-memory-with-graphi...

GitHub Repo: https://github.com/getzep/graphiti

-Daniel











This is exciting!

Glancing through the article, I can't tell, is this Cursor specific? Some of us are raw dogging VS Code with https://cline.bot, which supports MCP servers: https://cline.bot/mcp-marketplace.

Would love to try this out in Cline!



What's the advantage over the built-in solution? (and before it, .cursorrules)

https://docs.cursor.com/context/rules-for-ai



This is so exciting!!!






Join us for AI Startup School this June 16-17 in San Francisco!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact



Search:
联系我们 contact @ memedata.com