Hystersis MCP Server
Connects AI assistants to a persistent memory engine with Neo4j knowledge graph and ProMem extraction, enabling long-term context and associative memory across chats and workspaces.
README
<div align="center"> <h1>🧠 Hystersis MCP Server</h1> <p><strong>The Model Context Protocol (MCP) server for the Hystersis Persistent Memory Engine.</strong></p>
<br />
Hystersis MCP Server acts as the universal bridge connecting your local or cloud-hosted Hystersis backend to any MCP-compatible AI assistant (e.g., Claude Desktop, Cursor, Windsurf, Cline).
By attaching this server to your coding assistant, your AI instantly gains long-term, persistent memory, a Neo4j knowledge graph, and ProMem-style extraction across all your chats and workspaces.
✨ Features
- Long-Term Context: AI assistants remember coding preferences, architecture rules, and past bugs across completely different chats and workspaces.
- Graph Knowledge Base: Exposes tools for the AI to explicitly create entities and relationships, building an architectural map of your systems as it works.
- Multi-Hop Spreading Activation: Search through memories not just by vector similarity, but through associative graph propagation (Neo4j + Qdrant).
- Plug-and-Play: Installs globally via NPM and connects to Claude or Cursor with three lines of JSON.
🚀 Quick Start
1. Prerequisites
Ensure your core Hystersis engine is running. You can start it locally via Docker:
git clone https://github.com/Himan-D/agent-memory.git
cd agent-memory
docker-compose up -d
(By default, the Hystersis API runs on http://localhost:8080)
2. Client Integrations
You don't need to clone this repository to use the server. You can execute it directly via npx hystersis-mcp in your assistant's configuration.
🤖 Claude Desktop
Add the following to your claude_desktop_config.json (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"hystersis": {
"command": "npx",
"args": [
"-y",
"hystersis-mcp"
],
"env": {
"HYSTERSIS_API_URL": "http://localhost:8080",
"HYSTERSIS_API_KEY": "default-key"
}
}
}
}
💻 Cursor IDE
- Go to Cursor Settings > Features > MCP.
- Click + Add new MCP server.
- Set the name to
Hystersis. - Set the type to
command. - Set the command to:
npx -y hystersis-mcp - (If your API requires a specific key or URL, you may need to export it in your environment or wrap the command in a bash script).
🛠 Cline / RooCode (VS Code Extensions)
Add to your MCP settings file:
{
"mcpServers": {
"hystersis": {
"command": "npx",
"args": ["-y", "hystersis-mcp"],
"env": {
"HYSTERSIS_API_URL": "http://localhost:8080"
}
}
}
}
🧰 Available Tools (Exposed to AI)
When connected, the AI assistant automatically discovers and can independently utilize the following tools:
| Tool | Description |
|---|---|
add_memory |
Ingests a new fact, rule, or preference into the persistent database. |
search_memories |
Retrieves historical context. Supports semantic, hybrid, and spreading modes. |
create_entity |
Creates a strict named node in the Neo4j knowledge graph. |
create_relation |
Links two entities with a specific relationship type (e.g., DEPENDS_ON). |
get_context |
Fetches the aggregated agent state and active working memory. |
compression_stats |
Retrieves real-time telemetry on the ProMem engine's token reduction. |
🛠 Local Development
If you wish to modify the MCP server or contribute:
-
Clone & Install
git clone https://github.com/Himan-D/hystersis-mcp.git cd hystersis-mcp npm install -
Build
npm run build -
Test the MCP Output Manually
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}' | npm start
📝 License
This project is licensed under the MIT License.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。