MCP Catalogs
首页

context-engineering

by timothywarner-org·23·综合分 45

生产就绪的 MCP 服务器,通过混合 RAG 和 CoALA 内存层级为 AI 助手实现语义记忆功能。

ai-llmknowledge-graphdeveloper-tools
20
Forks
3
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

这是一个全面的 MCP 服务器,实现了 WARNERCO Schematica 应用程序,展示了生产级别的语义记忆系统。它利用 FastMCP、FastAPI 和 LangGraph 实现了所有四个 CoALA 内存层级(工作记忆、情节记忆、语义记忆、程序记忆),并通过 9 节点管道进行处理。该服务器提供 28 个 MCP 工具、11 个资源和 5 个提示,用于构建具有持久记忆的 AI 系统。它具备渐进式工具加载功能,并使用 Park 等人的评分公式进行情节记忆检索。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:构建具有长期记忆能力的 AI 助手
:实现语义记忆和混合 RAG 系统
:使用 MCP 协议开发上下文感知的 AI 应用
:CoALA 内存系统是什么?
:如何测试此 MCP 服务器?

什么时候选它

当您需要为AI助手实现综合记忆系统,特别是部署具有语义记忆、混合RAG功能的解决方案,或需要MCP实现的教育示例时,选择此服务器。

什么时候不要选它

如果您需要简单的MCP服务器而不需要完整记忆架构的复杂性,或者需要与除Claude之外的其他AI模型协作的解决方案,请不要选择此服务器。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • warn_search_tools

    Keyword discovery of MCP tools with detail levels

  • warn_describe_tool

    Get full schema for a specific MCP tool by name

  • parse_intent

    Parse user intent for the LangGraph pipeline

  • query_graph

    Query the knowledge graph for relationships and entities

  • inject_scratchpad

    Inject working memory into the current session

  • recall_episodes

    Recall episodic memories based on relevance and importance

  • retrieve

    Retrieve information from semantic memory vector store

  • compress_context

    Compress retrieved context for efficient processing

  • reason

    Reason over compressed context to generate insights

  • respond

    Generate a response based on the processed context

  • log_episode

    Log the current interaction as an episodic memory

  • warn_episodic_recall

    Recall episodic memories with detailed scoring breakdown

说明:Tool names inferred from the LangGraph pipeline description and CoALA memory tiers documentation. Descriptions are based on their roles in the pipeline and memory system. Signatures are not explicitly provided in the README.

可对比工具

mem0-mcpsemantic-knowledge-graph-mcplanggraph-mcp

安装

安装

前置要求

  • Python 3.13(在 .python-version 中指定)
  • Node.js 20+(用于 Lab 01 和 MCP Inspector)
  • [uv](https://docs.astral.sh/uv/) 包管理器(推荐)
  • Claude Desktop 或 Claude Code

选项 1:Hello MCP 实验室(初学者)

git clone https://github.com/timothywarner-org/context-engineering.git
cd context-engineering/labs/lab-01-hello-mcp/starter
npm install && npm start

选项 2:WARNERCO Schematica(完整应用)

cd src/warnerco/backend
uv sync
uv run uvicorn app.main:app --reload    # HTTP 服务器
uv run warnerco-mcp                      # MCP stdio 服务器

Claude Desktop 配置

{
  "mcpServers": {
    "warnerco": {
      "command": "uv",
      "args": ["run", "warnerco-mcp"],
      "cwd": "C:/github/context-engineering/src/warnerco/backend"
    }
  }
}

FAQ

CoALA 内存系统是什么?
CoALA(上下文感知长期架构)是一个四层记忆系统,包含工作记忆、情节记忆、语义记忆和程序记忆,在此 MCP 服务器中实现。
如何测试此 MCP 服务器?
您可以使用 MCP Inspector 测试服务器,命令为:`npx @modelcontextprotocol/inspector uv run warnerco-mcp`,它将在 http://localhost:5173 打开。

context-engineering 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。