loading…
Search for a command to run...
loading…
Persists AI's cognitive fragments as a knowledge graph within each project directory, enabling project-level memory isolation and sharing via Git.
Persists AI's cognitive fragments as a knowledge graph within each project directory, enabling project-level memory isolation and sharing via Git.
npm version npm total downloads license MCP Protocol node version N2N Synthetics DataFrog.io
Context as code. Memory as asset.
A specialized MCP server designed to solve "memory pollution" during AI-assisted cross-project development. It persists AI's cognitive fragments directly within each project's own directory.
[Project Root]/.mcp/memory.json.git diff..mcp naming convention, not tied to any specific AI brand or IDE plugin.The easiest way to use this is via npx:
File Path: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"n2n-memory": {
"command": "npx",
"args": ["-y", "@datafrog-io/n2n-memory"]
}
}
}
Add in the MCP settings panel:
n2n-memorycommandnpx -y @datafrog-io/n2n-memoryThis service is path-driven. AI assistants should pay attention to:
n2n_* tool, the absolute path of the current project root (projectPath) must be provided.[ProjectPath]/.mcp/memory.json..mcp/memory.json to your Git repository to share the knowledge graph with your team.n2n_add_entities: Create new entities.n2n_add_observations: Append observations or facts.n2n_create_relations: Establish connections between entities.n2n_read_graph: Read project memory and active context (Supports summaryMode and pagination).n2n_get_graph_summary: Quickly fetch a lightweight index of all entities (Supports pagination).n2n_update_context: Update current task status and next steps.n2n_search: Search the graph via keywords (Supports pagination).n2n_open_nodes: Retrieve specific entities by name.This project is licensed under the MIT License.
N2N Studio — The AI Innovation Lab of DataFrog.io.
Выполни в терминале:
claude mcp add n2n-memory -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.