Wangdefa.Memory.Mcp
1.0.0
dotnet add package Wangdefa.Memory.Mcp --version 1.0.0
NuGet\Install-Package Wangdefa.Memory.Mcp -Version 1.0.0
<PackageReference Include="Wangdefa.Memory.Mcp" Version="1.0.0" />
<PackageVersion Include="Wangdefa.Memory.Mcp" Version="1.0.0" />
<PackageReference Include="Wangdefa.Memory.Mcp" />
paket add Wangdefa.Memory.Mcp --version 1.0.0
#r "nuget: Wangdefa.Memory.Mcp, 1.0.0"
#:package Wangdefa.Memory.Mcp@1.0.0
#addin nuget:?package=Wangdefa.Memory.Mcp&version=1.0.0
#tool nuget:?package=Wangdefa.Memory.Mcp&version=1.0.0
Wangdefa.Memory MCP Server
中文 | English
Local-first long-term memory for agents, exposed over MCP (stdio).
This package runs the Wangdefa.Memory engine as a local MCP server, so any MCP-capable client can give its agent persistent memory: what you discussed, what you decided, and what you prefer — all stored on your own machine with no cloud dependency.
The server speaks stdio and is started by your client on demand. Installing
this package pulls the Wangdefa.Memory engine automatically; there is nothing
else to install.
Configure your client
Add a server entry pointing at this package. Most clients accept the same shape:
{
"mcpServers": {
"wangdefa-memory": {
"command": "dnx",
"args": ["Wangdefa.Memory.Mcp"]
}
}
}
Some clients require the full command instead:
{
"mcpServers": {
"wangdefa-memory": {
"command": "dotnet",
"args": ["dnx", "Wangdefa.Memory.Mcp"]
}
}
}
Requires the .NET 10 runtime. The first run restores the packages, so it may take a moment; later starts are immediate.
Tools
Once connected, the server exposes two tools:
| Tool | Purpose |
|---|---|
process_message |
Recall relevant past memories for the current user input. Call it before answering. |
save_memory |
Persist the completed turn. Call it once the reply is finished. |
They are meant to be driven by the client automatically — recall before the model answers, save when the turn ends — but you can also call them directly.
Where your data lives
All memory stays on your machine, under the MCP server's own working directory:
memory/
├── cognitive/ memory cards
├── experience/ conversations, events and overviews
├── thinking/ routing indexes
└── *.db tag pool, scene library, main records
Nothing is sent anywhere unless you configure a remote model provider. The storage format is plain SQLite and JSON, so it is readable and portable.
Related
- Wangdefa.Memory — the engine library, installed automatically as a dependency
- Source and documentation
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- ModelContextProtocol (>= 2.2.0)
- Wangdefa.Memory (>= 1.1.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 48 | 9/23/2026 |