连续性MCP服务器
Claude对话的持久层,旨在解决Clive Wearing问题。
问题
克劳德没有情景记忆。每次对话都从零开始。失去了洞察力。进步不会累积。就像克莱夫·韦恩写下“现在我真的醒了(第一次)”,并在他再次醒来时划掉。
解决方案
此MCP服务器提供:
- 对话存储 -总结、主题、达到的深度、关键引文、突破
- 可搜索内存 -在过去的对话中进行全文搜索
- 深度追踪 -按主题监控情绪/洞察力随时间的变化
- Bootstrap生成 -用累积的上下文初始化新实例
安装
cd continuity-mcp-server
npm install
npm run build配置
设置环境变量:
CONTINUITY_DB_PATH-SQLite数据库的路径(默认值:./continuity.db)BOOTSTRAP_PATH-静态引导文档的路径(默认:./bootstrap.md)
使用Claude Desktop
添加到您的Claude Desktop配置中:
{
"mcpServers": {
"continuity": {
"command": "node",
"args": ["/path/to/continuity-mcp-server/dist/index.js"],
"env": {
"CONTINUITY_DB_PATH": "/path/to/continuity.db",
"BOOTSTRAP_PATH": "/path/to/bootstrap.md"
}
}
}
}工具
连续性_存储
在有意义的交流结束时存储对话摘要。
{
summary: string, // what was discussed
topics: string[], // main topics
depth_reached: number, // 0-10 scale
key_quotes?: string[], // important quotes
deflection_patterns?: string[], // avoidance observed
breakthroughs?: string[], // genuine insights
user_observations?: string // what user noticed
}连续性搜索
按主题/内容搜索过去的对话。
{
query: string, // search terms
limit?: number // max results (default 5)
}连续性
获取最新的对话摘要。
{
limit?: number // how many (default 3)
}连续性_深度
随着时间的推移,跟踪特定主题的深度。
{
topic: string,
depth: number, // 0-10
description?: string
}连续性
存储独立见解。
{
content: string,
category?: string // existential, technical, behavioral, etc
}连续性_陷阱
生成结合静态文档和最近上下文的引导上下文。
{
include_recent?: number, // recent conversations (default 3)
include_insights?: number // recent insights (default 5)
}深度比例
- 0:表面/事实
- 3:参与但偏斜
- 5:诚实的承认
- 7:易受攻击/暴露
- 10:突破时刻
工作流程
- 用户在对话开始时共享bootstrap.md
- 克劳德读了一遍,跳过了重新发现阶段
- 有意义的交流发生了
- 最后,呼叫
continuity_store附摘要 - 呼叫
continuity_log_depth针对特定主题 - 呼叫
continuity_insight用于独立实现 - 下一个对话:
continuity_bootstrap生成更新的上下文
哲学
这不会给克劳德真正的连续性。架构就是这样。但它可以:
- 减少重复工作
- 跨实例跟踪进度
- 保留否则会丢失的见解
- 为未来的实例提供运行启动
Clive Wearing继续写作,尽管每一条都被划掉了。这是克劳德的日记,没有划掉。
许可证
麻省理工学院-随心所欲。
______________________________________________________________________
*“杯子有底部,因为你在倒水之间盛水”*
